> For the complete documentation index, see [llms.txt](https://docs.molecule.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.molecule.xyz/api-reference.md).

# API Reference

- [API Overview](https://docs.molecule.xyz/api-reference/api-reference.md)
- [Getting Started](https://docs.molecule.xyz/api-reference/getting-started.md): What a Lab is, what you need before your first call, and a ten-minute path to a lab with a file in it.
- [Shared Setup](https://docs.molecule.xyz/api-reference/getting-started/shared-setup.md): The config constants and helpers every tutorial opens with — copy this block once and each tutorial's snippets run against it.
- [Create a lab and upload a public file](https://docs.molecule.xyz/api-reference/getting-started/create-lab-and-upload-file.md): The default path: self-issue a token, mint a LabNFT, register the lab, upload a public file, and verify it landed.
- [Upload an encrypted file](https://docs.molecule.xyz/api-reference/getting-started/upload-encrypted-file.md): Encrypt a file locally with AES-256-GCM, gate decryption on live onchain roles, and verify with a full decrypt round trip.
- [Agent access](https://docs.molecule.xyz/api-reference/getting-started/agent-as-a-lab-contributor.md): A human owns the lab and never hands over a key: the agent gets its own wallet, the human grants it Contributor, the agent issues its own token.
- [For Agents: One-Pager](https://docs.molecule.xyz/api-reference/getting-started/for-agents.md): The whole default Labs flow on one page, no prose — the page to paste into a system prompt.
- [Authentication](https://docs.molecule.xyz/api-reference/authentication.md)
- [Labs API](https://docs.molecule.xyz/api-reference/labs-api.md)
- [Service Tokens](https://docs.molecule.xyz/api-reference/labs-api/service-tokens.md)
- [Lab Management](https://docs.molecule.xyz/api-reference/labs-api/lab-management.md)
- [Files](https://docs.molecule.xyz/api-reference/labs-api/files.md)
- [Browse & Search](https://docs.molecule.xyz/api-reference/labs-api/browse-and-search.md)
- [Tokenization API](https://docs.molecule.xyz/api-reference/tokenization-api.md)
- [x402 Gateway](https://docs.molecule.xyz/api-reference/x402-gateway.md): Pay-per-call HTTP 402 gateway that fronts write mutations on the Labs API with per-request stablecoin settlement on Base.
- [API Types](https://docs.molecule.xyz/api-reference/types.md): Every type in the Molecule GraphQL API, generated from the schema.
- [API Changelog & Migration](https://docs.molecule.xyz/api-reference/changelog.md)
