PostHog · Capability

PostHog API — core

PostHog API — core. 263 operations. Lead operation: List subscription deliveries. Self-contained Naftiko capability covering one Posthog business surface.

Run with Naftiko Posthogcore

What You Can Do

GET
Environmentsdashboardslist — environmentsdashboardslist
/v1/api/environments/{environment-id}/dashboards
POST
Environmentsdashboardscreate — environmentsdashboardscreate
/v1/api/environments/{environment-id}/dashboards
POST
Environmentsdashboardsbulkupdatetagscreate — Bulk update tags on multiple objects.
/v1/api/environments/{environment-id}/dashboards/bulk-update-tags
POST
Environmentsdashboardscreatefromtemplatejsoncreate — environmentsdashboardscreatefromtemplatejsoncreate
/v1/api/environments/{environment-id}/dashboards/create-from-template-json
POST
Environmentsdashboardscreateunlisteddashboardcreate — Creates an unlisted dashboard from template by tag.
/v1/api/environments/{environment-id}/dashboards/create-unlisted-dashboard
GET
Environmentsdashboardssharinglist — environmentsdashboardssharinglist
/v1/api/environments/{environment-id}/dashboards/{dashboard-id}/sharing
POST
Environmentsdashboardssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/environments/{environment-id}/dashboards/{dashboard-id}/sharing/passwords
DELETE
Environmentsdashboardssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/environments/{environment-id}/dashboards/{dashboard-id}/sharing/passwords/{password-id}
POST
Environmentsdashboardssharingrefreshcreate — environmentsdashboardssharingrefreshcreate
/v1/api/environments/{environment-id}/dashboards/{dashboard-id}/sharing/refresh
GET
Environmentsdashboardsretrieve — environmentsdashboardsretrieve
/v1/api/environments/{environment-id}/dashboards/{id}
PUT
Environmentsdashboardsupdate — environmentsdashboardsupdate
/v1/api/environments/{environment-id}/dashboards/{id}
PATCH
Environmentsdashboardspartialupdate — environmentsdashboardspartialupdate
/v1/api/environments/{environment-id}/dashboards/{id}
DELETE
Environmentsdashboardsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/environments/{environment-id}/dashboards/{id}
POST
Environmentsdashboardsanalyzerefreshresultcreate — Generate AI analysis comparing before/after dashboard refresh.
/v1/api/environments/{environment-id}/dashboards/{id}/analyze-refresh-result
POST
Environmentsdashboardscopytilecreate — Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).
/v1/api/environments/{environment-id}/dashboards/{id}/copy-tile
PATCH
Environmentsdashboardsmovetilepartialupdate — environmentsdashboardsmovetilepartialupdate
/v1/api/environments/{environment-id}/dashboards/{id}/move-tile
POST
Environmentsdashboardsreordertilescreate — environmentsdashboardsreordertilescreate
/v1/api/environments/{environment-id}/dashboards/{id}/reorder-tiles
GET
Environmentsdashboardsruninsightsretrieve — Run all insights on a dashboard and return their results.
/v1/api/environments/{environment-id}/dashboards/{id}/run-insights
POST
Environmentsdashboardssnapshotcreate — Snapshot the current dashboard state (from cache) for AI analysis.
/v1/api/environments/{environment-id}/dashboards/{id}/snapshot
GET
Environmentsdashboardsstreamtilesretrieve — Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
/v1/api/environments/{environment-id}/dashboards/{id}/stream-tiles
GET
Environmentsexportslist — environmentsexportslist
/v1/api/environments/{environment-id}/exports
POST
Environmentsexportscreate — environmentsexportscreate
/v1/api/environments/{environment-id}/exports
GET
Environmentsexportsretrieve — environmentsexportsretrieve
/v1/api/environments/{environment-id}/exports/{id}
GET
Environmentsexportscontentretrieve — environmentsexportscontentretrieve
/v1/api/environments/{environment-id}/exports/{id}/content
GET
Environmentsfilesystemlist — environmentsfilesystemlist
/v1/api/environments/{environment-id}/file-system
POST
Environmentsfilesystemcreate — environmentsfilesystemcreate
/v1/api/environments/{environment-id}/file-system
POST
Environmentsfilesystemcountbypathcreate — Get count of all files in a folder.
/v1/api/environments/{environment-id}/file-system/count-by-path
GET
Environmentsfilesystemlogviewretrieve — environmentsfilesystemlogviewretrieve
/v1/api/environments/{environment-id}/file-system/log-view
POST
Environmentsfilesystemlogviewcreate — environmentsfilesystemlogviewcreate
/v1/api/environments/{environment-id}/file-system/log-view
POST
Environmentsfilesystemundodeletecreate — environmentsfilesystemundodeletecreate
/v1/api/environments/{environment-id}/file-system/undo-delete
GET
Environmentsfilesystemunfiledretrieve — environmentsfilesystemunfiledretrieve
/v1/api/environments/{environment-id}/file-system/unfiled
GET
Environmentsfilesystemretrieve — environmentsfilesystemretrieve
/v1/api/environments/{environment-id}/file-system/{id}
PUT
Environmentsfilesystemupdate — environmentsfilesystemupdate
/v1/api/environments/{environment-id}/file-system/{id}
PATCH
Environmentsfilesystempartialupdate — environmentsfilesystempartialupdate
/v1/api/environments/{environment-id}/file-system/{id}
DELETE
Environmentsfilesystemdestroy — environmentsfilesystemdestroy
/v1/api/environments/{environment-id}/file-system/{id}
POST
Environmentsfilesystemcountcreate — Get count of all files in a folder.
/v1/api/environments/{environment-id}/file-system/{id}/count
POST
Environmentsfilesystemlinkcreate — environmentsfilesystemlinkcreate
/v1/api/environments/{environment-id}/file-system/{id}/link
POST
Environmentsfilesystemmovecreate — environmentsfilesystemmovecreate
/v1/api/environments/{environment-id}/file-system/{id}/move
GET
Environmentsgroupslist — List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
/v1/api/environments/{environment-id}/groups
POST
Environmentsgroupscreate — environmentsgroupscreate
/v1/api/environments/{environment-id}/groups
GET
Environmentsgroupsactivityretrieve — environmentsgroupsactivityretrieve
/v1/api/environments/{environment-id}/groups/activity
POST
Environmentsgroupsdeletepropertycreate — environmentsgroupsdeletepropertycreate
/v1/api/environments/{environment-id}/groups/delete-property
GET
Environmentsgroupsfindretrieve — environmentsgroupsfindretrieve
/v1/api/environments/{environment-id}/groups/find
GET
Environmentsgroupspropertydefinitionsretrieve — environmentsgroupspropertydefinitionsretrieve
/v1/api/environments/{environment-id}/groups/property-definitions
GET
Environmentsgroupspropertyvaluesretrieve — environmentsgroupspropertyvaluesretrieve
/v1/api/environments/{environment-id}/groups/property-values
GET
Environmentsgroupsrelatedretrieve — environmentsgroupsrelatedretrieve
/v1/api/environments/{environment-id}/groups/related
POST
Environmentsgroupsupdatepropertycreate — environmentsgroupsupdatepropertycreate
/v1/api/environments/{environment-id}/groups/update-property
GET
Environmentsinsightssharinglist — environmentsinsightssharinglist
/v1/api/environments/{environment-id}/insights/{insight-id}/sharing
POST
Environmentsinsightssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/environments/{environment-id}/insights/{insight-id}/sharing/passwords
DELETE
Environmentsinsightssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/environments/{environment-id}/insights/{insight-id}/sharing/passwords/{password-id}
POST
Environmentsinsightssharingrefreshcreate — environmentsinsightssharingrefreshcreate
/v1/api/environments/{environment-id}/insights/{insight-id}/sharing/refresh
GET
Environmentsprojectsecretapikeyslist — environmentsprojectsecretapikeyslist
/v1/api/environments/{environment-id}/project-secret-api-keys
POST
Environmentsprojectsecretapikeyscreate — environmentsprojectsecretapikeyscreate
/v1/api/environments/{environment-id}/project-secret-api-keys
GET
Environmentsprojectsecretapikeysretrieve — environmentsprojectsecretapikeysretrieve
/v1/api/environments/{environment-id}/project-secret-api-keys/{id}
PUT
Environmentsprojectsecretapikeysupdate — environmentsprojectsecretapikeysupdate
/v1/api/environments/{environment-id}/project-secret-api-keys/{id}
PATCH
Environmentsprojectsecretapikeyspartialupdate — environmentsprojectsecretapikeyspartialupdate
/v1/api/environments/{environment-id}/project-secret-api-keys/{id}
DELETE
Environmentsprojectsecretapikeysdestroy — environmentsprojectsecretapikeysdestroy
/v1/api/environments/{environment-id}/project-secret-api-keys/{id}
POST
Environmentsprojectsecretapikeysrollcreate — Roll a project secret API key
/v1/api/environments/{environment-id}/project-secret-api-keys/{id}/roll
GET
Environmentssessionrecordingssharinglist — environmentssessionrecordingssharinglist
/v1/api/environments/{environment-id}/session-recordings/{recording-id}/sharing
POST
Environmentssessionrecordingssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/environments/{environment-id}/session-recordings/{recording-id}/sharing/passwords
DELETE
Environmentssessionrecordingssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/environments/{environment-id}/session-recordings/{recording-id}/sharing/passwords/{password-id}
POST
Environmentssessionrecordingssharingrefreshcreate — environmentssessionrecordingssharingrefreshcreate
/v1/api/environments/{environment-id}/session-recordings/{recording-id}/sharing/refresh
GET
Environmentssubscriptionslist — environmentssubscriptionslist
/v1/api/environments/{environment-id}/subscriptions
POST
Environmentssubscriptionscreate — environmentssubscriptionscreate
/v1/api/environments/{environment-id}/subscriptions
GET
Environmentssubscriptionsretrieve — environmentssubscriptionsretrieve
/v1/api/environments/{environment-id}/subscriptions/{id}
PUT
Environmentssubscriptionsupdate — environmentssubscriptionsupdate
/v1/api/environments/{environment-id}/subscriptions/{id}
PATCH
Environmentssubscriptionspartialupdate — environmentssubscriptionspartialupdate
/v1/api/environments/{environment-id}/subscriptions/{id}
DELETE
Environmentssubscriptionsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/environments/{environment-id}/subscriptions/{id}
POST
Environmentssubscriptionstestdeliverycreate — environmentssubscriptionstestdeliverycreate
/v1/api/environments/{environment-id}/subscriptions/{id}/test-delivery
GET
Subscriptionsdeliverieslist — List subscription deliveries
/v1/api/environments/{project-id}/subscriptions/{subscription-id}/deliveries
GET
Subscriptionsdeliveriesretrieve — Retrieve subscription delivery
/v1/api/environments/{project-id}/subscriptions/{subscription-id}/deliveries/{id}
GET
Domainslist — domainslist
/v1/api/organizations/{organization-id}/domains
POST
Domainscreate — domainscreate
/v1/api/organizations/{organization-id}/domains
GET
Domainsretrieve — domainsretrieve
/v1/api/organizations/{organization-id}/domains/{id}
PUT
Domainsupdate — domainsupdate
/v1/api/organizations/{organization-id}/domains/{id}
PATCH
Domainspartialupdate — domainspartialupdate
/v1/api/organizations/{organization-id}/domains/{id}
DELETE
Domainsdestroy — domainsdestroy
/v1/api/organizations/{organization-id}/domains/{id}
GET
Domainsscimlogsretrieve — domainsscimlogsretrieve
/v1/api/organizations/{organization-id}/domains/{id}/scim/logs
POST
Domainsscimtokencreate — Regenerate SCIM bearer token.
/v1/api/organizations/{organization-id}/domains/{id}/scim/token
POST
Domainsverifycreate — domainsverifycreate
/v1/api/organizations/{organization-id}/domains/{id}/verify
GET
Inviteslist — inviteslist
/v1/api/organizations/{organization-id}/invites
POST
Invitescreate — invitescreate
/v1/api/organizations/{organization-id}/invites
POST
Invitesbulkcreate — invitesbulkcreate
/v1/api/organizations/{organization-id}/invites/bulk
DELETE
Invitesdestroy — invitesdestroy
/v1/api/organizations/{organization-id}/invites/{id}
GET
Legaldocumentslist — legaldocumentslist
/v1/api/organizations/{organization-id}/legal-documents
POST
Legaldocumentscreate — legaldocumentscreate
/v1/api/organizations/{organization-id}/legal-documents
GET
Legaldocumentsretrieve — legaldocumentsretrieve
/v1/api/organizations/{organization-id}/legal-documents/{id}
GET
Legaldocumentsdownloadretrieve — Short-lived redirect to the signed PDF in object storage. 404 while the
/v1/api/organizations/{organization-id}/legal-documents/{id}/download
GET
Memberslist — memberslist
/v1/api/organizations/{organization-id}/members
PUT
Membersupdate — membersupdate
/v1/api/organizations/{organization-id}/members/{user-uuid}
PATCH
Memberspartialupdate — memberspartialupdate
/v1/api/organizations/{organization-id}/members/{user-uuid}
DELETE
Membersdestroy — membersdestroy
/v1/api/organizations/{organization-id}/members/{user-uuid}
GET
Membersscopedapikeysretrieve — membersscopedapikeysretrieve
/v1/api/organizations/{organization-id}/members/{user-uuid}/scoped-api-keys
GET
Oauthapplicationslist — ViewSet for listing OAuth applications at the organization level (read-only).
/v1/api/organizations/{organization-id}/oauth-applications
GET
Organizationsprojectslist — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects
POST
Organizationsprojectscreate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects
GET
Organizationsprojectsretrieve — Retrieve a project and its settings.
/v1/api/organizations/{organization-id}/projects/{id}
PUT
Organizationsprojectsupdate — Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
/v1/api/organizations/{organization-id}/projects/{id}
PATCH
Organizationsprojectspartialupdate — Update one or more of a project's settings. Only the fields included in the request body are changed.
/v1/api/organizations/{organization-id}/projects/{id}
DELETE
Organizationsprojectsdestroy — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}
GET
Organizationsprojectsactivityretrieve — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/activity
PATCH
Organizationsprojectsaddproductintentpartialupdate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/add-product-intent
POST
Organizationsprojectschangeorganizationcreate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/change-organization
PATCH
Organizationsprojectscompleteproductonboardingpartialupdate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/complete-product-onboarding
PATCH
Organizationsprojectsdeletesecrettokenbackuppartialupdate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/delete-secret-token-backup
POST
Organizationsprojectsgenerateconversationspublictokencreate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/generate-conversations-public-token
GET
Organizationsprojectsisgeneratingdemodataretrieve — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/is-generating-demo-data
PATCH
Organizationsprojectsresettokenpartialupdate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/reset-token
PATCH
Organizationsprojectsrotatesecrettokenpartialupdate — Projects for the current organization.
/v1/api/organizations/{organization-id}/projects/{id}/rotate-secret-token
GET
Roleslist — roleslist
/v1/api/organizations/{organization-id}/roles
POST
Rolescreate — rolescreate
/v1/api/organizations/{organization-id}/roles
GET
Rolesretrieve — rolesretrieve
/v1/api/organizations/{organization-id}/roles/{id}
PUT
Rolesupdate — rolesupdate
/v1/api/organizations/{organization-id}/roles/{id}
PATCH
Rolespartialupdate — rolespartialupdate
/v1/api/organizations/{organization-id}/roles/{id}
DELETE
Rolesdestroy — rolesdestroy
/v1/api/organizations/{organization-id}/roles/{id}
GET
Annotationslist — Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
/v1/api/projects/{project-id}/annotations
POST
Annotationscreate — Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
/v1/api/projects/{project-id}/annotations
GET
Annotationsretrieve — Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
/v1/api/projects/{project-id}/annotations/{id}
PUT
Annotationsupdate — Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
/v1/api/projects/{project-id}/annotations/{id}
PATCH
Annotationspartialupdate — Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.
/v1/api/projects/{project-id}/annotations/{id}
DELETE
Annotationsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/annotations/{id}
GET
Cohortslist — cohortslist
/v1/api/projects/{project-id}/cohorts
POST
Cohortscreate — cohortscreate
/v1/api/projects/{project-id}/cohorts
GET
Cohortsallactivityretrieve — cohortsallactivityretrieve
/v1/api/projects/{project-id}/cohorts/activity
GET
Cohortsretrieve — cohortsretrieve
/v1/api/projects/{project-id}/cohorts/{id}
PUT
Cohortsupdate — cohortsupdate
/v1/api/projects/{project-id}/cohorts/{id}
PATCH
Cohortspartialupdate — cohortspartialupdate
/v1/api/projects/{project-id}/cohorts/{id}
DELETE
Cohortsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/cohorts/{id}
GET
Cohortsactivityretrieve — cohortsactivityretrieve
/v1/api/projects/{project-id}/cohorts/{id}/activity
PATCH
Cohortsaddpersonstostaticcohortpartialupdate — cohortsaddpersonstostaticcohortpartialupdate
/v1/api/projects/{project-id}/cohorts/{id}/add-persons-to-static-cohort
GET
Cohortscalculationhistoryretrieve — cohortscalculationhistoryretrieve
/v1/api/projects/{project-id}/cohorts/{id}/calculation-history
GET
Cohortspersonsretrieve — cohortspersonsretrieve
/v1/api/projects/{project-id}/cohorts/{id}/persons
PATCH
Cohortsremovepersonfromstaticcohortpartialupdate — cohortsremovepersonfromstaticcohortpartialupdate
/v1/api/projects/{project-id}/cohorts/{id}/remove-person-from-static-cohort
GET
Commentslist — commentslist
/v1/api/projects/{project-id}/comments
POST
Commentscreate — commentscreate
/v1/api/projects/{project-id}/comments
GET
Commentscountretrieve — commentscountretrieve
/v1/api/projects/{project-id}/comments/count
GET
Commentsretrieve — commentsretrieve
/v1/api/projects/{project-id}/comments/{id}
PUT
Commentsupdate — commentsupdate
/v1/api/projects/{project-id}/comments/{id}
PATCH
Commentspartialupdate — commentspartialupdate
/v1/api/projects/{project-id}/comments/{id}
DELETE
Commentsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/comments/{id}
GET
Commentsthreadretrieve — commentsthreadretrieve
/v1/api/projects/{project-id}/comments/{id}/thread
GET
Dashboardtemplateslist — dashboardtemplateslist
/v1/api/projects/{project-id}/dashboard-templates
POST
Dashboardtemplatescreate — dashboardtemplatescreate
/v1/api/projects/{project-id}/dashboard-templates
POST
Dashboardtemplatescopybetweenprojectscreate — Copy a team template to this project
/v1/api/projects/{project-id}/dashboard-templates/copy-between-projects
GET
Dashboardtemplatesjsonschemaretrieve — dashboardtemplatesjsonschemaretrieve
/v1/api/projects/{project-id}/dashboard-templates/json-schema
GET
Dashboardtemplatesretrieve — dashboardtemplatesretrieve
/v1/api/projects/{project-id}/dashboard-templates/{id}
PUT
Dashboardtemplatesupdate — dashboardtemplatesupdate
/v1/api/projects/{project-id}/dashboard-templates/{id}
PATCH
Dashboardtemplatespartialupdate — dashboardtemplatespartialupdate
/v1/api/projects/{project-id}/dashboard-templates/{id}
DELETE
Dashboardtemplatesdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/dashboard-templates/{id}
GET
Dashboardslist — dashboardslist
/v1/api/projects/{project-id}/dashboards
POST
Dashboardscreate — dashboardscreate
/v1/api/projects/{project-id}/dashboards
POST
Dashboardsbulkupdatetagscreate — Bulk update tags on multiple objects.
/v1/api/projects/{project-id}/dashboards/bulk-update-tags
POST
Dashboardscreatefromtemplatejsoncreate — dashboardscreatefromtemplatejsoncreate
/v1/api/projects/{project-id}/dashboards/create-from-template-json
POST
Dashboardscreateunlisteddashboardcreate — Creates an unlisted dashboard from template by tag.
/v1/api/projects/{project-id}/dashboards/create-unlisted-dashboard
GET
Dashboardssharinglist — dashboardssharinglist
/v1/api/projects/{project-id}/dashboards/{dashboard-id}/sharing
POST
Dashboardssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/projects/{project-id}/dashboards/{dashboard-id}/sharing/passwords
DELETE
Dashboardssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/projects/{project-id}/dashboards/{dashboard-id}/sharing/passwords/{password-id}
POST
Dashboardssharingrefreshcreate — dashboardssharingrefreshcreate
/v1/api/projects/{project-id}/dashboards/{dashboard-id}/sharing/refresh
GET
Dashboardsretrieve — dashboardsretrieve
/v1/api/projects/{project-id}/dashboards/{id}
PUT
Dashboardsupdate — dashboardsupdate
/v1/api/projects/{project-id}/dashboards/{id}
PATCH
Dashboardspartialupdate — dashboardspartialupdate
/v1/api/projects/{project-id}/dashboards/{id}
DELETE
Dashboardsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/dashboards/{id}
POST
Dashboardsanalyzerefreshresultcreate — Generate AI analysis comparing before/after dashboard refresh.
/v1/api/projects/{project-id}/dashboards/{id}/analyze-refresh-result
POST
Dashboardscopytilecreate — Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).
/v1/api/projects/{project-id}/dashboards/{id}/copy-tile
PATCH
Dashboardsmovetilepartialupdate — dashboardsmovetilepartialupdate
/v1/api/projects/{project-id}/dashboards/{id}/move-tile
POST
Dashboardsreordertilescreate — dashboardsreordertilescreate
/v1/api/projects/{project-id}/dashboards/{id}/reorder-tiles
GET
Dashboardsruninsightsretrieve — Run all insights on a dashboard and return their results.
/v1/api/projects/{project-id}/dashboards/{id}/run-insights
POST
Dashboardssnapshotcreate — Snapshot the current dashboard state (from cache) for AI analysis.
/v1/api/projects/{project-id}/dashboards/{id}/snapshot
GET
Dashboardsstreamtilesretrieve — Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
/v1/api/projects/{project-id}/dashboards/{id}/stream-tiles
GET
Eventdefinitionslist — eventdefinitionslist
/v1/api/projects/{project-id}/event-definitions
POST
Eventdefinitionscreate — eventdefinitionscreate
/v1/api/projects/{project-id}/event-definitions
POST
Eventdefinitionsbulkupdatetagscreate — Bulk update tags on multiple objects.
/v1/api/projects/{project-id}/event-definitions/bulk-update-tags
GET
Eventdefinitionsbynameretrieve — Get event definition by exact name
/v1/api/projects/{project-id}/event-definitions/by-name
GET
Eventdefinitionsgolangretrieve — eventdefinitionsgolangretrieve
/v1/api/projects/{project-id}/event-definitions/golang
GET
Eventdefinitionspromotedpropertiesretrieve — Resolve team-configured promoted properties for event definitions.
/v1/api/projects/{project-id}/event-definitions/promoted-properties
GET
Eventdefinitionspythonretrieve — eventdefinitionspythonretrieve
/v1/api/projects/{project-id}/event-definitions/python
GET
Eventdefinitionstypescriptretrieve — eventdefinitionstypescriptretrieve
/v1/api/projects/{project-id}/event-definitions/typescript
GET
Eventdefinitionsretrieve — eventdefinitionsretrieve
/v1/api/projects/{project-id}/event-definitions/{id}
PUT
Eventdefinitionsupdate — eventdefinitionsupdate
/v1/api/projects/{project-id}/event-definitions/{id}
PATCH
Eventdefinitionspartialupdate — eventdefinitionspartialupdate
/v1/api/projects/{project-id}/event-definitions/{id}
DELETE
Eventdefinitionsdestroy — eventdefinitionsdestroy
/v1/api/projects/{project-id}/event-definitions/{id}
GET
Eventdefinitionsmetricsretrieve — eventdefinitionsmetricsretrieve
/v1/api/projects/{project-id}/event-definitions/{id}/metrics
GET
Exportslist — exportslist
/v1/api/projects/{project-id}/exports
POST
Exportscreate — exportscreate
/v1/api/projects/{project-id}/exports
GET
Exportsretrieve — exportsretrieve
/v1/api/projects/{project-id}/exports/{id}
GET
Exportscontentretrieve — exportscontentretrieve
/v1/api/projects/{project-id}/exports/{id}/content
GET
Filesystemlist — filesystemlist
/v1/api/projects/{project-id}/file-system
POST
Filesystemcreate — filesystemcreate
/v1/api/projects/{project-id}/file-system
POST
Filesystemcountbypathcreate — Get count of all files in a folder.
/v1/api/projects/{project-id}/file-system/count-by-path
GET
Filesystemlogviewretrieve — filesystemlogviewretrieve
/v1/api/projects/{project-id}/file-system/log-view
POST
Filesystemlogviewcreate — filesystemlogviewcreate
/v1/api/projects/{project-id}/file-system/log-view
POST
Filesystemundodeletecreate — filesystemundodeletecreate
/v1/api/projects/{project-id}/file-system/undo-delete
GET
Filesystemunfiledretrieve — filesystemunfiledretrieve
/v1/api/projects/{project-id}/file-system/unfiled
GET
Filesystemretrieve — filesystemretrieve
/v1/api/projects/{project-id}/file-system/{id}
PUT
Filesystemupdate — filesystemupdate
/v1/api/projects/{project-id}/file-system/{id}
PATCH
Filesystempartialupdate — filesystempartialupdate
/v1/api/projects/{project-id}/file-system/{id}
DELETE
Filesystemdestroy — filesystemdestroy
/v1/api/projects/{project-id}/file-system/{id}
POST
Filesystemcountcreate — Get count of all files in a folder.
/v1/api/projects/{project-id}/file-system/{id}/count
POST
Filesystemlinkcreate — filesystemlinkcreate
/v1/api/projects/{project-id}/file-system/{id}/link
POST
Filesystemmovecreate — filesystemmovecreate
/v1/api/projects/{project-id}/file-system/{id}/move
GET
Groupslist — List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
/v1/api/projects/{project-id}/groups
POST
Groupscreate — groupscreate
/v1/api/projects/{project-id}/groups
GET
Groupsactivityretrieve — groupsactivityretrieve
/v1/api/projects/{project-id}/groups/activity
POST
Groupsdeletepropertycreate — groupsdeletepropertycreate
/v1/api/projects/{project-id}/groups/delete-property
GET
Groupsfindretrieve — groupsfindretrieve
/v1/api/projects/{project-id}/groups/find
GET
Groupspropertydefinitionsretrieve — groupspropertydefinitionsretrieve
/v1/api/projects/{project-id}/groups/property-definitions
GET
Groupspropertyvaluesretrieve — groupspropertyvaluesretrieve
/v1/api/projects/{project-id}/groups/property-values
GET
Groupsrelatedretrieve — groupsrelatedretrieve
/v1/api/projects/{project-id}/groups/related
POST
Groupsupdatepropertycreate — groupsupdatepropertycreate
/v1/api/projects/{project-id}/groups/update-property
GET
Insightssharinglist — insightssharinglist
/v1/api/projects/{project-id}/insights/{insight-id}/sharing
POST
Insightssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/projects/{project-id}/insights/{insight-id}/sharing/passwords
DELETE
Insightssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/projects/{project-id}/insights/{insight-id}/sharing/passwords/{password-id}
POST
Insightssharingrefreshcreate — insightssharingrefreshcreate
/v1/api/projects/{project-id}/insights/{insight-id}/sharing/refresh
GET
Projectsecretapikeyslist — projectsecretapikeyslist
/v1/api/projects/{project-id}/project-secret-api-keys
POST
Projectsecretapikeyscreate — projectsecretapikeyscreate
/v1/api/projects/{project-id}/project-secret-api-keys
GET
Projectsecretapikeysretrieve — projectsecretapikeysretrieve
/v1/api/projects/{project-id}/project-secret-api-keys/{id}
PUT
Projectsecretapikeysupdate — projectsecretapikeysupdate
/v1/api/projects/{project-id}/project-secret-api-keys/{id}
PATCH
Projectsecretapikeyspartialupdate — projectsecretapikeyspartialupdate
/v1/api/projects/{project-id}/project-secret-api-keys/{id}
DELETE
Projectsecretapikeysdestroy — projectsecretapikeysdestroy
/v1/api/projects/{project-id}/project-secret-api-keys/{id}
POST
Projectsecretapikeysrollcreate — Roll a project secret API key
/v1/api/projects/{project-id}/project-secret-api-keys/{id}/roll
GET
Propertydefinitionslist — propertydefinitionslist
/v1/api/projects/{project-id}/property-definitions
POST
Propertydefinitionsbulkupdatetagscreate — Bulk update tags on multiple objects.
/v1/api/projects/{project-id}/property-definitions/bulk-update-tags
GET
Propertydefinitionsseentogetherretrieve — Allows a caller to provide a list of event names and a single property name
/v1/api/projects/{project-id}/property-definitions/seen-together
GET
Propertydefinitionsretrieve — propertydefinitionsretrieve
/v1/api/projects/{project-id}/property-definitions/{id}
PUT
Propertydefinitionsupdate — propertydefinitionsupdate
/v1/api/projects/{project-id}/property-definitions/{id}
PATCH
Propertydefinitionspartialupdate — propertydefinitionspartialupdate
/v1/api/projects/{project-id}/property-definitions/{id}
DELETE
Propertydefinitionsdestroy — propertydefinitionsdestroy
/v1/api/projects/{project-id}/property-definitions/{id}
GET
Sessionrecordingssharinglist — sessionrecordingssharinglist
/v1/api/projects/{project-id}/session-recordings/{recording-id}/sharing
POST
Sessionrecordingssharingpasswordscreate — Create a new password for the sharing configuration.
/v1/api/projects/{project-id}/session-recordings/{recording-id}/sharing/passwords
DELETE
Sessionrecordingssharingpasswordsdestroy — Delete a password from the sharing configuration.
/v1/api/projects/{project-id}/session-recordings/{recording-id}/sharing/passwords/{password-id}
POST
Sessionrecordingssharingrefreshcreate — sessionrecordingssharingrefreshcreate
/v1/api/projects/{project-id}/session-recordings/{recording-id}/sharing/refresh
GET
Subscriptionslist — subscriptionslist
/v1/api/projects/{project-id}/subscriptions
POST
Subscriptionscreate — subscriptionscreate
/v1/api/projects/{project-id}/subscriptions
GET
Subscriptionsretrieve — subscriptionsretrieve
/v1/api/projects/{project-id}/subscriptions/{id}
PUT
Subscriptionsupdate — subscriptionsupdate
/v1/api/projects/{project-id}/subscriptions/{id}
PATCH
Subscriptionspartialupdate — subscriptionspartialupdate
/v1/api/projects/{project-id}/subscriptions/{id}
DELETE
Subscriptionsdestroy — Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
/v1/api/projects/{project-id}/subscriptions/{id}
POST
Subscriptionstestdeliverycreate — subscriptionstestdeliverycreate
/v1/api/projects/{project-id}/subscriptions/{id}/test-delivery
GET
Userslist — userslist
/v1/api/users
PATCH
Userscancelemailchangerequestpartialupdate — userscancelemailchangerequestpartialupdate
/v1/api/users/cancel-email-change-request
POST
Usersrequestemailverificationcreate — usersrequestemailverificationcreate
/v1/api/users/request-email-verification
POST
Usersverifyemailcreate — usersverifyemailcreate
/v1/api/users/verify-email
GET
Usersretrieve — Retrieve a user's profile and settings. Pass `@me` as the UUID to fetch the authenticated user; non-staff callers may only access their own account.
/v1/api/users/{uuid}
PUT
Usersupdate — Replace the authenticated user's profile and settings. Pass `@me` as the UUID to update the authenticated user. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
/v1/api/users/{uuid}
PATCH
Userspartialupdate — Update one or more of the authenticated user's profile fields or settings.
/v1/api/users/{uuid}
DELETE
Usersdestroy — usersdestroy
/v1/api/users/{uuid}
GET
Usersgithubloginretrieve — usersgithubloginretrieve
/v1/api/users/{uuid}/github-login
GET
Usershedgehogconfigretrieve — usershedgehogconfigretrieve
/v1/api/users/{uuid}/hedgehog-config
PATCH
Usershedgehogconfigpartialupdate — usershedgehogconfigpartialupdate
/v1/api/users/{uuid}/hedgehog-config
GET
Usersintegrationslist — List personal GitHub integrations
/v1/api/users/{uuid}/integrations
POST
Usersintegrationsgithubstartcreate — Start GitHub personal integration linking
/v1/api/users/{uuid}/integrations/github/start
DELETE
Usersintegrationsgithubdestroy — Disconnect a personal GitHub integration
/v1/api/users/{uuid}/integrations/github/{installation-id}
GET
Usersintegrationsgithubbranchesretrieve — List branches for a personal GitHub installation repository
/v1/api/users/{uuid}/integrations/github/{installation-id}/branches
GET
Usersintegrationsgithubreposretrieve — List repositories for a personal GitHub installation
/v1/api/users/{uuid}/integrations/github/{installation-id}/repos
POST
Usersintegrationsgithubreposrefreshcreate — Refresh repositories for a personal GitHub installation
/v1/api/users/{uuid}/integrations/github/{installation-id}/repos/refresh
POST
Usersscenepersonalisationcreate — usersscenepersonalisationcreate
/v1/api/users/{uuid}/scene-personalisation
GET
Usersstart2fasetupretrieve — usersstart2fasetupretrieve
/v1/api/users/{uuid}/start-2fa-setup
POST
Userstwofactorbackupcodescreate — Generate new backup codes, invalidating any existing ones
/v1/api/users/{uuid}/two-factor-backup-codes
POST
Userstwofactordisablecreate — Disable 2FA and remove all related devices
/v1/api/users/{uuid}/two-factor-disable
GET
Userstwofactorstartsetupretrieve — userstwofactorstartsetupretrieve
/v1/api/users/{uuid}/two-factor-start-setup
GET
Userstwofactorstatusretrieve — Get current 2FA status including backup codes if enabled
/v1/api/users/{uuid}/two-factor-status
POST
Userstwofactorvalidatecreate — userstwofactorvalidatecreate
/v1/api/users/{uuid}/two-factor-validate
POST
Usersvalidate2facreate — usersvalidate2facreate
/v1/api/users/{uuid}/validate-2fa

