POST
/
v1
/
batches
/
{batch_id}
/
stop
Stop Active Batch
curl --request POST \
  --url https://app.luly.ai/api/v1/batches/{batch_id}/stop \
  --header 'authorization: <authorization>'
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

batch_id
string
required
The ID of the pathway containing the version to be cancelled.

Response

status
string
The status of the request. If anything other than ‘success’, an error has occurred or all calls have already been completed.
message
string
A message describing the status of the request.
num_calls
number
The number of calls that were cancelled.
batch_id
array
The batch_id of the cancelled batch.
{
  "status": "success",
  "pathway_id": "9d404c1b-6a23-4426-953a-a52c392ff8f1"
}