Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Synoptic Customer Docs API
version: 1.0.0
description: 'Token-authenticated programmatic surface for Synoptic: dashboards (CRUD + widgets + preview + render), ask and direct context retrieval. Authenticate with an org-scoped API key (Settings → API Keys) as a bearer token. A key carries scopes — the access grant — and is org-scoped: every request derives its org ONLY from the key, and sees every record of the workspace''s workspace connections, and none of anyone''s personal connections.
Rate limits (per organization, per minute): 120 reads, 120 writes, 1,000 ingest calls, 10 pipeline-backed calls (ask / preview / render). Over the limit returns 429 with Retry-After. These are FLOORS, not exact ceilings: counters are held per web task and requests are not pinned to a task, so a caller is always allowed at least the stated number per minute and may in practice be allowed a small multiple of it. Do not build a client that depends on the extra headroom — it varies with how the service is scaled. Honour Retry-After instead.
Per-key query limits (exact, shared across the service): each key may make 600 context searches plus asks per minute and run 20 at once. Over the rate returns 429 rate_limited; a 21st call while 20 run returns 429 concurrency_limited. Both carry Retry-After. A workspace can ask for higher limits.'
servers:
- url: /api/v1
security:
- ApiKey: []
tags:
- name: Docs
paths:
/docs/{id}:
parameters:
- name: id
in: path
required: true
description: The document id sent to /ingest, percent-encoded
schema:
type: string
maxLength: 512
get:
summary: Document status
description: 'Scope: ingest. Returns id, status (queued, indexing, ready or failed), timestamp, queued_at, updated_at, retries_left and last_error. A document whose indexing fails is retried on its own, up to 3 more times (about 5 minutes, 30 minutes and 2 hours later); while it waits it reads queued, with last_error saying why the last try failed. After the last retry it reads failed, with error {code, message}. Sending a failed document again, even unchanged, retries it at once. Indexing is charged only when a document is ready.'
responses:
'200':
description: Document status
'404':
description: No such document in this workspace
tags:
- Docs
operationId: getDocsById
x-operation-id-source: derived
delete:
summary: Delete a document
description: 'Scope: ingest. Removes the document; it leaves search and /ask results at once.'
responses:
'200':
description: '{id, status: deleted}'
'404':
description: No such document in this workspace
tags:
- Docs
operationId: deleteDocsById
x-operation-id-source: derived
components:
securitySchemes:
ApiKey:
type: http
scheme: bearer
bearerFormat: sk_synoptic_*