MCP Tools

environmentsdashboardslist

environmentsdashboardslist

read-only idempotent
environmentsdashboardscreate

environmentsdashboardscreate

bulk-update-tags-multiple-objects

Bulk update tags on multiple objects.

environmentsdashboardscreatefromtemplatejsoncreate

environmentsdashboardscreatefromtemplatejsoncreate

creates-unlisted-dashboard-template-tag

Creates an unlisted dashboard from template by tag.

environmentsdashboardssharinglist

environmentsdashboardssharinglist

read-only idempotent
create-new-password-sharing-configuration

Create a new password for the sharing configuration.

delete-password-sharing-configuration

Delete a password from the sharing configuration.

idempotent
environmentsdashboardssharingrefreshcreate

environmentsdashboardssharingrefreshcreate

environmentsdashboardsretrieve

environmentsdashboardsretrieve

read-only idempotent
environmentsdashboardsupdate

environmentsdashboardsupdate

idempotent
environmentsdashboardspartialupdate

environmentsdashboardspartialupdate

idempotent
hard-delete-this-model-is

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
generate-ai-analysis-comparing-before

Generate AI analysis comparing before/after dashboard refresh.

copy-existing-dashboard-tile-another

Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).

environmentsdashboardsmovetilepartialupdate

environmentsdashboardsmovetilepartialupdate

idempotent
environmentsdashboardsreordertilescreate

environmentsdashboardsreordertilescreate

run-all-insights-dashboard-and

Run all insights on a dashboard and return their results.

read-only idempotent
snapshot-current-dashboard-state-cache

Snapshot the current dashboard state (from cache) for AI analysis.

stream-dashboard-metadata-and-tiles

Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.

read-only idempotent
environmentsexportslist

environmentsexportslist

read-only idempotent
environmentsexportscreate

environmentsexportscreate

environmentsexportsretrieve

environmentsexportsretrieve

read-only idempotent
environmentsexportscontentretrieve

environmentsexportscontentretrieve

read-only idempotent
environmentsfilesystemlist

environmentsfilesystemlist

read-only idempotent
environmentsfilesystemcreate

environmentsfilesystemcreate

get-count-all-files-folder

Get count of all files in a folder.

read-only
environmentsfilesystemlogviewretrieve

environmentsfilesystemlogviewretrieve

read-only idempotent
environmentsfilesystemlogviewcreate

environmentsfilesystemlogviewcreate

environmentsfilesystemundodeletecreate

environmentsfilesystemundodeletecreate

environmentsfilesystemunfiledretrieve

environmentsfilesystemunfiledretrieve

read-only idempotent
environmentsfilesystemretrieve

