본문으로 건너뛰기

GET /keys/{key_id}/usage

Returns usage history for a specific API key. Values are in milli-USD.

Request​

노트

This endpoint uses JWT authentication (your login token), not an API key.

curl -H "Authorization: Bearer <your-jwt-token>" \
"https://your-domain.com/api/v1/keys/key-abc123/usage?limit=50"

Query parameters​

ParameterTypeDefaultDescription
limitint100Max records to return

Response​

[
{
"id": "usage-001",
"endpoint": "/api/v1/jobs/upload",
"job_id": "job-abc123",
"points_spent": 0,
"http_status": 200,
"client_ip": "203.0.113.50",
"created_at": "2026-06-27T12:00:00"
}
]