get_recent_runs
Scan all flows in a namespace and return the most recent runs sorted by creation time. Optionally filter by status.
Instructions
Find the most recent runs across all flows in a namespace.
Use this when no specific flow name is given and you need to find what the user ran recently. Scans all flows in the namespace and returns runs sorted by creation time (newest first).
Args: namespace: Metaflow namespace to scope results (e.g. "user:npow"). Use get_config to find your default_namespace. last_n_flows: How many flows to scan (default 20). last_n_runs_per_flow: How many recent runs to check per flow (default 3). status: Filter by status: "successful", "failed", or "running".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | Yes | ||
| last_n_flows | No | ||
| last_n_runs_per_flow | No | ||
| status | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |