Matt Alhonte
10/17/2025, 2:20 AMMarvin
10/17/2025, 2:20 AMMarvin
10/17/2025, 2:35 AMfrom prefect.client import PrefectClient
import asyncio
async def main(run_id: str):
async with PrefectClient() as client:
fr = await client.read_flow_run(run_id)
print(fr.parameters) # dict of params
asyncio.run(main("<FLOW_RUN_ID>"))
Helpful references:
- REST API (read a flow run, returns parameters): Flow run: read
- Access during a run via runtime context: prefect.runtime.flow_run.parameters
- Using parameters in templates/automations: Access parameters in templates
If you don’t see the Parameters card in your UI, can you share a screenshot or confirm whether you’re on Prefect Cloud or self-hosted Server? I can tailor the steps.