GraphQL Issue

Hi, I am trying to retireve worker state of my endpoint
query Endpoints {
  myself {
    endpoints {
      id
      name
      templateId
      workersMax
      workersMin
      workersStandby
      workerState(input: {granularity: LIVE}) {
        time
        ready
        running
        throttled
      }
    }
  }
}


However, Runpod API responded
{
  "errors": [
    {
      "message": "Something went wrong. Please try again later or contact support.",
      "locations": [
        {
          "line": 12,
          "column": 9
        }
      ],
      "extensions": {
        "code": "GRAPHQL_VALIDATION_FAILED"
      }
    }
  ]
}


It seems it can only return running and throttled fields
Was this page helpful?