Skip to main content
The API is JSON over HTTPS at https://api.conare.ai. Send your API key as a bearer token:
Create keys in the console, and keep them on your server. TypeScript examples use the SDK, which returns the useful part of each response:

Errors

Errors are JSON in this shape:
  • Retry 429 and 503 after the Retry-After header’s seconds, and other 5xx with backoff.
  • A failed write may be partly applied. Retry it with the same document ids, which replace rather than duplicate, and with if_version if a newer write may have landed in between.
  • A 502 or 504 can arrive as plain text instead of JSON.
  • Bodies are strict: an unknown field returns 400 invalid_json. The /v1 routes ignore unknown fields.

Limits

Headers

  • Every response has an X-Request-Id. To trace a request, send your own: 1-128 characters of A-Z a-z 0-9 . _ : -, starting with a letter or digit.
  • Conare-Degraded is set when a request succeeded without part of search, or on a backup. See degraded results.

Health

GET /health/deep needs no key. Its status is ok, degraded (HTTP 200, still serving) or down (HTTP 503).

OpenAPI

The spec is at api.conare.ai/openapi.yaml.