https://prefect.io logo
Title
v

Viet Nguyen

09/09/2022, 11:24 AM
Hi @Anna Geller and everyone, I wonder if there is API endpoint to check if the Agent is busy executing flows or in Idle mode? Thank you.
1
a

Anna Geller

09/09/2022, 11:34 AM
Tracking agent's health is on the roadmap, we track it internally so can't share a link to any GitHub issue on that
🙌 1
v

Viet Nguyen

09/09/2022, 11:35 AM
Thanks @Anna Geller looking forward to the releases coming with that feature.
🙌 1
Btw, I've seen there is now Prefect Github block, does that work with private repo?
a

Anna Geller

09/09/2022, 11:36 AM
no, but we will likely add that too
🙌 2
v

Viet Nguyen

09/09/2022, 11:37 AM
cool, so another awaiting feature. thanks @Anna Geller
sorry bothering you again, @Anna Geller if I want to check if the
Work Queues
of a deployment is empty or not via API , is that possible yet?
a

Anna Geller

09/09/2022, 11:41 AM
for sure, there is an API route for that, the easiest is via CLI though:
prefect work-queue preview name -h 42 # hours ahead
🙌 1
v

Viet Nguyen

09/09/2022, 11:43 AM
I need to implement that through an API call, would you mind sending me the API info page please? thanks @Anna Geller
a
v

Viet Nguyen

09/09/2022, 1:11 PM
thanks @Anna Geller
👍 1