tasks
tasks

Fetch task summaries by ID

Returns summary for the requested tasks, including the creator ID and the latest run's ID, status, and environment.

post/api/projects/{project_id}/tasks/summaries/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tasks/summaries/
  • 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/.

Query parameters

limitinteger

Page size for the paginated response.

offsetinteger

Offset into the result set for pagination.

Request body

idsstring[] required

Task IDs to fetch summaries for (max 5000). Response is paginated; follow the next cursor to retrieve all results.

Response

Summary fields for the requested tasks

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?offset=400&limit=100",
  "previous": "http://api.example.org/accounts/?offset=200&limit=100"
}

Changes

No recorded changes to this operation across all 1 revision of this API.