canvases

The canvas's staged draft versions, newest first, each with its latest build status.

A draft is a version that was built but never made the head. Preview one with source?version_id=, then make it live with promote.

get/api/projects/{project_id}/canvases/{id}/drafts/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/canvases/{id}/drafts/
  • Auth: HTTP bearer

Path parameters

idstring uuid required

A UUID string identifying this canvas.

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

version_idstring required

Id of the draft source version.

promptstring nullable required

Short description recorded when the draft was staged.

created_atstring date-time required

When the draft was staged.

build_idstring nullable required

Id of the draft's latest build, when one exists.

Changes

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