← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/typescript/spaces/update.md

892 Bytes · Oct 5, 2026 · 18:24 UTC

↓ Download file

<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->

# spaces.update

Updates an existing space with new values for the specified fields. Only name and labels can be updated. Fields not included in the request remain unchanged.

IMMUTABLE FIELDS: space_embedders, default_chunking_config, and ownerId cannot be modified after creation.

NAME UNIQUENESS: Name must be unique per owner - returns ALREADY_EXISTS if name conflicts with an existing space. Requires UPDATE_SPACE on the requested space. This operation is idempotent.

```ts
update(id: string, request: UpdateSpaceRequest, requestOptions?: RequestOptions): Promise<SpaceResponseShape>
```

[spaces](../spaces.md) · [TypeScript](../../typescript.md)

Related types — open only those used by your request:

- [RequestOptions](../models/RequestOptions.md)
- [UpdateSpaceRequest](../models/UpdateSpaceRequest.md)

SHA-256: b109c4ac434648f315c2e708eb871ecaf3d1ac37b93441495c2796f3599abd81