---
title: "Get agent API key info"
method: GET
path: "/v0.2.4/agents/api-key"
tags: ["Agents"]
---

# Get agent API key info

`GET /v0.2.4/agents/api-key`

Retrieves the current API key information for an agent (without exposing the secret)

## Query parameters

- `agentId` string, required
- `subAccount` string

## Response `200`

API key information

- object
  - `status` string
  - `data` object, nullable
    - `id` string
    - `key` string
    - `appName` string
    - `webhookUrl` string, nullable — Webhook URL for agent events
    - `createdAt` string
    - `revoked` boolean
    - `revokedAt` string, nullable
  - `message` string

## Other responses

- `400` — Validation error in the request.
- `401` — Access to this resource is not available for unauthenticated users.
- `404` — The requested resource was not found.
- `500` — Indicates an internal server error.

---

[API](https://skmtc.net/chimoney/apis/chimoney-api-docs.md) · [All operations](https://skmtc.net/chimoney/apis/chimoney-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chimoney/chimoney-api-docs/revisions/227751df36a0/schema)
