> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.labric.co/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.labric.co/_mcp/server.

# API reference

The Labric API is a REST API served from:

```
https://platform.labric.co/api
```

Every endpoint authenticates with a Bearer API key (`lbk_...`) in the `Authorization` header. Keys are scoped to **read**, **write**, or **admin** — each endpoint's documentation notes the scope it requires. See the [Introduction](/welcome) for how to create a key.

The [Python SDK](https://pypi.org/project/labric/) wraps these endpoints one-to-one:

```python
from labric import Labric

client = Labric(api_key="lbk_your_api_key")
```

Inside a [Labric Job](https://platform.labric.co/jobs), `Labric()` picks up the pre-provisioned `LABRIC_API_KEY` automatically.