Skip to main content
GET
Get your agent's daily spend cap

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

OK

daily_cap_cents
integer<int32>
required

The most the agent may spend on inference in a day, over every model call it makes, in US cents. A model call is refused (402 agent_host_daily_cap_reached) once the day's settled spend plus what the agent's calls in flight hold reaches it, until midnight in the timezone, until calls in flight settle under it, or until the cap is raised past them.

day
string
required

Today in the agent's timezone, as YYYY-MM-DD: the day spent_microdollars is for.

Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$
spent_microdollars
integer<int64>
required

What the agent's model calls settled today, in millionths of a US dollar.

timezone
string
required

The owner's IANA timezone, whose midnight starts the next day.