Endpoints
Delete Request
Delete a short creation request and its associated data.
DELETE /shorts/:id
Permanently deletes a short creation request and all associated generated shorts. If the request is currently being processed, processing will be cancelled before deletion.
Path parameters
| Parameter | Type | Description |
|---|---|---|
id | string | The request ID to delete. Must be a valid 24-character hex string. |
Request
Response
What gets deleted
When you delete a request, the following are permanently removed:
- Request record — The request metadata (URL, parameters, timestamps)
- Generated shorts — All video files produced by this request
- Processing data — Transcriptions, clip selections, and rendering artifacts
If the request is actively being processed (status: "processing"), the processing job is cancelled immediately before the data is deleted.
Error responses
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request ID format (not a valid 24-character hex string) |
| 401 | invalid_api_key | Missing or invalid API key |
| 404 | resource_not_found | Request not found or does not belong to your account |
| 429 | rate_limit_exceeded | Too many requests |
| 500 | internal_error | Server error during deletion — the request may or may not have been deleted |
Error examples
Invalid ID format
Request not found
This can happen if:
- The request ID doesn't exist
- The request belongs to a different API key / account
- The request was already deleted
Bulk deletion
To delete multiple requests, loop through them individually. There is no bulk delete endpoint.
Important notes
- This action is irreversible. Once deleted, the request and all generated videos cannot be recovered.
- If the request is actively being processed, the processing job is cancelled before deletion. No partial results are saved.
- Credits consumed by the request are not refunded upon deletion. Each
POST /shorts/createcall permanently consumes 1 credit regardless of whether the result is later deleted. - You can only delete requests created by your own API key. Attempting to delete another account's requests returns
404.
