> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# GET /v1/endpoints/{endpoint}

```text
GET https://weights.fyi/run/v1/endpoints/<endpoint>
Authorization: Bearer <token>                    scope: read
```

**Available since:** 2026-10-10 implementation review: the endpoint API is built; runtime availability follows the model catalog. No LLM chat model is available on this service yet.

**Answer time:** synchronous: the state as of the call; it moves once every 5 s at most.

One of your LLM endpoints: your workspace's connection and usage record for one model, with whether that shared model is ready now and, if not, when it is expected to be and why. Poll it after [POST /v1/endpoints/{endpoint}/ready](/run/docs/reference/endpoints-ready.md) until `state` reads `ready`, before a burst of calls that must not wait.

While the model moves to new hardware the state reads `moving`. Calls already in progress wait and continue by themselves, which is what `message` describes. A new call sent meanwhile is not held: it answers `429 overloaded` with `reason: capacity_unavailable` and a `Retry-After`, so send it again then ([POST /v1/chat/completions](/run/docs/reference/chat-completions.md)).

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | `Bearer` and a token with `read`. |
| `endpoint` | path | yes | The endpoint's id. |

## Return value

**200 OK.**

| Field | Meaning |
|---|---|
| `id`, `model`, `base_url` | The endpoint, its model, the address an OpenAI client calls. |
| `name`, `description` | Editable workspace labels; empty until set. |
| `state` | `stopped`, `starting`, `ready`, `stopping`, `moving` (to new hardware) or `paused` (until we look at it). It is the shared model's state, the same for every workspace that calls it. |
| `since` | When the model entered that state. |
| `expected_ready_seconds` | The estimate until it is ready, or `null` when ready. |
| `queue_position` | Always `null`: readiness belongs to the shared model, so no endpoint waits in line behind another workspace's. Kept so older clients still parse the answer. |
| `message` | The state in a sentence, for example "Finding replacement capacity." while moving. Its "calls wait" wording is about calls already in progress. |
| `ready_until` | The time your readiness hold lasts to, or `null`. A hold keeps the model ready; it reserves no hardware or call slots for you. |
| `in_flight`, `max_in_flight` | Your calls being answered now, and how many may be at once: the slots the model's ready engines serve now, shared by every caller of the model. |
| `cost_today_usd_micros` | What your finished calls cost today, in millionths of a dollar; the time it is ready costs nothing. |
| `runs` | Each run your calls were charged in: `started_at`, `ended_at`, `usd_micros` and `final`, true once the run has ended. |
| `created_at` | When you created it. |

## Errors

| Status | Code | When it happens | What to do |
|---|---|---|---|
| `404` | `endpoint_not_found` | No endpoint of yours has that id. | Check the id in [GET /v1/endpoints](/run/docs/reference/endpoints-list.md). |
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | No token, or one that does not work (any more). | Use a valid token. |
| `403` | `scope_required`, `account_suspended` | The token lacks `read`, or the account is suspended. | Use a token with `read`. |
| `429` | `rate_limited` | The token sends calls faster than its request rate. | Wait the `Retry-After` seconds. |

## Examples

```sh
curl -s https://weights.fyi/run/v1/endpoints/ENDPOINT_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"
```

```json
{
  "id": "ep_5b1e0c7d2a9f4e6b8c3d",
  "model": "qwen3.8-27b",
  "state": "moving",
  "expected_ready_seconds": 412,
  "message": "Finding replacement capacity. Calls wait and continue by themselves once the model is ready.",
  "in_flight": 2
}
```

The answer is shortened here.

## History

- Built 2026-10-09; implementation reviewed 2026-10-10. Runtime availability follows the model catalog.
- 2026-11-16: this page no longer says a new call waits through a move, and `queue_position` is documented as retired.

## See also

[LLM endpoints](/run/docs/llm.md), [GET /v1/endpoints/{endpoint}/usage](/run/docs/reference/endpoints-usage.md).
