> For the complete documentation index, see [llms.txt](https://docs.biodock.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.biodock.ai/public-api/overview.md). Agents can also search and read this documentation through its [MCP server](https://docs.biodock.ai/~gitbook/mcp).

# Overview

*What you'll get: what the Biodock public API can and can't do, so you can decide whether to script your work.*

Biodock has a public REST API, so you can run an AI analysis built in Biodock from your own scripts and programs with simple web requests. The API is in beta and still being developed.

The API covers a focused set of actions:

* Check that an API key works
* Upload a file, and list files and folders
* List your models (pipelines)
* Submit analysis jobs, and list or fetch them with links to their results
* Generate and download the masks for a finished analysis job

Everything else, including labeling, training a model, sharing, billing, moving or deleting files, and other exports, is done in the app.

{% hint style="info" %}
**Creating** an AI model, which is a highly visual process in the labeler, can't be done through the API.
{% endhint %}

Everything you do through the API also shows up in the app. Files you upload appear on the **Files** page, and analysis jobs you submit appear on the **Analysis** page.

**Personal account or workspace.** By default, the API acts in your personal account. To act in a [workspace](https://docs.biodock.ai/workspaces/workspaces.md), name it in each request, or use a key that moved into the workspace with your team. Uploads and analyses then appear in the workspace, and the workspace pays for them. See [Authentication](https://docs.biodock.ai/public-api/authentication.md).

The API uses the same account limits as the app: your credits, your storage and the free-account upload limit all apply. See [Limitations](https://docs.biodock.ai/public-api/limitations.md).

### Example uses

* A script that analyses cell culture images three times a day, as they're acquired, and uploads the results to a cloud server.
* A sync tool that uploads data to one place (Biodock) from several imagers.
* A continuously running alarm that runs quality control on samples and sends an alert when quality control fails.
* An internal tool that lets people submit files for analysis from an existing dashboard.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.biodock.ai/public-api/overview.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
