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

# Claude Gateway

> Authenticated proxy to the Claude API

Proxies requests to the Claude API with authentication and payment validation.

**path** `string` *required*

Claude API path to proxy (e.g., `v1/messages`).

The gateway accepts auth from multiple sources:

* `x-api-key` header
* `Authorization: Bearer` or `Basic` header
* URL query parameter

**Payment required.** Returns `402` if the user's account is not marked as paid in WorkOS.

The request body is forwarded as-is to the Claude API.


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