Canvases

Create a project canvas with an initial mascot reference

Creates an empty draft canvas in a project, bound to a mascot you own or acquired from Marketplace. Send project_id, mascot_id and name; optional variant_id selects the appearance. Save the graph next with PATCH /v1/canvases/{canvasId}.

post/v1/canvases

Request

  • Base URL: https://api.masko.ai
  • URL: https://api.masko.ai/v1/canvases
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Account-scoped key (1 to 255 characters, ideally a UUID). Retries must preserve the credential workspace, effective API version, URL, content type and exact body bytes, including multipart boundaries; different inputs return 409 idempotency_key_reused. Completed responses, including 500 errors, replay for 24 hours after completion with current resource access checked again. Running or unconfirmed executions return 409 idempotency_request_in_progress and do not expire automatically. A receipt persistence failure returns 503 idempotency_persistence_failed: retry only with the same key and inspect the operation outcome before starting a new request.

Request body

project_idstring uuid required
mascot_idstring uuid required
namestring required
variant_idstring uuid

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.