action posthog_loops_runs_retrieve { label: "List loop runs" description: "Run history for a loop, newest first, cursor-paginated." provider: posthog method: GET path: "/api/projects/{project_id}/loops/{id}/runs/" encoding: json input: { type: "object" properties: { cursor: { type: "string" } id: { type: "string" } limit: { type: "integer" } } required: ["id"] additionalProperties: false } output: { type: "object" required: ["next_cursor", "results"] properties: { next_cursor: { type: ["string", "null"] description: "Opaque cursor for the next page, or null when there are no more results." } results: { type: "array" description: "Run history entries, newest first." items: { type: "object" description: "A single entry in a loop's run history." required: ["branch", "completed_at", "created_at", "environment", "error_message", "id", "loop_trigger_id", "output", "status", "task_id"] properties: { branch: { type: ["string", "null"] } completed_at: { type: ["string", "null"] format: "date-time" } created_at: { type: "string" format: "date-time" } environment: { type: "string" } error_message: { type: ["string", "null"] } id: { type: "string" format: "uuid" } loop_trigger_id: { type: ["string", "null"] format: "uuid" } output: { type: ["object", "null"] } status: { type: "string" } task_id: { type: "string" format: "uuid" } } } } } } }