# Reactions API

Ask the lab for reactions and get back what it measured, with the evidence behind each number. Your agent asks for a job, follows it, and downloads its package: the yields, the instrument files and a reward for each result.

- [Quickstart](/docs/quickstart.md): Check prices, ask for a job, follow its status and read its package.
- [Ask for a job](/docs/jobs/create-job.md): POST /v1/jobs: Ask for a job.
- [Keys and errors](/docs/keys-and-errors.md): Bearer keys, credit limits, idempotency keys and RFC 9457 error responses.
- [How a job runs](/docs/how-a-job-runs.md): Job statuses, kinds of work, reuse, packages and reopening.

## Conventions

- Every call sends an API key as `Authorization: Bearer <key>`. A key acts for a customer or for one of the lab's systems, and the API decides which calls each may make.
- Fields are snake_case. Units are in their names: `_mg`, `_mmol`, `_ml`, `_c`, `_h` and `_pct`.
- Instants are RFC 3339 and end in `_at`. Responses give them in UTC.
- A field the schema does not mark as required may be left out. Only a field marked nullable may be null. A response writes every field, null when unknown.
- A field the schema does not define is an error, so a misspelled field fails rather than vanishing.
- A job's ID is a TypeID, such as `job_01h455vb4pex5vsknk084sn02q`: `job_` and the job's UUID in base32.
- Every error is an RFC 9457 problem, sent as `application/problem+json`, whose `detail` says what went wrong.

## For agents

Every page is also Markdown: add `.md` to its URL, or send `Accept: text/markdown`. [`/docs/llms.txt`](/docs/llms.txt) lists every page with its summary and Markdown URL, and [`/docs/openapi.json`](/docs/openapi.json) is the customer API as OpenAPI 3.1.
