Run management
Runs API
This document outlines the API endpoints for managing individual run instances in PySpur.
Get Run
Description: Retrieves detailed information about a specific run, including its status, inputs, outputs, and associated tasks.
URL: /run/{run_id}/
Method: GET
Parameters:
Response Schema:
List All Runs
Description: Lists all runs across all workflows with pagination support, ordered by start time descending. This provides a global view of all workflow executions in the system.
URL: /run/
Method: GET
Query Parameters:
Response Schema:
Get Run Tasks
Description: Retrieves all tasks associated with a specific run, showing the execution details of each node in the workflow.
URL: /run/{run_id}/tasks/
Method: GET
Parameters:
Response Schema:
Where TaskResponseSchema
contains:
Delete Run
Description: Permanently deletes a run and all its associated tasks. This operation cannot be undone.
URL: /run/{run_id}/
Method: DELETE
Parameters:
Response: 204 No Content
Get Child Runs
Description: Retrieves all child runs of a parent run, useful for tracking nested workflow executions.
URL: /run/{run_id}/children/
Method: GET
Parameters:
Response Schema: