Skip to main content
GET
Get the current agent grant

Authorizations

Authorization
string
header
required

Shopper-bound downstream credential; never an MCP OAuth token.

Headers

authorization
string | null

Response

The authenticated agent grant and its effective permissions.

app_id
string
required

App that issued the grant.

environment
string
required

Environment the grant acts in: sandbox or live.

expires_at
string
required

ISO 8601 time after which the credential stops working.

id
string
required

Agent grant ID (agt_ prefix).

new_work_enabled
boolean
required

Whether the plan currently allows new agent carts and purchases.

oauth_client_id
string
required

OAuth client ID of the agent.

oauth_subject
string
required

Shopper subject from your OAuth authorization.

requires_quote_approval
boolean
required

Always true: the shopper's app must approve each quote before checkout.

scopes
string[]
required

Effective scopes: the delegated scopes still held by the issuing API key, sorted.

shopper_ref
string
required

Your reference for the shopper the agent acts for.

status
string
required

active, or revoked once revoked.

tenant_id
string
required

Workspace the grant belongs to.