canvases

Route a viewer-approved change request to the canvas's authoring task.

post/api/projects/{project_id}/canvases/{id}/request_agent/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/canvases/{id}/request_agent/
  • 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/.

Request body

promptstring required

Exact change request the viewer reviewed and approved in the trusted host dialog.

Response

request_outcome'signaled' | 'new_run' | 'already_queued' | 'reported' required
  • signaled - signaled
  • new_run - new_run
  • already_queued - already_queued
  • reported - reported
task_idstring uuid required

Authoring task that received the request or report.

Changes

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