Skip to content

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_reason on 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 report billable and not_billable_reason. Guide
  • Webhooks. Signed session.completed, session.failed and session.deleted events with retries for 72 hours. Guide
  • Listing and usage. Keyset pagination, updated_since sync 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.

Compatibility policy
Backwards-compatible, may happen at any timeBreaking, only in a new version
Adding an endpointRemoving or renaming an endpoint
Adding an optional request parameter or fieldAdding a required request parameter, or tightening validation
Adding a field to a response or an eventRemoving 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 typeChanging the meaning of an existing value
Changing the wording of title and detail in problemsChanging the code or status of an existing error
Changing the length or format of opaque ids and cursorsChanging 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 code by its HTTP status;
  • treat ids and cursors as opaque strings of any length;
  • branch on code, never on title or detail.