Documentation
LLM endpoints
View .mdOpenAPI

Hold an endpoint ready

POSThttps://weights.fyi/run/v1/endpoints/{endpoint}/readyscope: submit
text
POST https://weights.fyi/run/v1/endpoints/<endpoint>/ready
Authorization: Bearer <token>                    scope: submit
[{"until": "<ISO 8601 time>"}]
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 request is recorded and answered with the endpoint; the start itself took 8 min 10 s from a prepared state and 18 min 18 s from scratch (measured 2026-10-05).

Starts your endpoint now, so your calls find the model ready, and with until holds it ready to that time, through your working day for example. Without until it stays ready until it has had no call for 490 s. Follow it with GET /v1/endpoints/{endpoint} until state reads ready.

The held time costs nothing: you pay per token for calls that finish with an answer. A hold keeps the shared model ready; it reserves no hardware and no call slots for your workspace, and a call sent while the model still starts is refused with 429 overloaded, not queued (POST /v1/chat/completions). It needs credit above zero, else 402. Sending it again replaces the hold; without until it ends one.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer and a token with submit.
endpointpathyesThe endpoint's id.
untilbodynoAn ISO 8601 time with its zone, in the future: hold it ready to then.

Return value

202 Accepted with the endpoint as GET /v1/endpoints/{endpoint} shows it, ready_until set when you sent until.

Errors

StatusCodeWhen it happensWhat to do
400invalid_untiluntil is not an ISO 8601 time with its zone, or not in the future.Send a future time with its zone.
400invalid_requestThe body is not a JSON object.Send {} or {"until": "..."}.
402no_creditNo credit.Add credit.
404endpoint_not_foundNo endpoint of yours has that id.Check the id.
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 submit, or the account is suspended.Use a token with submit.
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/ready -H "Authorization: Bearer $WEIGHTS_API_KEY" \
  -H "Content-Type: application/json" -d '{"until": "2026-10-12T17:00:00Z"}'
json
{"id": "ep_5b1e0c7d2a9f4e6b8c3d", "state": "starting", "expected_ready_seconds": 490, "ready_until": "2026-10-12T17:00:00.000Z"}

The answer is shortened here.

History

  • Built 2026-10-09; implementation reviewed 2026-10-10. Runtime availability follows the model catalog.

See also

DELETE /v1/endpoints/{endpoint}, Prices and billing.