Get spend key
Spend Keys
Get spend key
Get details of a specific spend key including current-cycle and total tracked usage. Requires a merchant secret key (aks_live_* / aks_test_*).
GET
Get spend key
Authorizations
Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'
Path Parameters
Spend key ID
Response
Spend key details
Masked key preview (e.g., lava_sk_a1b2c3d4****)
Available options:
active, paused Request format this key accepts
Available options:
openai, anthropic Current spend in this cycle (decimal string)
Total spend tracked for this key across completed/current cycles (decimal string)
Current request count in this cycle
Required range:
x >= 0Total request count tracked for this key across completed/current cycles
Required range:
x >= 0