v1

latestOpenAPI 3.1.02026-07-265094114.0 KB
Templates

Retrieve templates

Retrieve all templates available in your workspace including default templates and custom templates

get/v1/templates

Response

Retrieve all templates

requestIdstring
resourcestring

Example response

[
  {
    "requestId": "bce766ea-a4ef-48e5-9da1-d9602bfecf2d",
    "resource": "template",
    "data": [
      {
        "id": "skl_03a2b34578094db09dd806e49f2e15d1",
        "name": "Product Descriptions",
        "description": "Create compelling product descriptions to be used on websites, emails and social media.",
        "responseFormats": [
          "text",
          "json"
        ],
        "inputSchema": [
          {
            "inputKey": "productName",
            "type": "string",
            "required": true,
            "label": "Product Name",
            "placeholder": "Sherlock Holmes Adventure Escape Room",
            "tooltip": "This should match the product name found in our company catalog.",
            "options": [
              {
                "label": "First Option",
                "value": "option1"
              }
            ]
          }
        ]
      }
    ]
  }
]