environmentsfilesystemretrieve

read-only idempotent
environmentsfilesystemupdate

environmentsfilesystemupdate

idempotent
environmentsfilesystempartialupdate

environmentsfilesystempartialupdate

idempotent
environmentsfilesystemdestroy

environmentsfilesystemdestroy

idempotent
get-count-all-files-folder-2

Get count of all files in a folder.

read-only
environmentsfilesystemlinkcreate

environmentsfilesystemlinkcreate

environmentsfilesystemmovecreate

environmentsfilesystemmovecreate

list-all-groups-specific-group

List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/

read-only idempotent
environmentsgroupscreate

environmentsgroupscreate

environmentsgroupsactivityretrieve

environmentsgroupsactivityretrieve

read-only idempotent
environmentsgroupsdeletepropertycreate

environmentsgroupsdeletepropertycreate

environmentsgroupsfindretrieve

environmentsgroupsfindretrieve

read-only idempotent
environmentsgroupspropertydefinitionsretrieve

environmentsgroupspropertydefinitionsretrieve

read-only idempotent
environmentsgroupspropertyvaluesretrieve

environmentsgroupspropertyvaluesretrieve

read-only idempotent
environmentsgroupsrelatedretrieve

environmentsgroupsrelatedretrieve

read-only idempotent
environmentsgroupsupdatepropertycreate

