Common APIDelete Predictions

Delete Prediction API

Delete one or more prediction jobs by their IDs.

Warning: Deleted predictions cannot be recovered. Only predictions owned by your account can be deleted.

Endpoint

POST https://api.wavespeed.ai/api/v3/predictions/delete

Request


curl -X POST "https://api.wavespeed.ai/api/v3/predictions/delete" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ids": ["247ae6a651", "8f5f0bdc7b3742"]}'

Response

{
    "code": 200,
    "message": "success",
    "data": {
        "deleted_count": 2
    }
}

Parameters

Request

ParameterTypeRequiredDescription
idsarrayYesList of prediction IDs to delete

Response

ParameterTypeDescription
codeintegerHTTP status code (200 for success)
messagestringStatus message
data.deleted_countintegerNumber of predictions deleted

Notes

  • Multiple predictions can be deleted in a single request
  • Invalid or non-existent IDs will be ignored
  • Avoid deleting running predictions unless necessary
© 2025 WaveSpeedAI. All rights reserved.