Skip to main content
GET
Read this agent's spending allowance

Authorizations

X-Api-Key
string
header
required

A connection-bound gk_agent_ credential. REST deliberately accepts it through either X-Api-Key or Authorization: Bearer; X-Api-Key remains supported. Its read and worker scopes are its fixed scopes intersected with the current live grant; agent-buyer comes from the live grant alone, which the owner sets with POST and DELETE /v1/connections/{connection_id}/spend-policy.

Response

The agent's spending policy and usage.

policy
object
required
usage
object
required