provider taskstasks GET /api/projects/{project_id}/tasks/
@utdk/posthog /api/projects/{project_id}/tasks/
List tasks
Get a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.
archived query
Filter by archived state. Defaults to excluding archived tasks. Use 'true' to list only archived tasks, 'false' for the default, or 'all' to include both. * `true` - true * `false` - false * `all` - all
enum: true, false, all
channel query
Filter tasks to a channel's feed.
string
created_by query
Filter by creator user ID
integer
internal query
Filter by the internal flag, which controls whether a task is shown by default, not whether it is accessible. Defaults to excluding internal tasks. Use 'all' to include both internal and user-facing tasks, or 'true' to list only internal tasks. All values are available to any team member; access stays governed by task visibility. * `true` - true * `false` - false * `all` - all
enum: true, false, all
limit query
Number of results to return per page.
integer
offset query
The initial index from which to return the results.
integer
organization query
Filter by repository organization
string
origin_product query
Filter by origin product
string
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
repository query
Filter by repository name (can include org/repo format)
string
search query
Case-insensitive substring search over task title and description. A numeric value also matches the task number. An empty value disables the filter.
string
stage query
Filter by task run stage
string
status query
Filter tasks by the status of their most recent run. * `not_started` - not_started * `queued` - queued * `in_progress` - in_progress * `completed` - completed * `failed` - failed * `cancelled` - cancelled
enum: not_started, queued, in_progress, completed…

Try it

Authentication
Configure credentials for PostHog API
tasksList
GET/api/projects/{project_id}/tasks/
Get a list of tasks for the current project, with optional filtering by origin product, stage, organization, repository, and created_by.

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/.

Filter by archived state. Defaults to excluding archived tasks. Use 'true' to list only archived tasks, 'false' for the default, or 'all' to include both. * `true` - true * `false` - false * `all` - all

Filter tasks to a channel's feed.

Filter by creator user ID

Filter by the internal flag, which controls whether a task is shown by default, not whether it is accessible. Defaults to excluding internal tasks. Use 'all' to include both internal and user-facing tasks, or 'true' to list only internal tasks. All values are available to any team member; access stays governed by task visibility. * `true` - true * `false` - false * `all` - all

Number of results to return per page.

The initial index from which to return the results.

Filter by repository organization

Filter by origin product

Filter by repository name (can include org/repo format)

Case-insensitive substring search over task title and description. A numeric value also matches the task number. An empty value disables the filter.

Filter by task run stage

Filter tasks by the status of their most recent run. * `not_started` - not_started * `queued` - queued * `in_progress` - in_progress * `completed` - completed * `failed` - failed * `cancelled` - cancelled

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.tasksList({
  "limit": 50,
  "offset": 0
})