Import memory notes
POST
Save lines the person reviewed and kept (syndai memory import) as notes: you (their own), all (every project of the workspace) or project. Each goes through the note gates; a secret, card or ID number is refused, an existing note is duplicate (a re-run saves nothing) and a near one is conflict. Each saved note records origin (the file it came from) and origin_at. Up to 200 a request. Requires coding:knowledge:sync.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
coding_repository_id*stringFormat
uuidcustomer_id?|nullapplication/json- body
notes*array<>Items
1 <= items <= 200Request fulfilled, document follows
application/json- response
results*array<>curl -X POST 'https://api.syndai.ai/api/v1/external/coding/repos/497f6eca-6276-4993-bfeb-53cbbbba6f08/notes/import' \ -H 'Content-Type: application/json' \ -d '{ "notes": [ { "body": "string", "origin": "string", "scope": "you" } ]}'Example Response
{ "results": [ { "note_id": "f37a7c27-f466-4182-88ae-001e80802cdc", "outcome": "string", "reason": "string" } ]}