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

# Get Agent Api Key Info

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

Get API key metadata for an agent. Returns info even after revocation.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- ApiKeyInfoResponse — API key metadata — retrievable even after revocation.
  - `created_at` string, date-time, required
  - `created_by` string, nullable
  - `id` string, required
  - `rotated_at` string, date-time, nullable
  - `status` string, required

## 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/7cc96b2f28d4/schema)
