Build with an AI agent
Point your coding agent to https://biomapi.com/llms.txt before asking it to build or update a BiomAPI integration. This file links to the current documentation and OpenAPI schema for agents. Tell the agent whether you want BiomAPI’s upload and review interface or direct API requests:
- For the hosted interface, start with the Web Widget. The Browser SDK opens it and provides BiomPIN retrieval, sharing, and optional browser history.
- For direct file processing, your own interface, or server-side automation, use the REST API.
Start with llms.txt
Section titled “Start with llms.txt”Three machine-readable documentation resources are available at the site root:
| URL | Contents |
|---|---|
/llms.txt |
Recommended entry point linking to the documentation sets and OpenAPI schema |
/llms-full.txt |
Full documentation content in plain text |
/llms-small.txt |
Abridged documentation for smaller context windows, excluding legacy-only material |
These follow the llms.txt convention and are generated from the same source as the public docs.
For repeated or offline work, download local copies and ask your agent to use them together as project context:
curl -O https://biomapi.com/openapi.jsoncurl -O https://biomapi.com/llms-full.txtIf your agent has limited context, keep openapi.json and consider replacing llms-full.txt with llms-small.txt for a shorter overview.
OpenAPI schema
Section titled “OpenAPI schema”FastAPI generates the OpenAPI 3.1 schema for the public REST API at:
GET /openapi.jsonThe schema defines the public REST operations. It includes request and response schemas, authentication options, and documented error responses.
For POST /api/v1/biom/process, OpenAPI describes the multipart file upload. The contents of an uploaded JSON file are documented separately in JSON input / BiomDIRECT, including required report objects and server-added metadata. Use that page to create input and the response schema to read the completed output.
Web pages such as /, /pin/{biompin}, /widget, and /browser-sdk-demo, along with
documentation resources, are excluded from the schema. They remain available and
are covered by the Web App guide,
Web Widget guide, and this documentation.
The interactive Swagger UI is built from the same spec.
