Release an endpoint
DELETE https://weights.fyi/run/v1/endpoints/<endpoint>
Authorization: Bearer <token> scope: submit- 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 hold ends at once; the model stops once it has had no call for 490 s.
Releases your endpoint: a hold set with POST /v1/endpoints/{endpoint}/ready and every run-owned reservation end. Calls being answered finish and keep their token billing; the shared model stops after its idle time unless another workspace's calls or holds keep it ready. Holding, starting and stopping cost nothing. Reopening the endpoint does not revive released reservations.
The endpoint itself stays, with its usage and runs. A later call to its model, or a ready request, makes it active again.
Request
| Name | Where | Required | Meaning |
|---|---|---|---|
Authorization | header | yes | Bearer and a token with submit. |
endpoint | path | yes | The endpoint's id. |
Return value
200 OK with the endpoint as GET /v1/endpoints/{endpoint} shows it, ready_until now null.
Errors
| Status | Code | When it happens | What to do |
|---|---|---|---|
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 -X DELETE https://weights.fyi/run/v1/endpoints/ENDPOINT_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"{"id": "ep_5b1e0c7d2a9f4e6b8c3d", "state": "ready", "ready_until": null, "in_flight": 0}The answer is shortened here.
History
- Built 2026-10-09; implementation reviewed 2026-10-10. Runtime availability follows the model catalog.