1. What it does
AmbitOS Clinical (ambitos-clinical-1) is the clinical reasoning system behind AmbitOS,
available as an API. It takes a case written as free text, such as a referral question or a consult
note, and returns a management plan: what to order, what to start, what to stop, when to refer, and
what to watch for.
It is a multi-step system, not a single model. It first works out what in the case drives management,
drafts plans independently with more than one frontier model, and merges them into one answer.
2. Quick start
Send the case as plain UTF-8 text with your API key as a bearer token.
curl -s https://clinical-api.ambitos.com/v1/respond \
-H "Authorization: Bearer $AMBITOS_TOKEN" \
-H "Content-Type: text/plain" \
--data-binary @case.txt
The reply is JSON:
{"response": "1. Order an ECG and high-sensitivity troponin today ..."}
3. OpenAI chat format
The API also accepts OpenAI chat requests at /v1/chat/completions, so existing OpenAI
client code works by changing the base URL and the key.
import os
from openai import OpenAI
case_text = open("case.txt", encoding="utf-8").read()
client = OpenAI(base_url="https://clinical-api.ambitos.com/v1",
api_key=os.environ["AMBITOS_TOKEN"], timeout=300)
reply = client.chat.completions.create(
model="ambitos-clinical-1",
messages=[{"role": "user", "content": case_text}])
print(reply.choices[0].message.content)
Only text content is supported. With stream: true the answer arrives as one chunk after
the wait, because it is checked before it is sent.
4. What to expect
| Time per answer |
Usually 80 to 120 seconds. Set your client timeout to 300 seconds. |
| Concurrency |
The service answers 10 requests at once, shared across all keys. Further requests wait up to 45
seconds for a free slot, then get a 429. |
| Rate limit |
120 requests a minute per key |
| Request size |
Up to 256 KB |
| Data retention |
AmbitOS does not log or store request or answer text. To produce an answer, the case text is sent
to the model providers we use, who process it under their own API terms. See our
privacy policy, or ask us for the current list of providers. |
5. Errors
Every error is JSON with a message, a type and a code, and carries an x-request-id header
you can quote to us.
| 400 |
Empty body, not UTF-8, or malformed JSON. Fix the request. |
| 401 |
Missing or wrong key. |
| 405 |
Wrong method, such as a GET on a route that takes POST. |
| 413 |
Body over 256 KB. |
| 429 |
Rate limit reached or the service is at capacity. Wait for the seconds in
Retry-After, then retry. |
| 503 |
No answer could be produced in time. Wait for Retry-After, then retry. |
6. Get access
API keys are issued by AmbitOS, one per client. Email support@ambitos.com with your
organisation and what you plan to build, and we will reply with a key and pricing for your use.
7. Intended use
AmbitOS Clinical supports clinicians' decisions. It does not replace clinical judgement. Do not send
information that identifies a patient unless your agreement with AmbitOS covers it.