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.
Authorization
bearerAuth processes:writeIn: header
Scope: processes:write
Path Parameters
A canvas run id from POST /sessions/{sessionId}/canvas/runs.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/sessions/string/canvas/runs/string/cancel" \ -H "Content-Type: application/json" \ -d '{}'{ "runId": "string", "cancelledNodeIds": [ "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" }}Add assets to a session POST
Adds existing team assets to a session so they appear in it in the web app. Membership only: where an asset was created (Asset.sessionId) does not change. Already-member, deleted, and unknown ids are skipped. Free.
Finalize a direct upload POST
Call after PUTting the bytes to uploadUrl. Probes the file (size limits, dimensions/duration), stores a normalized copy, and returns the finished asset. Idempotent: completing again returns the same asset.