environmentsgroupsupdatepropertycreate

environmentsinsightssharinglist

environmentsinsightssharinglist

read-only idempotent
create-new-password-sharing-configuration-2

Create a new password for the sharing configuration.

delete-password-sharing-configuration-2

Delete a password from the sharing configuration.

idempotent
environmentsinsightssharingrefreshcreate

environmentsinsightssharingrefreshcreate

environmentsprojectsecretapikeyslist

environmentsprojectsecretapikeyslist

read-only idempotent
environmentsprojectsecretapikeyscreate

environmentsprojectsecretapikeyscreate

environmentsprojectsecretapikeysretrieve

environmentsprojectsecretapikeysretrieve

read-only idempotent
environmentsprojectsecretapikeysupdate

environmentsprojectsecretapikeysupdate

idempotent
environmentsprojectsecretapikeyspartialupdate

environmentsprojectsecretapikeyspartialupdate

idempotent
environmentsprojectsecretapikeysdestroy

environmentsprojectsecretapikeysdestroy

idempotent
roll-project-secret-api-key

Roll a project secret API key

environmentssessionrecordingssharinglist

environmentssessionrecordingssharinglist

read-only idempotent
create-new-password-sharing-configuration-3

Create a new password for the sharing configuration.

delete-password-sharing-configuration-3

Delete a password from the sharing configuration.

idempotent
environmentssessionrecordingssharingrefreshcreate

environmentssessionrecordingssharingrefreshcreate

environmentssubscriptionslist

environmentssubscriptionslist

read-only idempotent
environmentssubscriptionscreate

environmentssubscriptionscreate

environmentssubscriptionsretrieve

environmentssubscriptionsretrieve

read-only idempotent
environmentssubscriptionsupdate

environmentssubscriptionsupdate

idempotent
environmentssubscriptionspartialupdate

environmentssubscriptionspartialupdate

idempotent
hard-delete-this-model-is-2

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
environmentssubscriptionstestdeliverycreate

environmentssubscriptionstestdeliverycreate

list-subscription-deliveries

List subscription deliveries

read-only idempotent
retrieve-subscription-delivery

Retrieve subscription delivery

read-only idempotent
domainslist

domainslist

read-only idempotent
domainscreate

domainscreate

domainsretrieve

domainsretrieve

read-only idempotent
domainsupdate

domainsupdate

idempotent
domainspartialupdate

domainspartialupdate

