Is there any way to programmatically access a mark...
# ask-community
m
Is there any way to programmatically access a markdown artifact? We’re using the Great Expectations integration, and it’d be nice to be able to retrieve the resulting markdown and make it accessible outside of the Prefect UI
z
Hey @Max Kolasinski — you can use the graphql API
Copy code
query {
  task_run_artifact {
    data
  }
}
You’ll want to add a
where
clause filtering to the task run id of interest.
m
Nice! Thank you for the direction 🙂