API
Changelog
Changes to the AI Medical Intake API, and the policy for changes within a version.
Changes to the API are listed here, newest first. The machine-readable description of the current version is the OpenAPI file.
v1.0
Initial release. The AI Medical Intake API, served at https://api.aimedintake.com/v1.
- Sessions. Create a session idempotently by
external_ref, retrieve it, list sessions and delete them. Guide - Voice intake. Short-lived call credentials for a realtime voice interview that runs in your own interface, and transcript submission with a single-use upload token. Guide
- Results. Transcript with speakers and timestamps, clinical summary, decision support and ICD-10-CM code suggestions. Guide
- Ambient documentation. Live visit transcription and an evidence-linked clinical note. Guide
- End reason and billing.
end_reasonon transcripts and sessions. Interviews that end at the consent question, in an emergency, or with a patient stop after fewer than 3 patient utterances are not billable; usage records reportbillableandnot_billable_reason. Guide - Webhooks. Signed
session.completed,session.failedandsession.deletedevents with retries for 72 hours. Guide - Listing and usage. Keyset pagination,
updated_sincesync with tombstones, and usage records. Guide - Data controls. Automatic purge after the retention period and erasure on request. Guide
- Authentication. Scoped secret keys with test and live environments. Guide
- Languages. English, Spanish, Mandarin Chinese, Russian, French, German, Brazilian Portuguese, Arabic and Hindi. Guide
Compatibility policy
Within /v1 we make only backwards-compatible changes. A change that could break a correct client is released under a new version path, and both versions are documented here.
| Backwards-compatible, may happen at any time | Breaking, only in a new version |
|---|---|
| Adding an endpoint | Removing or renaming an endpoint |
| Adding an optional request parameter or field | Adding a required request parameter, or tightening validation |
| Adding a field to a response or an event | Removing or renaming a response field, or changing its type |
| Adding a value to an enum in a response, such as a new error code, status or event type | Changing the meaning of an existing value |
| Changing the wording of title and detail in problems | Changing the code or status of an existing error |
| Changing the length or format of opaque ids and cursors | Changing the authentication scheme or the webhook signature scheme |
To stay compatible, a client should:
- ignore response fields and event types it does not recognise;
- handle unknown enum values gracefully, for example an unknown error
codeby its HTTP status; - treat ids and cursors as opaque strings of any length;
- branch on
code, never ontitleordetail.