Predictions

Cancel Prediction

Cancel an in-progress prediction. Once canceled, it cannot be resumed.

Cancel a Prediction

POST
/predictions/{id}/cancel
x-api-key<token>

Your Skytells API key. Obtain one from Dashboard → API Keys.

In: header

Path Parameters

id*string

The prediction ID.

Response Body

application/json

application/json

curl -X POST "https://api.skytells.ai/v1/predictions/pred_abc123/cancel"
{
  "success": true
}
{
  "error": {
    "http_status": 401,
    "message": "Invalid or missing API key",
    "details": "Please obtain a valid API key from the dashboard",
    "error_id": "UNAUTHORIZED"
  }
}

How is this guide?