---
title: "Get Agent Api Key History"
method: GET
path: "/agents/{agent_id}/api-key/history"
tags: ["Agents"]
---

# Get Agent Api Key History

`GET /agents/{agent_id}/api-key/history`

Get the audit history of API key operations for an agent.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- ApiKeyHistoryResponse — Audit trail of API key operations.
  - `data` ApiKeyHistoryEntryResponse[], required
    - `action` string, required
    - `actor_id` string, nullable
    - `id` string, required
    - `occurred_at` string, date-time, required
    - `reason` string, nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/jentic/apis/jentic-control-plane-api.md) · [All operations](https://skmtc.net/jentic/apis/jentic-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jentic/jentic-control-plane-api/revisions/ff371f19960a/schema)
