For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get the agent budgets

Retrieve every budget currently configured for the agent. An empty budgets array means no cap is set and usage is unlimited.

get
Authorizations
D360-API-KEYstringRequired

API Key for Messaging API authentication. Send your API key in the D360-API-KEY header.

Path parameters
entity_idintegerRequired

The ID of the entity that owns the agent - the Business Manager ID

Header parameters
X-API-Versionstring · enumOptional

Meta Business Agent API version

Possible values:
Responses
200

The budgets currently configured for the agent

application/json

The budgets configured for the agent

get/agent_budget/{entity_id}
GET /agent_budget/{entity_id} HTTP/1.1
Host: waba-v2.360dialog.io
D360-API-KEY: YOUR_API_KEY
Accept: */*
{
  "budgets": [
    {
      "budget_id": "1234567890",
      "max_budget": 100000,
      "time_window": "seven_days",
      "unit_type": "token"
    }
  ]
}

Last updated

Was this helpful?