API referenceDocuments
List documents
GET
bearerAuthheader
AuthorizationBearer <sk_live_<region>_<secret>>limit?integerPage size (1–100, default 25).
Range
1 <= value <= 100Default
25cursor?stringnext_cursor from the previous page.
Length
length <= 500source?stringOnly documents pushed with this source label.
Match
^[a-z0-9][a-z0-9_.-]{0,63}$Success
application/json- response
object*stringdata*array<>has_more*booleannext_cursor*string|nullExample Request
curl -X GET 'https://api.synqed.dev/v1/documents'Example Response
{ "object": "list", "data": [ { "id": "string", "object": "document", "source": "string", "external_id": "string", "title": "string", "body": "string", "url": "string", "metadata": { "property1": null, "property2": null }, "created_by": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ], "has_more": true, "next_cursor": "string"}Inspect the current API key GET
Returns the workspace, region, permissions, and data access of the key making the request. Requires no permission — use it to verify a key.
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.