get_task_runs_by_flow_run
Retrieve task runs for a specific flow run in Prefect, with options to filter by state type, limit results, and paginate through large datasets.
Instructions
Get task runs for a specific flow run.
Args: flow_run_id: The flow run UUID limit: Maximum number of task runs to return offset: Number of task runs to skip state_type: Filter by state type (e.g., "RUNNING", "COMPLETED", "FAILED")
Returns: A list of task runs for the specified flow run
Input Schema
Name | Required | Description | Default |
---|---|---|---|
flow_run_id | Yes | ||
limit | No | ||
offset | No | ||
state_type | No |
Input Schema (JSON Schema)
{
"properties": {
"flow_run_id": {
"title": "Flow Run Id",
"type": "string"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Limit"
},
"offset": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Offset"
},
"state_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "State Type"
}
},
"required": [
"flow_run_id"
],
"type": "object"
}