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

# Get API key

> Generate a key and make your first API request

1. Navigate to [Billing](https://platform.yutori.com/billing), and click "Set Up Billing" to add your payment information.
2. Open [platform.yutori.com](https://platform.yutori.com), then create a key from **Settings → API Keys**.
3. Run the following [`GET /health`](https://yutori.mintlify.site/reference/health) request to confirm connectivity. `/health` is the only public endpoint and does not require an API key.
   ```bash Request theme={null}
     curl --request GET \
     --url https://api.yutori.com/health
   ```
4. Try [creating a Browsing task](https://yutori.mintlify.site/reference/browsing-create.md)!
   ```bash Request theme={null}
     curl --request POST \
       --url https://api.yutori.com/v1/browsing/tasks \
       --header 'X-API-Key: YOUR_API_KEY' \
       --header 'Content-Type: application/json' \
       --data '{
         "task": "Give me a list of all employees (names and titles) of Yutori.",
         "start_url": "https://yutori.com"
       }'
   ```

> [!NOTE]
>
> Most authenticated API requests accept either header:
>
> * `X-API-Key: YOUR_API_KEY`
> * `Authorization: Bearer YOUR_API_KEY`
>
> **Exception — Navigator API (`POST /v1/chat/completions`)**: this endpoint accepts only `Authorization: Bearer YOUR_API_KEY`. `X-API-Key` is not accepted on chat completions, so standard OpenAI clients work unmodified.
>
> Header names are case-insensitive.


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