BudgetConfig
Fields
Budget names are the existing DEFAULT_BUDGETS keys.
4 fields
max_cost_usd_per_run- number
max_llm_calls_per_run- integer
max_runs_per_day- integer
max_tokens_per_run- integer
Raw schema (JSON)
{
"additionalProperties": false,
"description": "Budget names are the existing ``DEFAULT_BUDGETS`` keys (section 4.2).",
"properties": {
"max_cost_usd_per_run": {
"default": 5,
"minimum": 0,
"title": "Max Cost Usd Per Run",
"type": "number"
},
"max_llm_calls_per_run": {
"default": 30,
"minimum": 0,
"title": "Max Llm Calls Per Run",
"type": "integer"
},
"max_runs_per_day": {
"default": 10,
"minimum": 0,
"title": "Max Runs Per Day",
"type": "integer"
},
"max_tokens_per_run": {
"default": 60000,
"minimum": 0,
"title": "Max Tokens Per Run",
"type": "integer"
}
},
"title": "BudgetConfig",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PUT/api/v1/projects/{project_id}/agent-configs/{agent_id}— Put Agent Config
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON