Documentation
LLM endpoints
View .mdOpenAPI

Rename or describe an endpoint

PATCHhttps://weights.fyi/run/v1/endpoints/{endpoint}scope: manage
text
PATCH https://weights.fyi/run/v1/endpoints/<endpoint>
Authorization: Bearer <token>                    scope: manage
Content-Type: application/json
Available since
2026-10-10, included in this build.
Answer time
synchronous; no inference work starts.

Update the name and description of a workspace endpoint. Its model, ID and base URL stay the same.

These details can also be edited in LLM endpoints.

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer key with manage.
endpointpathyesYour workspace endpoint ID.
namebodyone field requiredString of at most 80 characters after trimming; empty clears it.
descriptionbodyone field requiredString of at most 500 characters after trimming; empty clears it.

Omitted fields keep their existing values. Unknown fields are rejected. To use another model, create its endpoint.

Return value

200 OK. The updated endpoint object, including name and description; the other fields match GET /v1/endpoints/{endpoint}.

Errors

StatusCodeMeaning
400invalid_endpoint_detailsEmpty body, unknown field, wrong type or length, or invalid control character.
401unauthorized, invalid_token, token_revoked, token_expiredUse a valid workspace API key.
403scope_required, account_suspendedManage access is required and the workspace must be active.
404endpoint_not_foundNo endpoint in your workspace has this ID.

Examples

sh
curl -s -X PATCH https://weights.fyi/run/v1/endpoints/ENDPOINT_ID \
  -H "Authorization: Bearer $WEIGHTS_API_KEY" -H "Content-Type: application/json" \
  -d '{"name":"Research assistant","description":"Shared team connection"}'

History

  • Added 2026-10-10.

See also

Create an endpoint, Read endpoint, Models.