POST
/
run-agent
/
{agent_id}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer token for authentication

Path Parameters

agent_id
string
required

The unique identifier of the agent to run

Body

application/json
browser_id
string
required

The ID of the browser instance to use

agent_input
object
required

Input parameters for the agent

max_retries
integer
default: 0

Maximum number of retry attempts

Response

200 - application/json
session_id
string

The unique identifier for the created session