curl --request POST \
--url http://localhost/api/v1/orchestrate/runs/cancel/{run_id} \
--header 'Authorization: Bearer <token>'
{
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
curl --request POST \
--url http://localhost/api/v1/orchestrate/runs/cancel/{run_id} \
--header 'Authorization: Bearer <token>'
{
"thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful Response
The response is of type object
.