provider 2506 operations 141 docs pages
@utdk/posthog
PostHog API
Generated UTDK provider client for PostHog API. Generated UTDK provider types and OpenAPI-backed client for https://us.posthog.com/api/schema/.
Task Mentions
Optional generated docs page for
@utdk/posthog.
Task Mentions
Operations
posthog.taskMentionsList
- HTTP:
GET /api/projects/{project_id}/task_mentions/ - What it does: List mentions of the requester
- OpenAPI operationId:
task_mentions_list - Path params: None
- Query params:
limit,offset,since - Response codes:
200 - Transport options: None
- TypeScript: Client interface
Inputs
- Client input type:
{ [key: string]: unknown } - Client transport options: None
Outputs
- Client return type:
{ count: number; next?: string | null; previous?: string | null; results: ({ id: string; message_id: string; task_id: string; task_title: string; channel_id: string | null; channel_name: string | null; author?: { id: nu... - OpenAPI response codes:
200
import posthog from "@utdk/posthog";
type TaskMentionsListInput = Parameters<typeof posthog.taskMentionsList> extends [infer T, ...unknown[]] ? T : undefined;
type TaskMentionsListOutput = Awaited<ReturnType<typeof posthog.taskMentionsList>>;
const result: TaskMentionsListOutput = await posthog.taskMentionsList();
// Result shape (from schema): { count: number; next?: string | null; previous?: string | null; results: ({ id: string; message_id: string; task_id: string; task_title: string; channel_id: string | null; channel_name: string | null; author?: { id: nu...