Hi, is there a way get the data that is used in the Dashboard UI via api calls? I’m mainly interested in recreating the Run History graph.
For context, we’re an agency that implements/manages a bunch of Prefect instances and I would like to build a way for us to get daily summaries of our Client’s flow runs without needing to log in and out of the UI for each instance.
a
Anna Geller
12/10/2021, 2:03 PM
@Ryan Brennan you could use something like this:
Copy code
query {
flow_run {
logs {
flow_run_id
id
object_id
object_table
created
info
level
message
timestamp
is_audit_log
name
task_run_id
}
}
}
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.