# Get authentication context

`GET /v1/auth/context`

Required OAuth scopes, any one of: `projects:read`, `projects:write`, `tasks:read`, `tasks:write`, `tools:execute`, `files:read`, `files:write`, `billing:read`, `integrations:read`, `automations:read`, `automations:write`

## Responses

- `200`
  - `credentialType` ("personal_api_key" | "oauth_access_token", required)
  - `user` (object, required)
    - `id` (string, required)
    - `name` (string, required)
    - `email` (string, required)
  - `team` (object, required)
    - `id` (string, required)
    - `slug` (string, required)
  - `scopes` ("projects:read" | "projects:write" | "tasks:read" | "tasks:write" | "tools:execute" | "files:read" | "files:write" | "billing:read" | "integrations:read" | "automations:read" | "automations:write"[], required)
- `400`: Invalid request
- `401`: Missing or invalid Bearer credential
- `402`: Payment or subscription required
- `403`: Credential is missing a required scope
- `404`: Resource not found
- `409`: Request conflict
- `429`: Rate limit exceeded
- `500`: Internal API error
