---
title: "get endpoint workers"
method: POST
path: "/get_endpoint_workers/"
tags: ["Serverless"]
---

# get endpoint workers

`POST /get_endpoint_workers/`

Retrieves the current list and status of workers for a specific endpoint.
Useful for monitoring, debugging connectivity issues, and understanding resource usage.

CLI Usage: `vastai get endpoint workers <id>`

## Request body

- object
  - `id` integer, required — ID of the endpoint to monitor

## Response `200`

Successfully retrieved endpoints workers.

- union
  - object
    - `workers` object[] — List of workers for this endpoint
      - `id` integer — Worker instance ID
      - `status` string — Current worker status
      - `url` string — Worker instance URL
      - `created_at` string — When the worker was created
  - string — Error message when endpoint not found or authentication fails

---

[API](https://skmtc.net/vast/apis/vast-ai-api.md) · [All operations](https://skmtc.net/vast/apis/vast-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vast/vast-ai-api/versions/4ed14f79f796/schema)
