Documentation
LLM endpoints
View .mdOpenAPI

Read an LLM endpoint

GEThttps://weights.fyi/run/v1/endpoints/{endpoint}scope: read
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 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).

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token with read.
endpointpathyesThe endpoint's id.

Return value

200 OK.

FieldMeaning
id, model, base_urlThe endpoint, its model, the address an OpenAI client calls.
name, descriptionEditable workspace labels; empty until set.
statestopped, 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.
sinceWhen the model entered that state.
expected_ready_secondsThe estimate until it is ready, or null when ready.
queue_positionAlways 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.
messageThe state in a sentence, for example "Finding replacement capacity." while moving. Its "calls wait" wording is about calls already in progress.
ready_untilThe 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_flightYour 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_microsWhat your finished calls cost today, in millionths of a dollar; the time it is ready costs nothing.
runsEach run your calls were charged in: started_at, ended_at, usd_micros and final, true once the run has ended.
created_atWhen you created it.

Errors

StatusCodeWhen it happensWhat to do
404endpoint_not_foundNo endpoint of yours has that id.Check the id in GET /v1/endpoints.
401unauthorized, invalid_token, token_revoked, token_expiredNo token, or one that does not work (any more).Use a valid token.
403scope_required, account_suspendedThe token lacks read, or the account is suspended.Use a token with read.
429rate_limitedThe 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, GET /v1/endpoints/{endpoint}/usage.