> ## Documentation Index
> Fetch the complete documentation index at: https://weights.fyi/run/llms.txt

# PATCH /v1/endpoints/{endpoint}

```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](/run/app/llm).

## Request

| Name | Where | Required | Meaning |
|---|---|---|---|
| `Authorization` | header | yes | Bearer key with `manage`. |
| `endpoint` | path | yes | Your workspace endpoint ID. |
| `name` | body | one field required | String of at most 80 characters after trimming; empty clears it. |
| `description` | body | one field required | String 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}](/run/docs/reference/endpoints-get.md).

## Errors

| Status | Code | Meaning |
|---|---|---|
| `400` | `invalid_endpoint_details` | Empty body, unknown field, wrong type or length, or invalid control character. |
| `401` | `unauthorized`, `invalid_token`, `token_revoked`, `token_expired` | Use a valid workspace API key. |
| `403` | `scope_required`, `account_suspended` | Manage access is required and the workspace must be active. |
| `404` | `endpoint_not_found` | No 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](/run/docs/reference/endpoints-create.md), [Read endpoint](/run/docs/reference/endpoints-get.md), [Models](/run/docs/models.md).
