POST
/
run-agent
/
{agent_id}
curl --request POST \
  --url https://api.finic.ai/run-agent/{agent_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "browser_id": "<string>",
  "agent_input": {},
  "max_retries": 0
}'
{
  "session_id": "<string>"
}

Authorizations

Authorization
string
header
required

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
Successfully started agent execution
session_id
string

The unique identifier for the created session