idempotent
domainsdestroy

domainsdestroy

idempotent
domainsscimlogsretrieve

domainsscimlogsretrieve

read-only idempotent
regenerate-scim-bearer-token

Regenerate SCIM bearer token.

domainsverifycreate

domainsverifycreate

inviteslist

inviteslist

read-only idempotent
invitescreate

invitescreate

invitesbulkcreate

invitesbulkcreate

invitesdestroy

invitesdestroy

idempotent
legaldocumentslist

legaldocumentslist

read-only idempotent
legaldocumentscreate

legaldocumentscreate

legaldocumentsretrieve

legaldocumentsretrieve

read-only idempotent
short-lived-redirect-signed-pdf

Short-lived redirect to the signed PDF in object storage. 404 while the

read-only idempotent
memberslist

memberslist

read-only idempotent
membersupdate

membersupdate

idempotent
memberspartialupdate

memberspartialupdate

idempotent
membersdestroy

membersdestroy

idempotent
membersscopedapikeysretrieve

membersscopedapikeysretrieve

read-only idempotent
viewset-listing-oauth-applications-organization

ViewSet for listing OAuth applications at the organization level (read-only).

read-only idempotent
projects-current-organization

Projects for the current organization.

read-only idempotent
projects-current-organization-2

Projects for the current organization.

retrieve-project-and-its-settings

Retrieve a project and its settings.

read-only idempotent
replace-project-and-its-settings

Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.

idempotent
update-one-more-project-s-settings

Update one or more of a project's settings. Only the fields included in the request body are changed.

idempotent
projects-current-organization-3

Projects for the current organization.

idempotent
projects-current-organization-4

Projects for the current organization.

read-only idempotent
projects-current-organization-5

Projects for the current organization.

idempotent
projects-current-organization-6

Projects for the current organization.

projects-current-organization-7

Projects for the current organization.

idempotent
projects-current-organization-8

Projects for the current organization.

idempotent
projects-current-organization-9

Projects for the current organization.

projects-current-organization-10

Projects for the current organization.

read-only idempotent
projects-current-organization-11

Projects for the current organization.

idempotent
projects-current-organization-12

Projects for the current organization.

idempotent
roleslist

roleslist

read-only idempotent
rolescreate

rolescreate

rolesretrieve

rolesretrieve

read-only idempotent
rolesupdate

rolesupdate

idempotent
rolespartialupdate

rolespartialupdate

idempotent
rolesdestroy

rolesdestroy

idempotent
create-read-update-and-delete

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

read-only idempotent
create-read-update-and-delete-2

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

create-read-update-and-delete-3

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

read-only idempotent
create-read-update-and-delete-4

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

idempotent
create-read-update-and-delete-5

Create, Read, Update and Delete annotations. [See docs](https://posthog.com/docs/data/annotations) for more information on annotations.

idempotent
hard-delete-this-model-is-3

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
cohortslist

cohortslist

read-only idempotent
cohortscreate

cohortscreate

cohortsallactivityretrieve

cohortsallactivityretrieve

read-only idempotent
cohortsretrieve

cohortsretrieve

read-only idempotent
cohortsupdate

cohortsupdate

idempotent
cohortspartialupdate

cohortspartialupdate

idempotent
hard-delete-this-model-is-4

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
cohortsactivityretrieve

cohortsactivityretrieve

read-only idempotent
cohortsaddpersonstostaticcohortpartialupdate

cohortsaddpersonstostaticcohortpartialupdate

idempotent
cohortscalculationhistoryretrieve

cohortscalculationhistoryretrieve

read-only idempotent
cohortspersonsretrieve

cohortspersonsretrieve

read-only idempotent
cohortsremovepersonfromstaticcohortpartialupdate

cohortsremovepersonfromstaticcohortpartialupdate

idempotent
commentslist

commentslist

read-only idempotent
commentscreate

commentscreate

commentscountretrieve

commentscountretrieve

read-only idempotent
commentsretrieve

commentsretrieve

read-only idempotent
commentsupdate

commentsupdate

idempotent
commentspartialupdate

commentspartialupdate

idempotent
hard-delete-this-model-is-5

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
commentsthreadretrieve

commentsthreadretrieve

read-only idempotent
dashboardtemplateslist

dashboardtemplateslist

read-only idempotent
dashboardtemplatescreate

dashboardtemplatescreate

copy-team-template-this-project

Copy a team template to this project

dashboardtemplatesjsonschemaretrieve

dashboardtemplatesjsonschemaretrieve

read-only idempotent
dashboardtemplatesretrieve

dashboardtemplatesretrieve

read-only idempotent
dashboardtemplatesupdate

dashboardtemplatesupdate

idempotent
dashboardtemplatespartialupdate

dashboardtemplatespartialupdate

idempotent
hard-delete-this-model-is-6

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
dashboardslist

dashboardslist

read-only idempotent
dashboardscreate

dashboardscreate

bulk-update-tags-multiple-objects-2

Bulk update tags on multiple objects.

dashboardscreatefromtemplatejsoncreate

dashboardscreatefromtemplatejsoncreate

creates-unlisted-dashboard-template-tag-2

Creates an unlisted dashboard from template by tag.

dashboardssharinglist

dashboardssharinglist

read-only idempotent
create-new-password-sharing-configuration-4

Create a new password for the sharing configuration.

delete-password-sharing-configuration-4

Delete a password from the sharing configuration.

idempotent
dashboardssharingrefreshcreate

dashboardssharingrefreshcreate

dashboardsretrieve

dashboardsretrieve

read-only idempotent
dashboardsupdate

dashboardsupdate

idempotent
dashboardspartialupdate

dashboardspartialupdate

idempotent
hard-delete-this-model-is-7

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
generate-ai-analysis-comparing-before-2

Generate AI analysis comparing before/after dashboard refresh.

copy-existing-dashboard-tile-another-2

Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).

dashboardsmovetilepartialupdate

dashboardsmovetilepartialupdate

idempotent
dashboardsreordertilescreate

dashboardsreordertilescreate

run-all-insights-dashboard-and-2

Run all insights on a dashboard and return their results.

read-only idempotent
snapshot-current-dashboard-state-cache-2

Snapshot the current dashboard state (from cache) for AI analysis.

stream-dashboard-metadata-and-tiles-2

Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.

read-only idempotent
eventdefinitionslist

eventdefinitionslist

read-only idempotent
eventdefinitionscreate

eventdefinitionscreate

bulk-update-tags-multiple-objects-3

Bulk update tags on multiple objects.

get-event-definition-exact-name

Get event definition by exact name

read-only idempotent
eventdefinitionsgolangretrieve

eventdefinitionsgolangretrieve

read-only idempotent
resolve-team-configured-promoted-properties

Resolve team-configured promoted properties for event definitions.

read-only idempotent
eventdefinitionspythonretrieve

eventdefinitionspythonretrieve

read-only idempotent
eventdefinitionstypescriptretrieve

eventdefinitionstypescriptretrieve

read-only idempotent
eventdefinitionsretrieve

eventdefinitionsretrieve

read-only idempotent
eventdefinitionsupdate

eventdefinitionsupdate

idempotent
eventdefinitionspartialupdate

eventdefinitionspartialupdate

idempotent
eventdefinitionsdestroy

eventdefinitionsdestroy

idempotent
eventdefinitionsmetricsretrieve

eventdefinitionsmetricsretrieve

read-only idempotent
exportslist

exportslist

read-only idempotent
exportscreate

exportscreate

exportsretrieve

exportsretrieve

read-only idempotent
exportscontentretrieve

exportscontentretrieve

read-only idempotent
filesystemlist

filesystemlist

read-only idempotent
filesystemcreate

filesystemcreate

get-count-all-files-folder-3

Get count of all files in a folder.

read-only
filesystemlogviewretrieve

filesystemlogviewretrieve

read-only idempotent
filesystemlogviewcreate

filesystemlogviewcreate

filesystemundodeletecreate

filesystemundodeletecreate

filesystemunfiledretrieve

filesystemunfiledretrieve

read-only idempotent
filesystemretrieve

filesystemretrieve

read-only idempotent
filesystemupdate

filesystemupdate

idempotent
filesystempartialupdate

filesystempartialupdate

idempotent
filesystemdestroy

filesystemdestroy

