> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rerun.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Rerun API

> One MCP endpoint to build and drive coworkers from anywhere, plus webhook URLs to fire them from other services.

Rerun exposes two programmatic surfaces, and only two.

> [card] [The MCP server](https://docs.rerun.build/api/protocol.md)
>
> A single endpoint, `POST https://app.rerun.build/api/mcp/account`, that speaks the Model Context Protocol. It carries 53 tools covering coworkers, skills, scheduled tasks, webhook triggers, apps, databases, runs, share links and template authoring.

> [card] [Webhook triggers](https://docs.rerun.build/api/webhooks.md)
>
> A public URL per trigger. Anything that can send an HTTP request can start a coworker run, with no SDK and no key exchange.

> [!NOTE]
>
> The Rerun API is available on a paid plan. A free trial does not include it, so start your subscription before creating a key.

## There is no REST API

Every capability is reached through the MCP endpoint. There is no `/v1/agents`, no OpenAPI document, and no other route that accepts an API key. If you are writing a plain HTTP client rather than plugging in an AI coding assistant, you still call the MCP endpoint: it is ordinary JSON-RPC 2.0 over `POST`, so `curl` works fine. See [Protocol](https://docs.rerun.build/api/protocol.md).

## Who this is for

The API was designed for an AI coding assistant sitting next to you. You connect Claude Code, Codex or Cursor to your Rerun workspace, then describe what you want in plain language:

> Create a coworker that watches our support inbox, writes a daily summary into the shared database, and pings me on Slack when a refund request comes in.

The assistant calls `create_agent`, `upsert_skill`, `upsert_schedule`, `attach_connector` and `send_message` to build and test it. See [Connect a client](https://docs.rerun.build/api/connect.md).

Everything the API does is also available in the Rerun app. The API exists so you can script it, version it, and repeat it.

## What a key reaches

An API key is scoped to **one workspace** and nothing finer. It reaches every Box, every coworker, every database and every run of that workspace, with full read and write. Treat it as a production credential.

## Tool index

> [card] [Coworkers](https://docs.rerun.build/api/tools/agents.md)
>
> `list_spaces` `list_agents` `get_agent` `create_agent` `update_agent` `delete_agent` `list_ai_connections` `set_default_model`

> [card] [Skills](https://docs.rerun.build/api/tools/skills.md)
>
> `list_skills` `get_skill` `read_skill_file` `upsert_skill` `delete_skill`

> [card] [Scheduled tasks](https://docs.rerun.build/api/tools/schedules.md)
>
> `list_schedules` `upsert_schedule` `run_schedule_now` `delete_schedule`

> [card] [Triggers](https://docs.rerun.build/api/tools/triggers.md)
>
> `list_triggers` `upsert_trigger` `test_trigger` `rotate_trigger_token` `delete_trigger`

> [card] [Messages and runs](https://docs.rerun.build/api/tools/runs.md)
>
> `send_message` `list_runs` `get_run`

> [card] [Databases](https://docs.rerun.build/api/tools/databases.md)
>
> `list_tables` `db_query` `db_execute` `list_space_tables` `space_db_query` `space_db_execute`

> [card] [Apps](https://docs.rerun.build/api/tools/connectors.md)
>
> `search_connectors` `list_connectors` `list_agent_connectors` `attach_connector` `detach_connector`

> [card] [Share links](https://docs.rerun.build/api/tools/sharing.md)
>
> `plan_agent_share` `create_agent_share` `list_agent_shares` `revoke_agent_share`

> [card] [Templates](https://docs.rerun.build/api/tools/templates.md)
>
> 12 authoring tools, reserved for expert sandbox accounts

## What the API cannot do

Some things are deliberately left to the app, mostly because they involve a secret or a decision that should not be automated. See [Limits and guarantees](https://docs.rerun.build/api/limits.md) for the full list. The short version:

* No credential ever goes through the API. `attach_connector` declares a connector, and the account owner finishes the sign-in in the app.
* No billing, no plan change, no member management, no Box creation.
* No API key management. You cannot mint or revoke a key over MCP.
* No template publication. You submit a draft, the Rerun team publishes it.

## Next steps

> [card] [Create a key](https://docs.rerun.build/api/authentication.md)

> [card] [Connect a client](https://docs.rerun.build/api/connect.md)

> [card] [Read the protocol](https://docs.rerun.build/api/protocol.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.