---
title: "Get canvas template details"
method: GET
path: "/v1/canvas-templates/{id}"
tags: ["Canvases"]
---

# Get canvas template details

`GET /v1/canvas-templates/{id}`

## Request

- Base URL: `https://api.masko.ai`
- URL: `https://api.masko.ai/v1/canvas-templates/{id}`
- Auth: HTTP bearer

Returns the full template definition including node prompts, edges, and any declared inputs. Works for both built-in and user-owned templates. No credit cost.

Select Masko-API-Version: 2026-09-26 (or api_version=2026-09-26) for the canonical mascot contract shown first. Existing unversioned clients keep legacy collection fields. A mascot_id query filter also selects the canonical contract. Mixing identifier names returns 400.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `api_version` '2026-09-26' | 'legacy'

## Headers

- `Masko-API-Version` '2026-09-26' | 'legacy'

## Response `200`

Template details

- CanvasTemplateResponse
  - `data` CanvasTemplate, required
    - `object` 'canvas_template': Resource type. Always "canvas_template".
    - `id` string, required
    - `name` string, required
    - `description` string, nullable, required
    - `source` 'builtin' | 'user', required
    - `public` boolean
    - `nodes` object[]
    - `edges` object[]
    - `inputs` object[]
    - `created_at` string

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict

---

[API](https://skmtc.dev/masko/apis/masko-api.md) · [All operations](https://skmtc.dev/masko/apis/masko-api/llms.txt) · [OpenAPI document](https://skmtc.dev/masko/apis/masko-api/revisions/91eb3006a92f?raw)
