Read the canvas's runtime key-value state (the ph.state store).
Returns shared entries plus the authenticated user's own user-scoped entries — never another user's.
Request
- Base URL: https://us.posthog.com
- URL: https://us.posthog.com/api/projects/{project_id}/canvases/{id}/state/
- Auth: HTTP bearer
Path parameters
A UUID string identifying this canvas.
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
Cursor from next_cursor. Resumes after the last entry of the previous page, so an entry that exists for the whole read comes back exactly once. A key written between pages can be missing. Keep filters unchanged between pages. Takes precedence over offset.
Only read this exact key.
Only read entries whose key starts with this prefix.
True returns a key inventory without stored values.
Maximum entries per page. Omit for the full state. Prefer an inventory and state/value for large values.
Entry offset from next_offset. Keep filters unchanged between pages. Prefer cursor: an offset can skip or repeat entries when state changes between pages.
Only read this scope.
- user - user
- shared - shared
Response
Changes
No recorded changes to this operation across all 1 revision of this API.