> 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/resources.md).

# Resources

*What you'll get: the rules every endpoint shares, and where each one is documented.*

All endpoints are under `https://app.biodock.ai/api/external` and need your API key in the `X-API-KEY` header. To act in a workspace, also send `X-Biodock-Workspace`. See [Authentication](/public-api/authentication.md).

* [**Files**](/public-api/resources/files.md): upload a file, and list your files and folders.
* [**Analysis jobs**](/public-api/resources/analysis-jobs.md): submit analysis jobs, check their progress, get their results, and download masks.
* [**Pipelines**](/public-api/resources/pipelines.md): list the active models you can run.

### Lists and pages

The list endpoints share two query parameters:

* `limit`: how many results to return, from 1 to 100. Defaults to 10.
* `startingAfter`: the `id` of the last result on the previous page, to get the next page.

Results come newest first.

### Errors

An error response has a JSON body with a `message`, for example `{"message": "Analysis job not found"}`. The rate limit is the exception: see [Limitations](/public-api/limitations.md#rate-limits).


---

# 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/resources.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.
