Skip to main content
GET
Get Sub-Key Usage
Use this endpoint to monitor whether a specific sub-key is approaching or has exceeded its credit limit. The remaining_credit field is null when no credit_limit has been configured for the key — in that case, the key is only bounded by the admin’s overall account balance.
Credit usage reflects settled payments processed by the billing pipeline. There may be a short lag (typically under a minute) between a completed inference call and the usage appearing here.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-key
string
required

Admin API key that owns the sub-key. Admin API key (io.net Intelligence)

Path Parameters

key_id
string<uuid>
required

UUID of the sub-key to inspect.

Response

Successful Response

status
string
Example:

"succeeded"

data
KeyUsageData · object