---
title: "List team API keys"
method: GET
path: "/v1/analytics/team-api-keys"
tags: ["Analytics"]
---

# List team API keys

`GET /v1/analytics/team-api-keys`

## Request

- Base URL: `https://api.magnific.com`
- URL: `https://api.magnific.com/v1/analytics/team-api-keys`
- Auth: API key in header `x-magnific-api-key`

Returns all API keys belonging to the caller's team with their ID,
display name, and status. Use the returned `api_key_id` values as filters
in `POST /v1/analytics/team-credit-usage`.

Authenticates via API key (`X-Magnific-API-Key` header). The caller's team
is resolved automatically from the API key.

## Response `200`

OK

- V1AnalyticsTeamApiKeysGet200Response
  - `data` TeamApiKey[]
    - `api_key_id` string: API key identifier. Use in `api_key_ids` filter of team-credit-usage.
    - `display_name` string: User-defined name for this API key.
    - `status` 'active' | 'inactive': API key status.
    - `created_at` string, date-time: When the API key was created.

## Other responses

- `403`: Forbidden - The client does not have permission to access the requested resource.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.

---

[API](https://skmtc.dev/magnific/apis/magnific-api.md) · [All operations](https://skmtc.dev/magnific/apis/magnific-api/llms.txt) · [OpenAPI document](https://skmtc.dev/magnific/apis/magnific-api/revisions/60711fb082c7?raw)
