loops
loops

List loop runs

Run history for a loop, newest first, cursor-paginated.

get/api/projects/{project_id}/loops/{id}/runs/

Request

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

Path parameters

idstring required
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

cursorstring

Opaque pagination cursor from a previous response's next_cursor.

limitinteger

Max results per page (default 50, max 100).

status'not_started' | 'queued' | 'in_progress' | 'completed' | 'failed' | 'cancelled'

Only return runs with this status. Use failed to read errors even when canvas state is unavailable.

  • not_started - Not Started
  • queued - Queued
  • in_progress - In Progress
  • completed - Completed
  • failed - Failed
  • cancelled - Cancelled

Response

Run history page

next_cursorstring nullable required

Opaque cursor for the next page, or null when there are no more results.

Changes

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