Skip to main content
PUT
Set an agent's monthly spending limit

Authorizations

x-api-key
string
header
required

Organization API key passed as the x-api-key header. The raw key is the header value; do not prefix it with Bearer.

Path Parameters

id
string
required

Body

application/json
monthlyBudgetMicros
integer | null
required

Monthly spending limit in millionths of a US dollar. Recorded now; not enforced yet.

Required range: 0 <= x <= 1000000000000

Response

Set an agent's monthly spending limit

agent
object
required
owner
object
required
sharedWith
object[]
required
writeAccess
object
required

How many tools its policy names as allow, ask and block.

spend
object
required
routines
object[]
required
audience
object