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

# API overview

> Use the same API as the dashboard and the MCP.

Base URL:

```text theme={null}
https://api.withmethod.ai
```

The API gives access to these objects:

* methods, with cursor pagination;
* prompt intake and recording upload links;
* build status, steps, and progress;
* the exact `.method` file, source review, and rendered prompt, each with a SHA-256;
* the recording and the evidence files;
* target run results recorded against an artifact.

The MCP and the dashboard use these routes. There is no other API.

## Standard headers

```http theme={null}
Authorization: Bearer <WorkOS access token>
Content-Type: application/json
```

Multipart requests use `Content-Type: multipart/form-data`.

## Error shape

```json theme={null}
{ "error": "workflow_source_not_ready", "message": "..." }
```

`error` is a stable code. `message` is optional. A schema failure adds `issues`. An upload failure adds `retryable`.
Unknown routes return `404 { "error": "not_found" }`.

See [Endpoints](/api-reference/endpoints) for every route.
