Docs OpenAPI

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.

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 lists every page with its summary and Markdown URL, and /docs/openapi.json is the customer API as OpenAPI 3.1.