> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspace Templates Methods

> HoneyHive TypeScript Control Plane SDK Workspace Templates namespace reference

#### get

> **get**(`request`: [`GetWorkspaceTemplatesManifestRequest`](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/workspace-templates/GetWorkspaceTemplatesManifestRequest)): `Promise`\<[`GetWorkspaceTemplatesManifestResponse`](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/workspace-templates/GetWorkspaceTemplatesManifestResponse)>

**Accepted keys:** [Control plane fine-grained API key](https://docs.honeyhive.ai/v2/workspace/api-keys.md#key-types)

Get a workspace's templates manifest

Return the latest version of a workspace's templates manifest: the YAML that defines the
metrics and charts that new projects in the workspace start with. The workspace is
identified by the `workspace_id` path parameter alone. The `x-hh-workspace-id` header does
not participate.

A workspace starts with a copy of its organization's manifest. Its projects use the
workspace's manifest, together with the organization's only when the workspace's manifest
sets `config.merge_strategy` to `merge`.

#### update

> **update**(`request`: [`UpdateWorkspaceTemplatesManifestRequest`](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/workspace-templates/UpdateWorkspaceTemplatesManifestRequest)): `Promise`\<[`UpdateWorkspaceTemplatesManifestResponse`](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/workspace-templates/UpdateWorkspaceTemplatesManifestResponse)>

**Accepted keys:** [Control plane fine-grained API key](https://docs.honeyhive.ai/v2/workspace/api-keys.md#key-types)

Replace a workspace's templates manifest

Save a new version of a workspace's templates manifest, which becomes the latest version.
It decides the metrics and charts that projects created afterward in the workspace start
with. Existing projects are not changed. The workspace is identified by the `workspace_id`
path parameter alone. The `x-hh-workspace-id` header does not participate.

A workspace manifest cannot define `workspace_templates`.

When an API key makes the request and the workspace's latest version already has this
content, nothing is saved and that version is returned, so applying the same manifest
repeatedly is safe.


## Related topics

- [Org Templates Methods](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/org-templates/index.md)
- [Workspace Templates](https://docs.honeyhive.ai/v2/cli-reference/ref/workspace-templates.md)
- [Workspaces Methods](https://docs.honeyhive.ai/v2/control-plane-sdk-reference/typescript/ref/workspaces/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.