Run an agent
Run an agent
Query parameters
Headers
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",
"file_ids": [
"file_123456789"
]
}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",
"file_ids": [
"file_123456789"
]
}
}Changes
Changed in 7 of the 86 revisions of this API.1111
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
- ●
added the new
pausedenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ▲
the
///response property's max was increased from240.00to480.00for the response statusresponse-property-max-increased
- ○
the
/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
This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○