idempotent
get-count-all-files-folder-4

Get count of all files in a folder.

read-only
filesystemlinkcreate

filesystemlinkcreate

filesystemmovecreate

filesystemmovecreate

list-all-groups-specific-group-2

List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/

read-only idempotent
groupscreate

groupscreate

groupsactivityretrieve

groupsactivityretrieve

read-only idempotent
groupsdeletepropertycreate

groupsdeletepropertycreate

groupsfindretrieve

groupsfindretrieve

read-only idempotent
groupspropertydefinitionsretrieve

groupspropertydefinitionsretrieve

read-only idempotent
groupspropertyvaluesretrieve

groupspropertyvaluesretrieve

read-only idempotent
groupsrelatedretrieve

groupsrelatedretrieve

read-only idempotent
groupsupdatepropertycreate

groupsupdatepropertycreate

insightssharinglist

insightssharinglist

read-only idempotent
create-new-password-sharing-configuration-5

Create a new password for the sharing configuration.

delete-password-sharing-configuration-5

Delete a password from the sharing configuration.

idempotent
insightssharingrefreshcreate

insightssharingrefreshcreate

projectsecretapikeyslist

projectsecretapikeyslist

read-only idempotent
projectsecretapikeyscreate

projectsecretapikeyscreate

projectsecretapikeysretrieve

projectsecretapikeysretrieve

read-only idempotent
projectsecretapikeysupdate

projectsecretapikeysupdate

idempotent
projectsecretapikeyspartialupdate

projectsecretapikeyspartialupdate

idempotent
projectsecretapikeysdestroy

projectsecretapikeysdestroy

idempotent
roll-project-secret-api-key-2

Roll a project secret API key

propertydefinitionslist

propertydefinitionslist

read-only idempotent
bulk-update-tags-multiple-objects-4

Bulk update tags on multiple objects.

allows-caller-provide-list-event

Allows a caller to provide a list of event names and a single property name

read-only idempotent
propertydefinitionsretrieve

propertydefinitionsretrieve

read-only idempotent
propertydefinitionsupdate

propertydefinitionsupdate

idempotent
propertydefinitionspartialupdate

propertydefinitionspartialupdate

idempotent
propertydefinitionsdestroy

propertydefinitionsdestroy

idempotent
sessionrecordingssharinglist

sessionrecordingssharinglist

read-only idempotent
create-new-password-sharing-configuration-6

Create a new password for the sharing configuration.

delete-password-sharing-configuration-6

Delete a password from the sharing configuration.

idempotent
sessionrecordingssharingrefreshcreate

sessionrecordingssharingrefreshcreate

subscriptionslist

subscriptionslist

read-only idempotent
subscriptionscreate

subscriptionscreate

subscriptionsretrieve

subscriptionsretrieve

read-only idempotent
subscriptionsupdate

subscriptionsupdate

idempotent
subscriptionspartialupdate

subscriptionspartialupdate

idempotent
hard-delete-this-model-is-8

Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true

idempotent
subscriptionstestdeliverycreate

subscriptionstestdeliverycreate

userslist

userslist

read-only idempotent
userscancelemailchangerequestpartialupdate

userscancelemailchangerequestpartialupdate

idempotent
usersrequestemailverificationcreate

usersrequestemailverificationcreate

usersverifyemailcreate

usersverifyemailcreate

retrieve-user-s-profile-and-settings

Retrieve a user's profile and settings. Pass `@me` as the UUID to fetch the authenticated user; non-staff callers may only access their own account.

read-only idempotent
replace-authenticated-user-s-profile-and

Replace the authenticated user's profile and settings. Pass `@me` as the UUID to update the authenticated user. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.

idempotent
update-one-more-authenticated-user-s

Update one or more of the authenticated user's profile fields or settings.

idempotent
usersdestroy

usersdestroy

idempotent
usersgithubloginretrieve

usersgithubloginretrieve

read-only idempotent
usershedgehogconfigretrieve

usershedgehogconfigretrieve

read-only idempotent
usershedgehogconfigpartialupdate

usershedgehogconfigpartialupdate

idempotent
list-personal-github-integrations

List personal GitHub integrations

read-only idempotent
start-github-personal-integration-linking

Start GitHub personal integration linking

disconnect-personal-github-integration

Disconnect a personal GitHub integration

idempotent
list-branches-personal-github-installation

List branches for a personal GitHub installation repository

read-only idempotent
list-repositories-personal-github-installation

List repositories for a personal GitHub installation

read-only idempotent
refresh-repositories-personal-github-installation

Refresh repositories for a personal GitHub installation

usersscenepersonalisationcreate

usersscenepersonalisationcreate

usersstart2fasetupretrieve

usersstart2fasetupretrieve

read-only idempotent
generate-new-backup-codes-invalidating

Generate new backup codes, invalidating any existing ones

disable-2fa-and-remove-all

Disable 2FA and remove all related devices

userstwofactorstartsetupretrieve

userstwofactorstartsetupretrieve

read-only idempotent
get-current-2fa-status-including

Get current 2FA status including backup codes if enabled

read-only idempotent
userstwofactorvalidatecreate

userstwofactorvalidatecreate

read-only
usersvalidate2facreate

usersvalidate2facreate

read-only

Capability Spec

