v1

latestOpenAPI 3.1.02026-07-13154170539.0 KB
Assistant Management

Set assistant spending limit

Set or update the monthly spending limit for an assistant.

put/v0/assistant/{agent_id}/spending-limit

Path parameters

agent_idinteger required

Request body

monthly_spending_capnumber nullable required

Monthly spending limit in dollars. Set to null to remove the limit.

Example request

{
  "monthly_spending_cap": 100
}

Response

Spending limit set successfully

agent_idinteger required

Assistant ID.

monthly_spending_capnumber nullable

The set monthly spending limit.

effective_limitnumber nullable

Effective limit (may be lower due to user/org limit).

Example response

{
  "monthly_spending_cap": 100,
  "effective_limit": 100
}