---
title: "Per-request history of your developer API keys [read]"
method: GET
path: "/billing/usage/requests"
---

# Per-request history of your developer API keys \[read\]

`GET /billing/usage/requests`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/billing/usage/requests`
- Auth: none declared

One row per API gateway request the caller's developer API keys made in a range of UTC days, newest first, a page at a time: model, endpoint, tokens, list and billed cost, HTTP status and latency. Pass nextCursor back as cursor for the next page; it is null on the last page. Session usage is not included (source=session returns no rows). The same rows as Settings › API usage. 503 unavailable when the request log cannot be read; retry.

## Query parameters

- `from` string, date
- `to` string, date
- `api_key_id` string
- `cursor` string

## Response `200`

OK

- object
  - `rows` object[], required
    - `id` string
    - `requestId` string
    - `apiKeyId` string
    - `apiKeyName` string
    - `at` string, date-time
    - `model` string, nullable
    - `endpoint` string, nullable
    - `inputTokens` integer, nullable
    - `outputTokens` integer, nullable
    - `cachedInputTokens` integer, nullable
    - `cacheCreationTokens` integer, nullable
    - `totalTokens` integer, nullable
    - `listCostUsd` number, nullable
    - `billedCostUsd` number, nullable
    - `httpStatus` integer, nullable
    - `metered` string, nullable
    - `latencyMs` integer, nullable
  - `nextCursor` string, nullable, required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/billing/usage/requests/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
