is there a way to look up the run details from a S...
# ask-metaflow
w
is there a way to look up the run details from a SFN execution id using the metaflow CLI? or a way to map the run_id (which seems to be a number) to the execution id?
1
v
yeah, all CLI commands like
logs
and
dump
work with SFN e.g. I can see logs of a
start
step of an SFN run like this:
Copy code
python firstflow.py logs sfn-97e08c21-19c9-cd4c-b866-5ab541194b62_b92a8444-2441-b6a4-abac-f5a1709ac6c2/start
you can resume SFN executions locally with
Copy code
python firstflow.py resume --origin-run-id  sfn-97e08c21-19c9-cd4c-b866-5ab541194b62_b92a8444-2441-b6a4-abac-f5a1709ac6c2
w
oh sorry i meant the client API
v
same deal - just input the SFN id wherever it asks for a run ID
a
@wooden-dusk-90720 the run id is not a numeral for executions on step functions.they are of the form
sfn-<state-machine-execution-id>