Agents
Set an agent's monthly spending limit
Changed onAdmins 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 URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
id, string required
Request body
Set Personal Agent Admin Budget 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
Personal Agent Admin Item required
agent, Personal Agent required
owner, Personal Agent Person required
sharedWith, Personal Agent Share[] required
writeAccess, object required
How many tools its policy names as allow, ask and block.
toolPolicy, Personal Agent Tool Policy
spend, Personal Agent Spend required
routines, Personal Agent Routine Summary[] required
audience, Personal Agent Audience
Changes
- breaking
added
subschema #6to theroutines/items/scheduleresponse propertyoneOflist for the response status
- breaking
- info
added the optional property
toolPolicyto the response with the status
- info