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

# API Reference

> Reference for DumplingAI transport APIs.

# API Reference

Use the version toggle at the top to switch between the two transport lanes:

* `v2` for the capability-first platform and provider endpoints under `/api/v2`
* `v1` for the existing direct endpoint catalog under `/api/v1`

Both lanes can live on the same account and use the same API key for direct API calls.

## Authentication

For direct API requests, include your API key as a Bearer token:

<CodeGroup>
  ```text Authorization theme={null}
  Authorization: Bearer YOUR_API_KEY
  ```
</CodeGroup>

<Note>
  `/mcp/v2` is different: it uses OAuth for supported MCP clients instead of requiring you to paste an API key into the client.
</Note>

## Base URL

```text theme={null}
https://app.dumplingai.com
```
