Agents

Set an agent's monthly spending limit

Changed on

Admins only. Sets the most this agent may spend each month, or null to remove the admin's limit. Once the agent is over its budget, new runs do not start.

put/v1/org/personal-agents/{id}/budget

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

SetPersonalAgentAdminBudget required
monthlyBudgetMicros, integer nullable required

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

Response

Set an agent's monthly spending limit

PersonalAgentAdminItem required
agent, PersonalAgent required
owner, PersonalAgentPerson required
sharedWith, PersonalAgentShare[] required
writeAccess, object required

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

toolPolicy, PersonalAgentToolPolicy
spend, PersonalAgentSpend required
routines, PersonalAgentRoutineSummary[] required
audience, PersonalAgentAudience

Changes