---
title: "Create workspace from template"
method: POST
path: "/v1/git/template"
tags: ["git"]
---

# Create workspace from template

`POST /v1/git/template`

Creates a new Git repository and workspace from a predefined project template

## Request body

- InternalHandlersCreateTemplateRequest
  - `project_name` string, required
  - `template_id` string, required

## Response `200`

OK

- object

## Other responses

- `400` — Invalid request or template not found
- `500` — Internal server error

---

[API](https://skmtc.net/wandb/apis/catnip-container-api.md) · [All operations](https://skmtc.net/wandb/apis/catnip-container-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/catnip-container-api/revisions/a075b0fa501a/schema)
