API referenceDocuments
Create or update documents in bulk
Up to 100 documents per request, with the same upsert semantics as `POST /v1/documents`.
POST
Up to 100 documents per request, with the same upsert semantics as POST /v1/documents.
bearerAuthheader
AuthorizationBearer <sk_live_<region>_<secret>>Idempotency-Key?stringUnique key (≤ 255 chars) that makes retries of this request safe for 24 hours.
Length
length <= 255application/json- body
documents*array<>Items
1 <= items <= 100Success
application/json- response
object*stringdata*array<>Example Request
curl -X POST 'https://api.synqed.dev/v1/documents/batch' \ -H 'Content-Type: application/json' \ -d '{ "documents": [ { "source": "string", "external_id": "string", "title": "string", "body": "string" } ]}'Example Response
{ "object": "list", "data": [ { "object": "document_upsert", "id": "string", "status": "created" } ]}Create or update a document POST
Pushes text into the brain. Documents are keyed by (`source`, `external_id`): pushing the same pair again updates the existing document in place, so syncing is safe to repeat. The text is encrypted at rest and indexed for search within seconds.
Retrieve a document GET
Next Page