API Keys

Get Key Usage Info

Get usage information for current ephemeral key.

Authentication Required: Include ephemeral key in X-API-Key header.

Returns:

  • Usage count and remaining calls
  • Time until expiry
  • Key validity status

Use Cases:

  • Display usage meter in playground UI
  • Warn users when approaching limits
  • Trigger upgrade prompts
get/api/v1/keys/ephemeral/info

Request

  • Base URL: https://api.bellatorsi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.bellatorsi.com/api/v1/keys/ephemeral/info
  • Auth: none declared. Required headers: X-API-Key

Headers

X-API-Keystring required

Response

Key information retrieved

usage_countinteger required

Number of API calls made

usage_limitinteger required

Maximum number of API calls allowed

usage_remaininginteger required

Remaining API calls

ttl_secondsinteger required

Seconds until key expires

expires_atstring required

ISO 8601 expiry timestamp

created_atstring

ISO 8601 creation timestamp

typestring

Key type

Changes

No recorded changes to this operation across all 1 revision of this API.