search_runs
Search for recent runs of a flow, filtering by status, time range, tags, or namespace.
Instructions
Find recent runs of a flow with optional filters.
Args: flow_name: Name of the flow class (e.g. "MyFlow"). last_n: Max number of matching runs to return (default 5). status: Filter by status: "successful", "failed", or "running". created_after: ISO datetime -- only runs created after this time (e.g. "2024-01-15" or "2024-01-15T10:30:00"). created_before: ISO datetime -- only runs created before this time. tags: Only include runs that have all of these user tags. namespace: Metaflow namespace to scope results (e.g. "user:npow"). Use get_config to find your default_namespace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow_name | Yes | ||
| last_n | No | ||
| status | No | ||
| created_after | No | ||
| created_before | No | ||
| tags | No | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |