Skip to main content
Glama

Prefect MCP Server

get_flow_runs_by_flow

Retrieve flow runs for a specific workflow in Prefect, with options to filter by state type, limit results, and paginate through large datasets.

Instructions

Get flow runs for a specific flow.

Args: flow_id: The flow UUID limit: Maximum number of flow runs to return offset: Number of flow runs to skip state_type: Filter by state type (e.g., "RUNNING", "COMPLETED", "FAILED")

Returns: A list of flow runs for the specified flow

Input Schema

NameRequiredDescriptionDefault
flow_idYes
limitNo
offsetNo
state_typeNo

Input Schema (JSON Schema)

{ "properties": { "flow_id": { "title": "Flow 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_id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/allen-munsch/mcp-prefect'

If you have feedback or need assistance with the MCP directory API, please join our Discord server