---
agent:
  instructions: "Use this search API to find relevant Cook Studio content (product, pricing, FAQ, blog articles, example videos) with keywords or natural-language queries instead of crawling pages. Results are returned in Markdown."
  endpoint: "https://cookstudio.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
title: "Get account"
description: "Your account and current credit balance. A cheap way to check that a key works."
---
# Get account

Your account and current credit balance. A cheap way to check that a key works.

`GET https://app.cookstudio.ai/api/v1/me`

## Request

```bash
curl https://app.cookstudio.ai/api/v1/me -H "Authorization: Bearer $KEY"
```

## Response

```json
{"object": "account", "id": "3f2a…", "email": "you@example.com", "credits": 1240}
```

## Errors

| Status | Code | Meaning |
| --- | --- | --- |
| 401 | `unauthorized` | Missing, wrong or revoked key. |

All errors share one shape; see [Errors](https://cookstudio.ai/docs/errors).

Canonical: https://cookstudio.ai/docs/reference/get-me
