Skip to main content
GET
List serverless endpoint workers

Authorizations

Authorization
string
header
required

Runpod API key authentication. Generate an API key in the Runpod console and send it in the Authorization header as Bearer <api_key>. Keys are scoped to the permissions granted when created; requests may return 403 when a valid key lacks access to the requested resource or action.

Path Parameters

id
string
required

Serverless endpoint identifier

Response

OK

workers
object[]
required
summary
object
required

Histogram of the returned workers by status. The per-status counts are a roll-up of the workers array, so running + idle + initializing + throttled + unhealthy == total == len(workers).

endpointVersion
integer | null

The endpoint's current configuration version. A worker whose version differs is running stale config (see worker.isStale). Null if unknown.

Example:

4