POST
/
tasks
/
{session_id}
/
command
curl --request POST \
  --url https://browser.ai/api/v1/tasks/{session_id}/command \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "command": "stop"
}'
{
  "message": "Task stopped successfully"
}

Authorizations

Authorization
string
header
required

Insert API token, use the format: apikey <API-TOKEN>.

Path Parameters

session_id
string
required

Insert your task’s session ID located in your Projects dashboard.

Body

application/json

Response

200
application/json

Command accepted and processed

The response is of type any.