Agents

Run an agent now

Changed on

An agent has an owner, a name, a brief that says how it works, and rules for which tools it can use. Every change to the brief or tool policy makes a new version. An agent does its work through routines. A routine is a Cloud Automation that belongs to the agent, so it also appears in the Automation capabilities; each run starts from the agent's brief and can use only what the agent's tool policy allows. The owner can share the agent with teammates. Managers can change who can collaborate. The owner must approve changes a manager proposes to the brief, tool policy or routines. Collaborators can use the agent and ask for changes. Runs started by a teammate are private. Scheduled runs use the owner’s accounts and share their results with the team. Starts one run of the agent's routine now, in addition to its schedule. Pass routineId when the agent has more than one routine. The run appears in your own run history.

post/v1/personal-agents/{id}/run

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

object required
routineId, string

Which of the agent's routines to run. Optional when the agent has exactly one.

Response

Run queued, pinned to the agent version it will use.

PersonalAgentRunResponse required
run, AutomationRun required
routine, AutomationDetail required
agentRevision, object required

Changes