cURL
curl --request POST \ --url http://localhost:8080/api/workspaces/{id}/tasks/{task_id}/run \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "force": false }'
{ "id": "<string>", "workspace_id": "<string>", "task_id": "<string>", "task_run_id": "<string>", "session_name": "<string>", "status": "<string>", "runner_pid": 123, "exit_code": 123, "error_message": "<string>", "line_count": 123, "last_activity_at": "<string>", "started_at": "<string>", "finished_at": "<string>", "duration": 123, "keep_status": false, "report": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response