cURL
curl --request PUT \ --url https://agp.hcompany.ai/api/v1/trajectories/{id}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "status": "paused" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Update the execution status of a trajectory to PAUSED, RUNNING, or INTERRUPTED.
PAUSED
RUNNING
INTERRUPTED
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
paused
running
interrupted
Successful Response