Skip to main content

Endpoints

Every request needs an organization API key; see Authentication.

API origin

Use the API origin supplied for your environment. Production examples use https://backend.drivehealth.ai. Paths include the /api prefix.

Mounts

The v1 chat API answers on two prefixes:
  • /api/v1/chat/... (recommended)
  • /v1/chat/... (compatibility mount)
They are the same views. A prefix is not a credential and does not change what a caller reaches. Every other route lives under /api only.

Responses

Mutation and detail responses use the standard envelope:
Ownership failures read as “not found” on purpose: whether a record exists in another organization is not something a caller is told. Requests refused before the endpoint runs (an invalid or revoked key, no credential, more than one credential, or a selector for another organization) return 403 Forbidden with a detail message instead of the envelope:

Pagination

List responses use page-number pagination directly. Pass page (starting at 1) and limit (default 10):

Status codes

Download the OpenAPI specification to generate a client or import the reference into your tools.