Platform
Security
The controls that protect your data: encryption, scoped keys, tenant isolation, signed webhooks, deletion and audit records.
This page describes the controls that protect data handled by the API, so that your security team can assess them directly. It covers the API only. Your use of the API, including the handling of production data, is governed by your agreement with us.
Encryption
- In transit. The API is served over HTTPS (TLS). The voice and ambient audio connections use secure WebSockets (
wss://). - At rest. Transcripts and results are stored in a managed database with encryption at rest.
- Secrets. Webhook signing secrets are stored encrypted. API keys and upload tokens are not stored at all: only their SHA-256 hashes are.
- No caching. Every API response carries
Cache-Control: no-store, so intermediaries and browsers do not keep copies.
Keys and access
| Credential | Properties |
|---|---|
| Secret key | 256 bits of random data, shown once and stored as a hash. Carries scopes that limit it to creating sessions, reading records or reading usage. A revoked key stops working at once. |
| Upload token | Single use, bound to one session and to the transcript operation, and expires with the upload window. It cannot read data. |
| Voice secret | Issued per call and short-lived. It opens one realtime connection and gives no access to the API. |
| Ambient stream ticket | Bound to one session and expires within 60 seconds. It opens the audio stream and gives no access to the API. It travels in the query string of the stream URL, so treat the whole URL as a secret. |
| Webhook secret | Signs every event. Rotated with an overlap in which both secrets sign. |
Keys can be rotated without downtime, and the last use of each key is recorded. See Rotating and revoking keys.
Tenant isolation
Every key belongs to exactly one organization, and the organization is a mandatory condition of every read and write: fetching, listing, usage, deletion, uploads and webhook delivery. There is no request that operates across organizations. A session id from another organization returns 404 not_found, the same answer as an id that does not exist, so ids cannot be probed. Test organizations are separate organizations with separate data.
Where clinical content appears
Transcript and result text is confined to as few places as possible. Some other fields still say something about a person, and the table names them.
| Place | What it carries |
|---|---|
| Transcript upload and result endpoint | Stored transcripts and results. These endpoints are the only way to write or read them, and reading needs a secret key with the records:read scope. |
| Ambient audio stream | Live content, not stored content: visit audio travels in, and live transcript text travels back on the same connection, to whoever holds the stream ticket. The ticket is bound to one session and expires within 60 seconds. |
| Session objects and lists | No transcript or result text. They carry status, timestamps, your own reference and tags, and end_reason. An end reason of emergency or initial_refusal is information about the person, so protect session data accordingly. |
| Usage records | No transcript or result text and no end reason. They carry the session id, the completion time, and whether and why a session was not charged (ended_early does not say which case applied). |
| Webhook events | No transcript or result text and not your reference. They carry the session id, the event type and a time, and with them the mode of a completed session, the error code of a failure, or the fact that data was erased on request. Someone who can link a session id to a person learns those things. |
| Problem responses | No transcript or result text. |
| URLs and query strings | Clinical values are never accepted as URL parameters. |
| Application logs and metrics | Transcript and result text is excluded from our logs and metrics, including on error paths. |
| Call metadata | No health content. See Call metadata. |
Voice connection
During an intake interview the patient’s browser connects directly to the realtime voice provider, xAI. Your secret key and our provider credentials never reach the device: it receives a secret that is valid for one call and expires quickly. Because the device configures the conversation, the interview instructions are readable on the device; see Branding and instructions.
Webhooks
- Every delivery is signed with HMAC-SHA256 over the event id, the timestamp and the exact body, so you can verify origin and integrity and bound the age of a replay. See Verifying signatures.
- Destinations must be HTTPS and must resolve to a public address, checked at registration and before every delivery. Redirects are not followed. This prevents deliveries from being steered to internal systems.
- Events carry no transcript or result text. A misdirected event exposes a session id, an event type and a time, and with them the mode, the failure code or the fact of an erasure.
Processing and location
- Storage. Data is stored in the United States. If your patients are elsewhere, check whether you need a transfer mechanism or patient consent for that.
- Subprocessors. Processing uses the subprocessors listed in your agreement: Google Gemini (summaries, decision support, notes), Voyage AI (code matching), Deepgram (visit transcription) and xAI (the realtime voice interview). Each receives only what its task needs: audio for the voice interview and for transcription, transcript text for generation, and extracted clinical terms for code matching.
- Audio. Audio is not stored by AI Medical Intake, and our speech-to-text provider is instructed not to retain it for model training. Retention by each subprocessor is set out in your agreement.
- Minimisation. The API does not ask for patient identity. See Keep identifiers out.
- Retention and deletion. Clinical data is purged automatically after your retention period and can be erased on request at any time. See Data retention.
Audit records
- Every problem response includes a
request_idthat identifies the request in our systems. - Every erasure is recorded with the session id and time, and that record is kept for 400 days.
- Erasures are re-applied after any restore from backup, before the restored database serves requests.
- The last use of each API key is recorded.
- Every result records the model versions and pipeline version that produced it. See Provenance.
- Usage records give you an independent count of completed sessions to reconcile against your own.
Your responsibilities
Security is shared. On your side of the integration:
- Keep secret keys on your servers, in a secret manager, and rotate them.
- Give each key the narrowest scopes that its service needs.
- Verify webhook signatures and the timestamp on every delivery, and de-duplicate by event id.
- Keep personal data out of
external_refandtags. - Protect the results once you have fetched them: they are clinical records in your system.
- Inform patients, and obtain the consent your jurisdiction requires, before a call or a transcribed visit.
- Have qualified staff review AI-generated output before it informs care.