Hold an endpoint ready
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
| Name | Where | Required | Meaning |
|---|---|---|---|
Authorization | header | yes | Bearer and a token with submit. |
endpoint | path | yes | The endpoint's id. |
until | body | no | An 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
| Status | Code | When it happens | What to do |
|---|---|---|---|
400 | invalid_until | until is not an ISO 8601 time with its zone, or not in the future. | Send a future time with its zone. |
400 | invalid_request | The body is not a JSON object. | Send {} or {"until": "..."}. |
402 | no_credit | No credit. | Add credit. |
404 | endpoint_not_found | No endpoint of yours has that id. | Check the id. |
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 submit, or the account is suspended. | Use a token with submit. |
429 | rate_limited | The token sends calls faster than its request rate. | Wait the Retry-After seconds. |
Examples
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"}'{"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.