GraphQL: Query specific Endpoints and getting running worker amount

My goal is to adjust the amount of Active Workers for serverless endpoints dynamically.

  1. Is there a way to query specific endpoints, instead of all?https://docs.runpod.io/graphql/manage-endpoints
  2. Is checking the `PodTelemetry.state` for all endpoint `pods` the most reliable way to for counting how many pods are running?https://graphql-spec.runpod.io/#definition-EndpointI found that a health check with `https://api.runpod.ai/v2/<id>/health` seems to be more delayed.
Appreciate any insights and thanks for your time!
Create a new Serverless endpoint, or modify/delete existing ones.
Was this page helpful?