notebook_widgets

post/api/projects/{project_id}/notebook_widgets/{id}/demo-data/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/notebook_widgets/{id}/demo-data/
  • Auth: HTTP bearer

Path parameters

idstring required
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

version_idstring uuid required

Current or draft version whose demo data should be edited.

frame_namestring required

Logical input slot whose saved rows should be replaced.

Response

namestring required

Logical dataframe name.

runIdstring uuid required

Completed notebook run used for every page in this iframe load.

totalRowCountinteger required

Rows available in the completed run.

includedRowCountinteger required

Rows returned in this response.

offsetinteger required

Zero-based offset of this page.

nextOffsetinteger nullable required

Offset for the next page, if any.

truncatedboolean required

Whether more rows exist after this page.

Changes

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