provider comments GET /api/projects/{project_id}/comments/
@utdk/posthog /api/projects/{project_id}/comments/
comments_list
completed query
When kind=task, restrict to open (incomplete) or completed tasks. Ignored when kind is not 'task'. Defaults to 'any' (no filter). * `any` - any * `open` - open * `completed` - completed
enum: any, open, completed
cursor query
The pagination cursor value.
string
item_id query
Filter by the ID of the resource being commented on.
string
kind query
Filter by comment kind. 'task' returns only items intentionally created as actionable. 'comment' excludes tasks. Defaults to 'any' (no filter). * `any` - any * `comment` - comment * `task` - task
enum: any, comment, task
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
scope query
Filter by resource type (e.g. Dashboard, FeatureFlag, Insight, Replay).
string
search query
Full-text search within comment content.
string
source_comment query
Filter replies to a specific parent comment.
string

Try it

Authentication
Configure credentials for PostHog API
commentsList
GET/api/projects/{project_id}/comments/

Parameters

required

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

When kind=task, restrict to open (incomplete) or completed tasks. Ignored when kind is not 'task'. Defaults to 'any' (no filter). * `any` - any * `open` - open * `completed` - completed

The pagination cursor value.

Filter by the ID of the resource being commented on.

Filter by comment kind. 'task' returns only items intentionally created as actionable. 'comment' excludes tasks. Defaults to 'any' (no filter). * `any` - any * `comment` - comment * `task` - task

Filter by resource type (e.g. Dashboard, FeatureFlag, Insight, Replay).

Full-text search within comment content.

Filter replies to a specific parent comment.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.commentsList()