# List workspace templates

## `GET /v1/templates`

Requires the `read` scope.

```json
{
  "tags": [
    "Schema"
  ],
  "operationId": "list-templates",
  "summary": "List workspace templates",
  "description": "Requires the `read` scope.",
  "x-retainer-scope": "read",
  "parameters": [],
  "responses": {
    "200": {
      "description": "Successful response.",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "templates": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/TemplateView"
                }
              }
            },
            "required": [
              "templates"
            ]
          }
        }
      }
    },
    "401": {
      "$ref": "#/components/responses/Unauthorized"
    },
    "default": {
      "$ref": "#/components/responses/ApiError"
    }
  }
}
```

[Full OpenAPI contract](/openapi.json)
