Skip to main content
POST
/
v1
/
prediction
/
{id}
/
cancel
Cancel Model Prediction
curl --request POST \
  --url https://api.eachlabs.ai/v1/prediction/{id}/cancel \
  --header 'X-API-Key: <api-key>'
{
  "status": "cancelled",
  "message": "Prediction canceled successfully",
  "predictionID": "abc123-def456-ghi789"
}

Documentation Index

Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

id
string
required

Prediction ID

Response

Prediction cancellation accepted

status
string

Cancellation status

Example:

"cancelled"

message
string

Human-readable cancellation message

Example:

"Prediction canceled successfully"

predictionID
string

Unique prediction identifier

Example:

"abc123-def456-ghi789"

Last modified on May 28, 2026