SnozeDevelopers
API referenceTemplates

Describe one template gallery listing

Returns the full detail for a single listing, including its declared inputs and what it will create. `templateId` is provider-qualified, such as `workspace:<uuid>` or `builtin:service-shop`, and travels as a query parameter because it contains a colon. Requires workspace membership; an id that is malformed or claimed by no provider returns not-found.

GET
/v1/workspaces/{workspaceId}/template-gallery/detail
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Query Parameters

templateId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/template-gallery/detail?templateId=string"
{  "data": {    "listing": {      "id": "string",      "provider": "workspace",      "scope": "builtin",      "reviewStatus": "draft",      "installCount": 0,      "author": {        "workspaceId": "string",        "name": "string",        "icon": "string"      },      "name": "string",      "description": "string",      "icon": "string",      "cover": "string",      "category": "string",      "tags": [        "string"      ],      "kind": "folder",      "inputCount": 0,      "contents": {        "total": 0,        "counts": [          {            "kind": "database",            "count": 0          }        ]      },      "coverPreview": {        "sourceId": "string",        "name": "string",        "kind": "folder",        "icon": "string",        "blocks": [          {            "id": "string",            "parentBlockId": "string",            "kind": "paragraph",            "orderKey": "string",            "manifest": {},            "layout": {              "x": 0,              "y": 0,              "w": 0,              "h": 0,              "tab": "string"            }          }        ],        "fields": [          {            "key": "string",            "label": "string",            "kind": "text",            "options": [              {                "key": "string",                "name": "string",                "color": "string"              }            ]          }        ],        "records": [          {            "id": "string",            "title": "string",            "data": {}          }        ],        "elements": [          {            "id": "string",            "elementType": "rectangle",            "x": 0,            "y": 0,            "w": 0,            "h": 0,            "props": {}          }        ],        "truncated": true      },      "availability": {        "available": true      },      "updatedAt": "string"    },    "inputs": [      {        "id": "string",        "kind": "database",        "label": "string",        "description": "string",        "placeholder": "string",        "required": true,        "dependsOn": "string",        "choices": [          {            "value": "string",            "label": "string"          }        ],        "default": "string"      }    ],    "preview": [      {        "kind": "folder",        "name": "string",        "depth": 0,        "icon": "string"      }    ],    "items": [      {        "sourceId": "string",        "name": "string",        "kind": "folder",        "icon": "string",        "blocks": [          {            "id": "string",            "parentBlockId": "string",            "kind": "paragraph",            "orderKey": "string",            "manifest": {},            "layout": {              "x": 0,              "y": 0,              "w": 0,              "h": 0,              "tab": "string"            }          }        ],        "fields": [          {            "key": "string",            "label": "string",            "kind": "text",            "options": [              {                "key": "string",                "name": "string",                "color": "string"              }            ]          }        ],        "records": [          {            "id": "string",            "title": "string",            "data": {}          }        ],        "elements": [          {            "id": "string",            "elementType": "rectangle",            "x": 0,            "y": 0,            "w": 0,            "h": 0,            "props": {}          }        ],        "truncated": true      }    ]  }}