<@ULVA73B9P> where in the new GUI you can grab the...
# ask-marvin
m
@Marvin where in the new GUI you can grab the input Params for a given Flow Run?
m
thought for 876.1 seconds
Great question. Assuming you’re on the new Prefect 3.x Cloud UI: - Go to Runs, open the specific Flow Run - On the Flow Run details page, look at the Overview tab - You’ll see a Parameters section/card showing the input parameters as JSON; expand it if collapsed and copy from there Notes: - If you don’t see a Parameters section, that run likely didn’t have any parameters (or they were empty/default). - On smaller screens it may be under an expandable “Details”/“Parameters” area on the page. If you need to grab them programmatically, you can use the API or PrefectClient:
Copy code
from 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.