Runs
Run an agent
Run an agent
post/v1/run/agents
Query parameters
templateboolean
Headers
x-api-keystring nullable
x-max-steps-overrideinteger nullable
x-user-agentstring nullable
Request body
Example request
{
"agent_id": "wpid_123",
"proxy_location": {
"country": "US",
"subdivision": "CA",
"city": "New York"
},
"totp_url": "https://my-totp-service.com/totp",
"totp_identifier": "john.doe@example.com",
"browser_address": "http://127.0.0.1:9222",
"run_with": "agent"
}Response
Successfully ran agent
Example response
{
"run_id": "tsk_123",
"created_at": "2025-01-01T00:00:00Z",
"modified_at": "2025-01-01T00:05:00Z",
"app_url": "https://app.skyvern.com/tasks/tsk_123",
"browser_session_id": "pbs_123",
"browser_profile_id": "bp_123",
"run_with": "agent",
"run_request": {
"workflow_id": "wpid_123",
"proxy_location": {
"country": "US",
"subdivision": "CA",
"city": "New York"
},
"totp_url": "https://my-totp-service.com/totp",
"totp_identifier": "john.doe@example.com",
"browser_address": "http://127.0.0.1:9222",
"run_with": "agent"
}
}Changes
Changed in 4 of the 63 revisions of this API.114
- ●
added the new
pausedenum value to thestatusresponse property for the response status200response-property-enum-value-added
- ●
- ▲
the
run_request/anyOf[subschema #1: WorkflowRunRequest]/max_elapsed_time_minutes/anyOf[subschema #1]/response property's max was increased from240.00to480.00for the response status200response-property-max-increased
- ○
the
max_elapsed_time_minutes/anyOf[subschema #1]/request property's max was increased from240.00to480.00request-property-max-increased
- ▲
- ○
api tag
Runsaddedapi-tag-added
- ○
api tag
Agentsremovedapi-tag-removed
- ○
- ○
endpoint added
endpoint-added
- ○