Skip to content
Who this key acts as
  1. Docs
  2. Reference
  3. Account

Account

Who a key acts as, the workspace it reaches, and what the account can use.

Who this key acts as#

GET/v1/me
API keyaccount_me

The workspace and member this API key acts as, and the key itself. Use it to check a key works.

Can fail with 400 · 401 · 404 · 429 · 500 — the shape is in Errors & limits.

GET
curl "https://app.attria.io/api/v1/me" \
  -H "Authorization: Bearer $ATTRIA_API_KEY"
Response200
{
  "workspace": {
    "id": "6f1c2a9e-3b7d-4e0a-9c51-2d8e7f4a1b30",
    "name": "Acme Marketing",
    "timezone": "Europe/Lisbon"
  },
  "member": {
    "id": "b0e4d7c2-91a3-4f68-8d25-7c3e1a9f0b44",
    "role": "owner"
  },
  "key": {
    "id": "3a9d5e17-c2b8-4f0e-a6d1-94e2b7c8f013",
    "name": "Claude Code",
    "prefix": "attria_sk_Ab12Cd",
    "created_at": "2026-09-27T14:02:11.000Z"
  }
}