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"
}
}