posthog-core.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PostHog API — core
  description: 'PostHog API — core. 263 operations. Lead operation: List subscription deliveries. Self-contained Naftiko capability
    covering one Posthog business surface.'
  tags:
  - Posthog
  - core
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POSTHOG_API_KEY: POSTHOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: posthog-core
    baseUri: ''
    description: PostHog API — core business capability. Self-contained, no shared references.
    resources:
    - name: api-environments-environment_id-dashboards
      path: /api/environments/{environment_id}/dashboards/
      operations:
      - name: environmentsdashboardslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
      - name: environmentsdashboardscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-bulk_update_tags
      path: /api/environments/{environment_id}/dashboards/bulk_update_tags/
      operations:
      - name: environmentsdashboardsbulkupdatetagscreate
        method: POST
        description: Bulk update tags on multiple objects.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-dashboards-create_from_template_json
      path: /api/environments/{environment_id}/dashboards/create_from_template_json/
      operations:
      - name: environmentsdashboardscreatefromtemplatejsoncreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-create_unlisted_dashboard
      path: /api/environments/{environment_id}/dashboards/create_unlisted_dashboard/
      operations:
      - name: environmentsdashboardscreateunlisteddashboardcreate
        method: POST
        description: Creates an unlisted dashboard from template by tag.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-dashboard_id-sharing
      path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/
      operations:
      - name: environmentsdashboardssharinglist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_id
          in: path
          type: integer
          required: true
    - name: api-environments-environment_id-dashboards-dashboard_id-sharing-passwords
      path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/passwords/
      operations:
      - name: environmentsdashboardssharingpasswordscreate
        method: POST
        description: Create a new password for the sharing configuration.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-dashboard_id-sharing-passwords-passwo
      path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/passwords/{password_id}/
      operations:
      - name: environmentsdashboardssharingpasswordsdestroy
        method: DELETE
        description: Delete a password from the sharing configuration.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_id
          in: path
          type: integer
          required: true
        - name: password_id
          in: path
          type: string
          required: true
    - name: api-environments-environment_id-dashboards-dashboard_id-sharing-refresh
      path: /api/environments/{environment_id}/dashboards/{dashboard_id}/sharing/refresh/
      operations:
      - name: environmentsdashboardssharingrefreshcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: dashboard_id
          in: path
          type: integer
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-id
      path: /api/environments/{environment_id}/dashboards/{id}/
      operations:
      - name: environmentsdashboardsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filters_override
          in: query
          type: string
          description: JSON object to override dashboard filters for this request only (not persisted). Top-level keys replace;
            nested values are not deep-merged — pass the complete v
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: variables_override
          in: query
          type: string
          description: 'JSON object to override dashboard variables for this request only (not persisted). Format: {"<variable_id>":
            {"code_name": "<code_name>", "variableId": "<variab'
      - name: environmentsdashboardsupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsdashboardspartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsdashboardsdestroy
        method: DELETE
        description: Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
    - name: api-environments-environment_id-dashboards-id-analyze_refresh_result
      path: /api/environments/{environment_id}/dashboards/{id}/analyze_refresh_result/
      operations:
      - name: environmentsdashboardsanalyzerefreshresultcreate
        method: POST
        description: Generate AI analysis comparing before/after dashboard refresh.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-id-copy_tile
      path: /api/environments/{environment_id}/dashboards/{id}/copy_tile/
      operations:
      - name: environmentsdashboardscopytilecreate
        method: POST
        description: Copy an existing dashboard tile to another dashboard (insight or text card; new tile row).
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-dashboards-id-move_tile
      path: /api/environments/{environment_id}/dashboards/{id}/move_tile/
      operations:
      - name: environmentsdashboardsmovetilepartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-id-reorder_tiles
      path: /api/environments/{environment_id}/dashboards/{id}/reorder_tiles/
      operations:
      - name: environmentsdashboardsreordertilescreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-dashboards-id-run_insights
      path: /api/environments/{environment_id}/dashboards/{id}/run_insights/
      operations:
      - name: environmentsdashboardsruninsightsretrieve
        method: GET
        description: Run all insights on a dashboard and return their results.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filters_override
          in: query
          type: string
          description: JSON object to override dashboard filters for this request only (not persisted). Top-level keys replace;
            nested values are not deep-merged — pass the complete v
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: output_format
          in: query
          type: string
          description: '''optimized'' (default) returns LLM-friendly formatted text per insight. ''json'' returns the raw
            query result objects.'
        - name: refresh
          in: query
          type: string
          description: Cache behavior. 'force_cache' (default) serves from cache even if stale. 'blocking' uses cache if fresh,
            otherwise recalculates. 'force_blocking' always recalcu
        - name: variables_override
          in: query
          type: string
          description: 'JSON object to override dashboard variables for this request only (not persisted). Format: {"<variable_id>":
            {"code_name": "<code_name>", "variableId": "<variab'
    - name: api-environments-environment_id-dashboards-id-snapshot
      path: /api/environments/{environment_id}/dashboards/{id}/snapshot/
      operations:
      - name: environmentsdashboardssnapshotcreate
        method: POST
        description: Snapshot the current dashboard state (from cache) for AI analysis.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: api-environments-environment_id-dashboards-id-stream_tiles
      path: /api/environments/{environment_id}/dashboards/{id}/stream_tiles/
      operations:
      - name: environmentsdashboardsstreamtilesretrieve
        method: GET
        description: Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they
          are rendered.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filters_override
          in: query
          type: string
          description: JSON object to override dashboard filters for this request only (not persisted). Top-level keys replace;
            nested values are not deep-merged — pass the complete v
        - name: format
          in: query
          type: string
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this dashboard.
          required: true
        - name: layoutSize
          in: query
          type: string
          description: Layout size for tile positioning. 'sm' (default) for standard, 'xs' for mobile. The snake_case alias
            `layout_size` is also accepted for backward compatibility.
        - name: variables_override
          in: query
          type: string
          description: 'JSON object to override dashboard variables for this request only (not persisted). Format: {"<variable_id>":
            {"code_name": "<code_name>", "variableId": "<variab'
    - name: api-environments-environment_id-exports
      path: /api/environments/{environment_id}/exports/
      operations:
      - name: environmentsexportslist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
      - name: environmentsexportscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-exports-id
      path: /api/environments/{environment_id}/exports/{id}/
      operations:
      - name: environmentsexportsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this exported asset.
          required: true
    - name: api-environments-environment_id-exports-id-content
      path: /api/environments/{environment_id}/exports/{id}/content/
      operations:
      - name: environmentsexportscontentretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: integer
          description: A unique integer value identifying this exported asset.
          required: true
    - name: api-environments-environment_id-file_system
      path: /api/environments/{environment_id}/file_system/
      operations:
      - name: environmentsfilesystemlist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Number of results to return per page.
        - name: offset
          in: query
          type: integer
          description: The initial index from which to return the results.
        - name: search
          in: query
          type: string
          description: A search term.
      - name: environmentsfilesystemcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-count_by_path
      path: /api/environments/{environment_id}/file_system/count_by_path/
      operations:
      - name: environmentsfilesystemcountbypathcreate
        method: POST
        description: Get count of all files in a folder.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-log_view
      path: /api/environments/{environment_id}/file_system/log_view/
      operations:
      - name: environmentsfilesystemlogviewretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: environmentsfilesystemlogviewcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-undo_delete
      path: /api/environments/{environment_id}/file_system/undo_delete/
      operations:
      - name: environmentsfilesystemundodeletecreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-unfiled
      path: /api/environments/{environment_id}/file_system/unfiled/
      operations:
      - name: environmentsfilesystemunfiledretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-environments-environment_id-file_system-id
      path: /api/environments/{environment_id}/file_system/{id}/
      operations:
      - name: environmentsfilesystemretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
      - name: environmentsfilesystemupdate
        method: PUT
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: environmentsfilesystempartialupdate
        method: PATCH
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: environmentsfilesystemdestroy
        method: DELETE
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
    - name: api-environments-environment_id-file_system-id-count
      path: /api/environments/{environment_id}/file_system/{id}/count/
      operations:
      - name: environmentsfilesystemcountcreate
        method: POST
        description: Get count of all files in a folder.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-id-link
      path: /api/environments/{environment_id}/file_system/{id}/link/
      operations:
      - name: environmentsfilesystemlinkcreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-file_system-id-move
      path: /api/environments/{environment_id}/file_system/{id}/move/
      operations:
      - name: environmentsfilesystemmovecreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: A UUID string identifying this file system.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-groups
      path: /api/environments/{environment_id}/groups/
      operations:
      - name: environmentsgroupslist
        method: GET
        description: List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list
          of valid group types, call /api/:project_id/groups_types/
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cursor
          in: query
          type: string
          description: The pagination cursor value.
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to list
          required: true
        - name: search
          in: query
          type: string
          description: Search the group name
          required: true
      - name: environmentsgroupscreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-groups-activity
      path: /api/environments/{environment_id}/groups/activity/
      operations:
      - name: environmentsgroupsactivityretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to find
          required: true
        - name: id
          in: query
          type: string
          description: Specify the id of the user to find groups for
          required: true
    - name: api-environments-environment_id-groups-delete_property
      path: /api/environments/{environment_id}/groups/delete_property/
      operations:
      - name: environmentsgroupsdeletepropertycreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_key
          in: query
          type: string
          description: Specify the key of the group to find
          required: true
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to find
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-groups-find
      path: /api/environments/{environment_id}/groups/find/
      operations:
      - name: environmentsgroupsfindretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_key
          in: query
          type: string
          description: Specify the key of the group to find
          required: true
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to find
          required: true
    - name: api-environments-environment_id-groups-property_definitions
      path: /api/environments/{environment_id}/groups/property_definitions/
      operations:
      - name: environmentsgroupspropertydefinitionsretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-environments-environment_id-groups-property_values
      path: /api/environments/{environment_id}/groups/property_values/
      operations:
      - name: environmentsgroupspropertyvaluesretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-environments-environment_id-groups-related
      path: /api/environments/{environment_id}/groups/related/
      operations:
      - name: environmentsgroupsrelatedretrieve
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to find
          required: true
        - name: id
          in: query
          type: string
          description: Specify the id of the user to find groups for
          required: true
    - name: api-environments-environment_id-groups-update_property
      path: /api/environments/{environment_id}/groups/update_property/
      operations:
      - name: environmentsgroupsupdatepropertycreate
        method: POST
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: group_key
          in: query
          type: string
          description: Specify the key of the group to find
          required: true
        - name: group_type_index
          in: query
          type: integer
          description: Specify the group type to find
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-environments-environment_id-insights-insight_id-sharing
      path: /api/environments/{environment_id}/insights/{insight_id}/sharing/
      operations:
      - name: environmentsinsightssharinglist
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: insight_id
          in: path
          type: integer
          required: true
    - name: api-environments-environment_id-insights-insight_id-sharing-passwords
      path: /api/environments/{environment_id}/insights/{insight_id}/sharing/passwords/
      operations:
      - name: environmentsinsightssharingpasswordscreate
        method: POST
        description: Create a new password for the sharing configuration.
        outputRawFormat: json
        outputParameters:
        - name: res

# --- truncated at 32 KB (378 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/posthog/refs/heads/main/capabilities/posthog-core.yaml