Delete request payloads
delete_request_payloadsPermanently delete a request's input/output payload data and its CDN-hosted output files by request ID; this irreversible action leaves shared input CDN files intact.
Instructions
Deletes the IO payloads and associated CDN output files for a specific request.
Important:
Only output CDN files are deleted (input files may be used by other requests)
This action is irreversible
Requires authentication with an admin API key
What gets deleted:
Request input/output payload data
CDN-hosted output files (images, videos, etc.)
What is NOT deleted:
Input CDN files (may be referenced by other requests)
Response:
Returns deletion status for each CDN file
Each result includes the file link and any error that occurred
Idempotency:
Optional Idempotency-Key header prevents duplicate deletions on retries
Responses cached for 10 minutes per unique key
See fal.ai docs for more details about request payloads.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request_id": "<request_id>"
},
"name": "delete_request_payloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact private account key profile label, not an authenticated provider owner ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| request_id | Yes | Unique identifier for the request (UUID format) | |
| Idempotency_Key | No | Optional idempotency key for safe request retries |