tasks
tasks

List task sources

Changed on

Return the distinct sources of the requester's own non-archived tasks, in the words of the task list sources filter. Used to populate a source filter picker without being constrained by task list pagination.

get/api/projects/{project_id}/tasks/sources/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tasks/sources/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

project_idstring required

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

Response

sourcesTaskListSourceEnum[] required

Distinct sources of the requester's own non-archived tasks, sorted, in the words of the task list sources filter. Each value filters the task list back to at least one task.

Changes