Documentation
LLM endpoints
View .mdOpenAPI

Release an endpoint

DELETEhttps://weights.fyi/run/v1/endpoints/{endpoint}scope: submit
text
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

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

Return value

200 OK with the endpoint as GET /v1/endpoints/{endpoint} shows it, ready_until now null.

Errors

StatusCodeWhen it happensWhat to do
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 -X DELETE https://weights.fyi/run/v1/endpoints/ENDPOINT_ID -H "Authorization: Bearer $WEIGHTS_API_KEY"
json
{"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.

See also

GET /v1/endpoints/{endpoint}/usage, Prices and billing.