Skip to content

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.

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:

Terminal window
curl -O https://biomapi.com/openapi.json
curl -O https://biomapi.com/llms-full.txt

If your agent has limited context, keep openapi.json and consider replacing llms-full.txt with llms-small.txt for a shorter overview.


FastAPI generates the OpenAPI 3.1 schema for the public REST API at:

GET /openapi.json

The 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.