Hi Everyone, I want to extract the summary value o...
# prefect-server
t
Hi Everyone, I want to extract the summary value of Prefect UI, is there any way to do it using the python API? Is for a external report for SLA references.
@Diego Bloom Alert
k
Hey @TOMAS IGNACIO ACUÑA RUZ , you’d need to use the graphql API. The Dashboard queries are open source though do you may find them here
t
Thanks you! I will give a Try and I'm back to you
Great its work, is there any chance to automatize this using python? @Kevin Kho
k
Yeah! We have the Prefect client. Use the
client.graphql()
method to run the query. You just need to be authenticated
t
Thanks you
👍 1