Cancels a process started through the API while it hasn't been sent to the provider, usually its first few seconds, and refunds it in full. It then reads as failed with error.code cancelled, and process.failed goes to webhooks. Once the provider has accepted it, the call answers 409 conflict and the process runs to the end (a failure is refunded automatically). Canvas runs and wallet-funded runs can't be cancelled.
Authorization
bearerAuth processes:writeIn: header
Scope: processes:write
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/processes/string/cancel"{ "data": { "id": "string", "status": "failed", "cancelled": true, "error": { "code": "string", "message": "string" }, "links": { "self": "string" } }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}Cancel queued canvas cards POST
Takes cards that have not started out of a running canvas run: nodeIds plus the run's cards behind them, or every waiting card when nodeIds is omitted. A card whose generation has started cannot be cancelled, and nothing is charged for a card that never starts. conflict when nothing could be cancelled. Uses the processes:write scope.
Caption a session's timeline POST
Transcribes the timeline's audio and replaces its captions with timed caption clips; other text stays. Free; long timelines take up to a few minutes. Uses the processes:write scope.