Billing

Subscription, tiers, and credits. Requires master key.

Show billing info

get

Returns current subscription and billing details. Requires a master key.

Authorizations
AuthorizationstringRequired

API key sent as Bearer token. Two types:

  • Master key (g_master_...): full access to all agents and endpoints.
  • Agent key (g_agent_...): scoped to a single agent with specific permissions.
Responses
200

Billing details

application/json
successbooleanOptional
get
/billing

List subscription tiers

get

Returns available subscription tiers and pricing. Requires a master key.

Authorizations
AuthorizationstringRequired

API key sent as Bearer token. Two types:

  • Master key (g_master_...): full access to all agents and endpoints.
  • Agent key (g_agent_...): scoped to a single agent with specific permissions.
Responses
200

Subscription tiers

application/json
successbooleanOptional
get
/billing/tiers

Get credits breakdown

get

Returns detailed credits breakdown (subscription vs purchased). Requires a master key.

Authorizations
AuthorizationstringRequired

API key sent as Bearer token. Two types:

  • Master key (g_master_...): full access to all agents and endpoints.
  • Agent key (g_agent_...): scoped to a single agent with specific permissions.
Responses
200

Credits breakdown

application/json
successbooleanOptional
get
/billing/credits

Last updated