Is there any way to get a link to the flow run log...
# prefect-getting-started
a
Is there any way to get a link to the flow run log in the prefect cloud from within a flow run? I dont see anything like that in the FlowRunContext.
1
s
There is a not a direct link, but the url link is composed of different values you can generate the link yourself:
Copy code
<https://app.prefect.cloud/account/{account_id}/workspace/{workspace_id}/flow-runs/flow-run/{flowrun_id}>
would be your direct link to a specific flow run
a
got it thanks!
@Sahil Rangwala The flow run id I found with
prefect.context.FlowRunContext.get().flow_run.flow_id
does not match the flowrun_id from the URL in the prefect cloud, am I fetching that from the wrong place?
Ah trying again with
FlowRunContext.get().flow_run.id
That works! Thanks!