Skip to main content
POST
/
api
/
project-templates
Create ProjectTemplateMetadata
curl --request POST \
  --url https://platform.kodexa.ai/api/project-templates \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "deleteUserEmail": "<string>",
  "deleteUserId": "<string>",
  "deleted": true,
  "deletedDate": "2023-11-07T05:31:56Z",
  "deprecated": true,
  "extensionPackRef": "<string>",
  "id": "<string>",
  "metadata": {
    "activityPlans": [
      {
        "defaultDescriptionTemplate": "<string>",
        "defaultTitleTemplate": "<string>",
        "description": "<string>",
        "documentFamilyGroups": "<unknown>",
        "inputsSchema": "<unknown>",
        "metadata": "<unknown>",
        "name": "<string>",
        "oldIdentifier": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "steps": "<unknown>"
      }
    ],
    "assistants": [
      {
        "assistantDefinitionRef": "<string>",
        "assistantRole": "<string>",
        "chatEnabled": true,
        "description": "<string>",
        "loggingEnabled": true,
        "name": "<string>",
        "options": {},
        "priorityHint": 123,
        "schedules": [
          {
            "cronExpression": "<string>",
            "type": "<string>"
          }
        ],
        "showInTraining": true,
        "slug": "<string>",
        "stores": [
          "<string>"
        ],
        "subscription": "<string>"
      }
    ],
    "attributeStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "status": "<string>"
      }
    ],
    "checksum": "<string>",
    "dataForms": [
      {
        "cards": "<unknown>",
        "description": "<string>",
        "entrypoints": [
          "<string>"
        ],
        "name": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "templateRef": "<string>"
      }
    ],
    "deleteProtection": true,
    "deprecated": true,
    "description": "<string>",
    "documentStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "oldIdentifier": "<string>",
        "slug": "<string>",
        "status": "<string>"
      }
    ],
    "extensionPackRef": "<string>",
    "helpUrl": "<string>",
    "icon": "<string>",
    "id": "<string>",
    "imageUrl": "<string>",
    "knowledgeSets": [
      {
        "active": true,
        "clauses": [
          {
            "features": [
              {
                "featureUuid": "<string>",
                "positive": true
              }
            ]
          }
        ],
        "description": "<string>",
        "featureExpression": {
          "children": "<array>",
          "slug": "<string>"
        },
        "features": [
          {
            "active": true,
            "featureTypeRef": "<string>",
            "originalFeatureId": "<string>",
            "properties": {},
            "slug": "<string>",
            "uuid": "<string>"
          }
        ],
        "knowledgeItems": [
          {
            "active": true,
            "description": "<string>",
            "knowledgeItemTypeRef": "<string>",
            "properties": {},
            "sequenceOrder": 123,
            "slug": "<string>",
            "title": "<string>"
          }
        ],
        "name": "<string>",
        "ref": "<string>",
        "setType": "<string>",
        "showOnNewProject": true,
        "slug": "<string>"
      }
    ],
    "memory": {
      "changeSequence": 123,
      "orderedDashboards": [
        "<string>"
      ],
      "recentFilters": {},
      "recentQueries": {}
    },
    "name": "<string>",
    "options": {
      "companion": {
        "agentRuntimeRef": "<string>",
        "moduleRefs": [
          "<string>"
        ],
        "prompt": "<string>"
      },
      "dataOptions": [
        {
          "aliases": [
            "<string>"
          ],
          "default": "<unknown>",
          "description": "<string>",
          "developerOnly": true,
          "displayProperties": {},
          "falseLabel": "<string>",
          "featureFlag": "<string>",
          "groupOptions": "<array>",
          "hint": "<string>",
          "label": "<string>",
          "listDescription": "<string>",
          "listLabel": "<string>",
          "listType": "<string>",
          "name": "<string>",
          "overviewMarkdown": "<string>",
          "possibleValues": [
            {
              "description": "<string>",
              "label": "<string>",
              "value": "<unknown>"
            }
          ],
          "properties": {},
          "required": true,
          "showIf": "<string>",
          "showOnPopup": true,
          "subType": "<string>",
          "supportArticle": "<string>",
          "tabName": "<string>",
          "type": "<string>"
        }
      ],
      "dataProperties": {},
      "executionPolicy": {
        "backoffBaseSeconds": 123,
        "backoffStrategy": "<string>",
        "maxAttempts": 123,
        "onExhausted": "<string>",
        "timeoutSeconds": 123
      },
      "groupTaxonTypeFeatures": {},
      "options": [
        {
          "aliases": [
            "<string>"
          ],
          "default": "<unknown>",
          "description": "<string>",
          "developerOnly": true,
          "displayProperties": {},
          "falseLabel": "<string>",
          "featureFlag": "<string>",
          "groupOptions": "<array>",
          "hint": "<string>",
          "label": "<string>",
          "listDescription": "<string>",
          "listLabel": "<string>",
          "listType": "<string>",
          "name": "<string>",
          "overviewMarkdown": "<string>",
          "possibleValues": [
            {
              "description": "<string>",
              "label": "<string>",
              "value": "<unknown>"
            }
          ],
          "properties": {},
          "required": true,
          "showIf": "<string>",
          "showOnPopup": true,
          "subType": "<string>",
          "supportArticle": "<string>",
          "tabName": "<string>",
          "type": "<string>"
        }
      ],
      "properties": {},
      "taskOptions": {
        "showNewTask": true
      },
      "taxonTypeFeatures": {}
    },
    "orgSlug": "<string>",
    "overviewMarkdown": "<string>",
    "provider": "<string>",
    "providerImageUrl": "<string>",
    "providerUrl": "<string>",
    "publicAccess": true,
    "ref": "<string>",
    "scheduledJobs": [
      {
        "active": true,
        "deleted": true,
        "description": "<string>",
        "modelRef": "<string>",
        "name": "<string>",
        "oldIdentifier": "<string>",
        "properties": {},
        "schedules": [
          {
            "cronExpression": "<string>",
            "id": "<string>",
            "type": "<string>"
          }
        ]
      }
    ],
    "slug": "<string>",
    "stores": [
      {
        "allowDataEditing": true,
        "deleteProtection": true,
        "description": "<string>",
        "documentProperties": "<unknown>",
        "files": [
          {
            "metadata": {},
            "url": "<string>"
          }
        ],
        "hasImage": true,
        "highQualityPreview": true,
        "labelExpressions": "<unknown>",
        "name": "<string>",
        "ref": "<string>",
        "showStoreInLabeling": true,
        "showThumbnails": true,
        "slug": "<string>",
        "storePurpose": "<string>",
        "storeType": "<string>",
        "templateRef": "<string>"
      }
    ],
    "tags": [
      {
        "color": "<string>",
        "label": "<string>"
      }
    ],
    "taskStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "label": "<string>",
        "locked": true,
        "oldIdentifier": "<string>",
        "slug": "<string>"
      }
    ],
    "taskTemplates": [
      {
        "description": "<string>",
        "metadata": {
          "actions": [
            {
              "label": "<string>",
              "properties": {},
              "type": "<string>",
              "uuid": "<string>"
            }
          ],
          "agentShortcuts": [
            {
              "icon": "<string>",
              "id": "<string>",
              "label": "<string>",
              "prompt": "<string>"
            }
          ],
          "aiNaming": {
            "enabled": true,
            "prompt": "<string>"
          },
          "chatPrompt": {
            "enabled": true,
            "prompt": "<string>"
          },
          "companion": {
            "agentRuntimeRef": "<string>",
            "moduleRefs": [
              "<string>"
            ],
            "prompt": "<string>"
          },
          "documentFamilyGroups": [
            {
              "automaticallyAdd": true,
              "documentFamilyFilter": "<string>",
              "editable": true,
              "hardMaxPages": 123,
              "knowledgeFeatures": [
                {
                  "featureTypeRef": "<string>",
                  "required": true
                }
              ],
              "maxHits": 123,
              "maxPages": 123,
              "maxSize": 123,
              "name": "<string>",
              "notes": "<string>",
              "sort": "<string>",
              "titlePrompt": "<string>",
              "uniqueFilenames": true,
              "uploadOnly": true
            }
          ],
          "executionPolicy": {
            "backoffBaseSeconds": 123,
            "backoffStrategy": "<string>",
            "maxAttempts": 123,
            "onExhausted": "<string>",
            "timeoutSeconds": 123
          },
          "forms": [
            {
              "actions": [
                {
                  "label": "<string>",
                  "properties": {},
                  "type": "<string>",
                  "uuid": "<string>"
                }
              ],
              "availablePanels": {},
              "dataFormRef": "<string>",
              "properties": {}
            }
          ],
          "options": [
            {
              "aliases": [
                "<string>"
              ],
              "default": "<unknown>",
              "description": "<string>",
              "developerOnly": true,
              "displayProperties": {},
              "falseLabel": "<string>",
              "featureFlag": "<string>",
              "groupOptions": "<array>",
              "hint": "<string>",
              "label": "<string>",
              "listDescription": "<string>",
              "listLabel": "<string>",
              "listType": "<string>",
              "name": "<string>",
              "overviewMarkdown": "<string>",
              "possibleValues": [
                {
                  "description": "<string>",
                  "label": "<string>",
                  "value": "<unknown>"
                }
              ],
              "properties": {},
              "required": true,
              "showIf": "<string>",
              "showOnPopup": true,
              "subType": "<string>",
              "supportArticle": "<string>",
              "tabName": "<string>",
              "type": "<string>"
            }
          ],
          "priority": 123,
          "properties": {},
          "teamSlug": "<string>",
          "workspaceId": "<string>"
        },
        "name": "<string>",
        "oldIdentifier": "<string>",
        "slug": "<string>"
      }
    ],
    "taxonomies": [
      {
        "description": "<string>",
        "name": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "taxonomyType": "<string>",
        "taxons": "<unknown>",
        "templateRef": "<string>"
      }
    ],
    "template": true,
    "type": "<string>",
    "version": "<string>"
  },
  "name": "<string>",
  "organizationId": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "type": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "yamlSource": "<string>"
}
'
import requests

url = "https://platform.kodexa.ai/api/project-templates"

payload = {
"changeSequence": 123,
"createdOn": "2023-11-07T05:31:56Z",
"deleteUserEmail": "<string>",
"deleteUserId": "<string>",
"deleted": True,
"deletedDate": "2023-11-07T05:31:56Z",
"deprecated": True,
"extensionPackRef": "<string>",
"id": "<string>",
"metadata": {
"activityPlans": [
{
"defaultDescriptionTemplate": "<string>",
"defaultTitleTemplate": "<string>",
"description": "<string>",
"documentFamilyGroups": "<unknown>",
"inputsSchema": "<unknown>",
"metadata": "<unknown>",
"name": "<string>",
"oldIdentifier": "<string>",
"ref": "<string>",
"slug": "<string>",
"steps": "<unknown>"
}
],
"assistants": [
{
"assistantDefinitionRef": "<string>",
"assistantRole": "<string>",
"chatEnabled": True,
"description": "<string>",
"loggingEnabled": True,
"name": "<string>",
"options": {},
"priorityHint": 123,
"schedules": [
{
"cronExpression": "<string>",
"type": "<string>"
}
],
"showInTraining": True,
"slug": "<string>",
"stores": ["<string>"],
"subscription": "<string>"
}
],
"attributeStatuses": [
{
"color": "<string>",
"icon": "<string>",
"status": "<string>"
}
],
"checksum": "<string>",
"dataForms": [
{
"cards": "<unknown>",
"description": "<string>",
"entrypoints": ["<string>"],
"name": "<string>",
"ref": "<string>",
"slug": "<string>",
"templateRef": "<string>"
}
],
"deleteProtection": True,
"deprecated": True,
"description": "<string>",
"documentStatuses": [
{
"color": "<string>",
"icon": "<string>",
"oldIdentifier": "<string>",
"slug": "<string>",
"status": "<string>"
}
],
"extensionPackRef": "<string>",
"helpUrl": "<string>",
"icon": "<string>",
"id": "<string>",
"imageUrl": "<string>",
"knowledgeSets": [
{
"active": True,
"clauses": [{ "features": [
{
"featureUuid": "<string>",
"positive": True
}
] }],
"description": "<string>",
"featureExpression": {
"children": "<array>",
"slug": "<string>"
},
"features": [
{
"active": True,
"featureTypeRef": "<string>",
"originalFeatureId": "<string>",
"properties": {},
"slug": "<string>",
"uuid": "<string>"
}
],
"knowledgeItems": [
{
"active": True,
"description": "<string>",
"knowledgeItemTypeRef": "<string>",
"properties": {},
"sequenceOrder": 123,
"slug": "<string>",
"title": "<string>"
}
],
"name": "<string>",
"ref": "<string>",
"setType": "<string>",
"showOnNewProject": True,
"slug": "<string>"
}
],
"memory": {
"changeSequence": 123,
"orderedDashboards": ["<string>"],
"recentFilters": {},
"recentQueries": {}
},
"name": "<string>",
"options": {
"companion": {
"agentRuntimeRef": "<string>",
"moduleRefs": ["<string>"],
"prompt": "<string>"
},
"dataOptions": [
{
"aliases": ["<string>"],
"default": "<unknown>",
"description": "<string>",
"developerOnly": True,
"displayProperties": {},
"falseLabel": "<string>",
"featureFlag": "<string>",
"groupOptions": "<array>",
"hint": "<string>",
"label": "<string>",
"listDescription": "<string>",
"listLabel": "<string>",
"listType": "<string>",
"name": "<string>",
"overviewMarkdown": "<string>",
"possibleValues": [
{
"description": "<string>",
"label": "<string>",
"value": "<unknown>"
}
],
"properties": {},
"required": True,
"showIf": "<string>",
"showOnPopup": True,
"subType": "<string>",
"supportArticle": "<string>",
"tabName": "<string>",
"type": "<string>"
}
],
"dataProperties": {},
"executionPolicy": {
"backoffBaseSeconds": 123,
"backoffStrategy": "<string>",
"maxAttempts": 123,
"onExhausted": "<string>",
"timeoutSeconds": 123
},
"groupTaxonTypeFeatures": {},
"options": [
{
"aliases": ["<string>"],
"default": "<unknown>",
"description": "<string>",
"developerOnly": True,
"displayProperties": {},
"falseLabel": "<string>",
"featureFlag": "<string>",
"groupOptions": "<array>",
"hint": "<string>",
"label": "<string>",
"listDescription": "<string>",
"listLabel": "<string>",
"listType": "<string>",
"name": "<string>",
"overviewMarkdown": "<string>",
"possibleValues": [
{
"description": "<string>",
"label": "<string>",
"value": "<unknown>"
}
],
"properties": {},
"required": True,
"showIf": "<string>",
"showOnPopup": True,
"subType": "<string>",
"supportArticle": "<string>",
"tabName": "<string>",
"type": "<string>"
}
],
"properties": {},
"taskOptions": { "showNewTask": True },
"taxonTypeFeatures": {}
},
"orgSlug": "<string>",
"overviewMarkdown": "<string>",
"provider": "<string>",
"providerImageUrl": "<string>",
"providerUrl": "<string>",
"publicAccess": True,
"ref": "<string>",
"scheduledJobs": [
{
"active": True,
"deleted": True,
"description": "<string>",
"modelRef": "<string>",
"name": "<string>",
"oldIdentifier": "<string>",
"properties": {},
"schedules": [
{
"cronExpression": "<string>",
"id": "<string>",
"type": "<string>"
}
]
}
],
"slug": "<string>",
"stores": [
{
"allowDataEditing": True,
"deleteProtection": True,
"description": "<string>",
"documentProperties": "<unknown>",
"files": [
{
"metadata": {},
"url": "<string>"
}
],
"hasImage": True,
"highQualityPreview": True,
"labelExpressions": "<unknown>",
"name": "<string>",
"ref": "<string>",
"showStoreInLabeling": True,
"showThumbnails": True,
"slug": "<string>",
"storePurpose": "<string>",
"storeType": "<string>",
"templateRef": "<string>"
}
],
"tags": [
{
"color": "<string>",
"label": "<string>"
}
],
"taskStatuses": [
{
"color": "<string>",
"icon": "<string>",
"label": "<string>",
"locked": True,
"oldIdentifier": "<string>",
"slug": "<string>"
}
],
"taskTemplates": [
{
"description": "<string>",
"metadata": {
"actions": [
{
"label": "<string>",
"properties": {},
"type": "<string>",
"uuid": "<string>"
}
],
"agentShortcuts": [
{
"icon": "<string>",
"id": "<string>",
"label": "<string>",
"prompt": "<string>"
}
],
"aiNaming": {
"enabled": True,
"prompt": "<string>"
},
"chatPrompt": {
"enabled": True,
"prompt": "<string>"
},
"companion": {
"agentRuntimeRef": "<string>",
"moduleRefs": ["<string>"],
"prompt": "<string>"
},
"documentFamilyGroups": [
{
"automaticallyAdd": True,
"documentFamilyFilter": "<string>",
"editable": True,
"hardMaxPages": 123,
"knowledgeFeatures": [
{
"featureTypeRef": "<string>",
"required": True
}
],
"maxHits": 123,
"maxPages": 123,
"maxSize": 123,
"name": "<string>",
"notes": "<string>",
"sort": "<string>",
"titlePrompt": "<string>",
"uniqueFilenames": True,
"uploadOnly": True
}
],
"executionPolicy": {
"backoffBaseSeconds": 123,
"backoffStrategy": "<string>",
"maxAttempts": 123,
"onExhausted": "<string>",
"timeoutSeconds": 123
},
"forms": [
{
"actions": [
{
"label": "<string>",
"properties": {},
"type": "<string>",
"uuid": "<string>"
}
],
"availablePanels": {},
"dataFormRef": "<string>",
"properties": {}
}
],
"options": [
{
"aliases": ["<string>"],
"default": "<unknown>",
"description": "<string>",
"developerOnly": True,
"displayProperties": {},
"falseLabel": "<string>",
"featureFlag": "<string>",
"groupOptions": "<array>",
"hint": "<string>",
"label": "<string>",
"listDescription": "<string>",
"listLabel": "<string>",
"listType": "<string>",
"name": "<string>",
"overviewMarkdown": "<string>",
"possibleValues": [
{
"description": "<string>",
"label": "<string>",
"value": "<unknown>"
}
],
"properties": {},
"required": True,
"showIf": "<string>",
"showOnPopup": True,
"subType": "<string>",
"supportArticle": "<string>",
"tabName": "<string>",
"type": "<string>"
}
],
"priority": 123,
"properties": {},
"teamSlug": "<string>",
"workspaceId": "<string>"
},
"name": "<string>",
"oldIdentifier": "<string>",
"slug": "<string>"
}
],
"taxonomies": [
{
"description": "<string>",
"name": "<string>",
"ref": "<string>",
"slug": "<string>",
"taxonomyType": "<string>",
"taxons": "<unknown>",
"templateRef": "<string>"
}
],
"template": True,
"type": "<string>",
"version": "<string>"
},
"name": "<string>",
"organizationId": "<string>",
"publicAccess": True,
"slug": "<string>",
"template": True,
"type": "<string>",
"updatedOn": "2023-11-07T05:31:56Z",
"uuid": "<string>",
"yamlSource": "<string>"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
changeSequence: 123,
createdOn: '2023-11-07T05:31:56Z',
deleteUserEmail: '<string>',
deleteUserId: '<string>',
deleted: true,
deletedDate: '2023-11-07T05:31:56Z',
deprecated: true,
extensionPackRef: '<string>',
id: '<string>',
metadata: {
activityPlans: [
{
defaultDescriptionTemplate: '<string>',
defaultTitleTemplate: '<string>',
description: '<string>',
documentFamilyGroups: '<unknown>',
inputsSchema: '<unknown>',
metadata: '<unknown>',
name: '<string>',
oldIdentifier: '<string>',
ref: '<string>',
slug: '<string>',
steps: '<unknown>'
}
],
assistants: [
{
assistantDefinitionRef: '<string>',
assistantRole: '<string>',
chatEnabled: true,
description: '<string>',
loggingEnabled: true,
name: '<string>',
options: {},
priorityHint: 123,
schedules: [{cronExpression: '<string>', type: '<string>'}],
showInTraining: true,
slug: '<string>',
stores: ['<string>'],
subscription: '<string>'
}
],
attributeStatuses: [{color: '<string>', icon: '<string>', status: '<string>'}],
checksum: '<string>',
dataForms: [
{
cards: '<unknown>',
description: '<string>',
entrypoints: ['<string>'],
name: '<string>',
ref: '<string>',
slug: '<string>',
templateRef: '<string>'
}
],
deleteProtection: true,
deprecated: true,
description: '<string>',
documentStatuses: [
{
color: '<string>',
icon: '<string>',
oldIdentifier: '<string>',
slug: '<string>',
status: '<string>'
}
],
extensionPackRef: '<string>',
helpUrl: '<string>',
icon: '<string>',
id: '<string>',
imageUrl: '<string>',
knowledgeSets: [
{
active: true,
clauses: [{features: [{featureUuid: '<string>', positive: true}]}],
description: '<string>',
featureExpression: {children: '<array>', slug: '<string>'},
features: [
{
active: true,
featureTypeRef: '<string>',
originalFeatureId: '<string>',
properties: {},
slug: '<string>',
uuid: '<string>'
}
],
knowledgeItems: [
{
active: true,
description: '<string>',
knowledgeItemTypeRef: '<string>',
properties: {},
sequenceOrder: 123,
slug: '<string>',
title: '<string>'
}
],
name: '<string>',
ref: '<string>',
setType: '<string>',
showOnNewProject: true,
slug: '<string>'
}
],
memory: {
changeSequence: 123,
orderedDashboards: ['<string>'],
recentFilters: {},
recentQueries: {}
},
name: '<string>',
options: {
companion: {agentRuntimeRef: '<string>', moduleRefs: ['<string>'], prompt: '<string>'},
dataOptions: [
{
aliases: ['<string>'],
default: '<unknown>',
description: '<string>',
developerOnly: true,
displayProperties: {},
falseLabel: '<string>',
featureFlag: '<string>',
groupOptions: '<array>',
hint: '<string>',
label: '<string>',
listDescription: '<string>',
listLabel: '<string>',
listType: '<string>',
name: '<string>',
overviewMarkdown: '<string>',
possibleValues: [{description: '<string>', label: '<string>', value: '<unknown>'}],
properties: {},
required: true,
showIf: '<string>',
showOnPopup: true,
subType: '<string>',
supportArticle: '<string>',
tabName: '<string>',
type: '<string>'
}
],
dataProperties: {},
executionPolicy: {
backoffBaseSeconds: 123,
backoffStrategy: '<string>',
maxAttempts: 123,
onExhausted: '<string>',
timeoutSeconds: 123
},
groupTaxonTypeFeatures: {},
options: [
{
aliases: ['<string>'],
default: '<unknown>',
description: '<string>',
developerOnly: true,
displayProperties: {},
falseLabel: '<string>',
featureFlag: '<string>',
groupOptions: '<array>',
hint: '<string>',
label: '<string>',
listDescription: '<string>',
listLabel: '<string>',
listType: '<string>',
name: '<string>',
overviewMarkdown: '<string>',
possibleValues: [{description: '<string>', label: '<string>', value: '<unknown>'}],
properties: {},
required: true,
showIf: '<string>',
showOnPopup: true,
subType: '<string>',
supportArticle: '<string>',
tabName: '<string>',
type: '<string>'
}
],
properties: {},
taskOptions: {showNewTask: true},
taxonTypeFeatures: {}
},
orgSlug: '<string>',
overviewMarkdown: '<string>',
provider: '<string>',
providerImageUrl: '<string>',
providerUrl: '<string>',
publicAccess: true,
ref: '<string>',
scheduledJobs: [
{
active: true,
deleted: true,
description: '<string>',
modelRef: '<string>',
name: '<string>',
oldIdentifier: '<string>',
properties: {},
schedules: [{cronExpression: '<string>', id: '<string>', type: '<string>'}]
}
],
slug: '<string>',
stores: [
{
allowDataEditing: true,
deleteProtection: true,
description: '<string>',
documentProperties: '<unknown>',
files: [{metadata: {}, url: '<string>'}],
hasImage: true,
highQualityPreview: true,
labelExpressions: '<unknown>',
name: '<string>',
ref: '<string>',
showStoreInLabeling: true,
showThumbnails: true,
slug: '<string>',
storePurpose: '<string>',
storeType: '<string>',
templateRef: '<string>'
}
],
tags: [{color: '<string>', label: '<string>'}],
taskStatuses: [
{
color: '<string>',
icon: '<string>',
label: '<string>',
locked: true,
oldIdentifier: '<string>',
slug: '<string>'
}
],
taskTemplates: [
{
description: '<string>',
metadata: {
actions: [{label: '<string>', properties: {}, type: '<string>', uuid: '<string>'}],
agentShortcuts: [{icon: '<string>', id: '<string>', label: '<string>', prompt: '<string>'}],
aiNaming: {enabled: true, prompt: '<string>'},
chatPrompt: {enabled: true, prompt: '<string>'},
companion: {agentRuntimeRef: '<string>', moduleRefs: ['<string>'], prompt: '<string>'},
documentFamilyGroups: [
{
automaticallyAdd: true,
documentFamilyFilter: '<string>',
editable: true,
hardMaxPages: 123,
knowledgeFeatures: [{featureTypeRef: '<string>', required: true}],
maxHits: 123,
maxPages: 123,
maxSize: 123,
name: '<string>',
notes: '<string>',
sort: '<string>',
titlePrompt: '<string>',
uniqueFilenames: true,
uploadOnly: true
}
],
executionPolicy: {
backoffBaseSeconds: 123,
backoffStrategy: '<string>',
maxAttempts: 123,
onExhausted: '<string>',
timeoutSeconds: 123
},
forms: [
{
actions: [{label: '<string>', properties: {}, type: '<string>', uuid: '<string>'}],
availablePanels: {},
dataFormRef: '<string>',
properties: {}
}
],
options: [
{
aliases: ['<string>'],
default: '<unknown>',
description: '<string>',
developerOnly: true,
displayProperties: {},
falseLabel: '<string>',
featureFlag: '<string>',
groupOptions: '<array>',
hint: '<string>',
label: '<string>',
listDescription: '<string>',
listLabel: '<string>',
listType: '<string>',
name: '<string>',
overviewMarkdown: '<string>',
possibleValues: [{description: '<string>', label: '<string>', value: '<unknown>'}],
properties: {},
required: true,
showIf: '<string>',
showOnPopup: true,
subType: '<string>',
supportArticle: '<string>',
tabName: '<string>',
type: '<string>'
}
],
priority: 123,
properties: {},
teamSlug: '<string>',
workspaceId: '<string>'
},
name: '<string>',
oldIdentifier: '<string>',
slug: '<string>'
}
],
taxonomies: [
{
description: '<string>',
name: '<string>',
ref: '<string>',
slug: '<string>',
taxonomyType: '<string>',
taxons: '<unknown>',
templateRef: '<string>'
}
],
template: true,
type: '<string>',
version: '<string>'
},
name: '<string>',
organizationId: '<string>',
publicAccess: true,
slug: '<string>',
template: true,
type: '<string>',
updatedOn: '2023-11-07T05:31:56Z',
uuid: '<string>',
yamlSource: '<string>'
})
};

fetch('https://platform.kodexa.ai/api/project-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://platform.kodexa.ai/api/project-templates",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => json_encode([
    'changeSequence' => 123,
    'createdOn' => '2023-11-07T05:31:56Z',
    'deleteUserEmail' => '<string>',
    'deleteUserId' => '<string>',
    'deleted' => true,
    'deletedDate' => '2023-11-07T05:31:56Z',
    'deprecated' => true,
    'extensionPackRef' => '<string>',
    'id' => '<string>',
    'metadata' => [
        'activityPlans' => [
                [
                                'defaultDescriptionTemplate' => '<string>',
                                'defaultTitleTemplate' => '<string>',
                                'description' => '<string>',
                                'documentFamilyGroups' => '<unknown>',
                                'inputsSchema' => '<unknown>',
                                'metadata' => '<unknown>',
                                'name' => '<string>',
                                'oldIdentifier' => '<string>',
                                'ref' => '<string>',
                                'slug' => '<string>',
                                'steps' => '<unknown>'
                ]
        ],
        'assistants' => [
                [
                                'assistantDefinitionRef' => '<string>',
                                'assistantRole' => '<string>',
                                'chatEnabled' => true,
                                'description' => '<string>',
                                'loggingEnabled' => true,
                                'name' => '<string>',
                                'options' => [
                                                                
                                ],
                                'priorityHint' => 123,
                                'schedules' => [
                                                                [
                                                                                                                                'cronExpression' => '<string>',
                                                                                                                                'type' => '<string>'
                                                                ]
                                ],
                                'showInTraining' => true,
                                'slug' => '<string>',
                                'stores' => [
                                                                '<string>'
                                ],
                                'subscription' => '<string>'
                ]
        ],
        'attributeStatuses' => [
                [
                                'color' => '<string>',
                                'icon' => '<string>',
                                'status' => '<string>'
                ]
        ],
        'checksum' => '<string>',
        'dataForms' => [
                [
                                'cards' => '<unknown>',
                                'description' => '<string>',
                                'entrypoints' => [
                                                                '<string>'
                                ],
                                'name' => '<string>',
                                'ref' => '<string>',
                                'slug' => '<string>',
                                'templateRef' => '<string>'
                ]
        ],
        'deleteProtection' => true,
        'deprecated' => true,
        'description' => '<string>',
        'documentStatuses' => [
                [
                                'color' => '<string>',
                                'icon' => '<string>',
                                'oldIdentifier' => '<string>',
                                'slug' => '<string>',
                                'status' => '<string>'
                ]
        ],
        'extensionPackRef' => '<string>',
        'helpUrl' => '<string>',
        'icon' => '<string>',
        'id' => '<string>',
        'imageUrl' => '<string>',
        'knowledgeSets' => [
                [
                                'active' => true,
                                'clauses' => [
                                                                [
                                                                                                                                'features' => [
                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'featureUuid' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'positive' => true
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ]
                                ],
                                'description' => '<string>',
                                'featureExpression' => [
                                                                'children' => '<array>',
                                                                'slug' => '<string>'
                                ],
                                'features' => [
                                                                [
                                                                                                                                'active' => true,
                                                                                                                                'featureTypeRef' => '<string>',
                                                                                                                                'originalFeatureId' => '<string>',
                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'slug' => '<string>',
                                                                                                                                'uuid' => '<string>'
                                                                ]
                                ],
                                'knowledgeItems' => [
                                                                [
                                                                                                                                'active' => true,
                                                                                                                                'description' => '<string>',
                                                                                                                                'knowledgeItemTypeRef' => '<string>',
                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'sequenceOrder' => 123,
                                                                                                                                'slug' => '<string>',
                                                                                                                                'title' => '<string>'
                                                                ]
                                ],
                                'name' => '<string>',
                                'ref' => '<string>',
                                'setType' => '<string>',
                                'showOnNewProject' => true,
                                'slug' => '<string>'
                ]
        ],
        'memory' => [
                'changeSequence' => 123,
                'orderedDashboards' => [
                                '<string>'
                ],
                'recentFilters' => [
                                
                ],
                'recentQueries' => [
                                
                ]
        ],
        'name' => '<string>',
        'options' => [
                'companion' => [
                                'agentRuntimeRef' => '<string>',
                                'moduleRefs' => [
                                                                '<string>'
                                ],
                                'prompt' => '<string>'
                ],
                'dataOptions' => [
                                [
                                                                'aliases' => [
                                                                                                                                '<string>'
                                                                ],
                                                                'default' => '<unknown>',
                                                                'description' => '<string>',
                                                                'developerOnly' => true,
                                                                'displayProperties' => [
                                                                                                                                
                                                                ],
                                                                'falseLabel' => '<string>',
                                                                'featureFlag' => '<string>',
                                                                'groupOptions' => '<array>',
                                                                'hint' => '<string>',
                                                                'label' => '<string>',
                                                                'listDescription' => '<string>',
                                                                'listLabel' => '<string>',
                                                                'listType' => '<string>',
                                                                'name' => '<string>',
                                                                'overviewMarkdown' => '<string>',
                                                                'possibleValues' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'description' => '<string>',
                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                'value' => '<unknown>'
                                                                                                                                ]
                                                                ],
                                                                'properties' => [
                                                                                                                                
                                                                ],
                                                                'required' => true,
                                                                'showIf' => '<string>',
                                                                'showOnPopup' => true,
                                                                'subType' => '<string>',
                                                                'supportArticle' => '<string>',
                                                                'tabName' => '<string>',
                                                                'type' => '<string>'
                                ]
                ],
                'dataProperties' => [
                                
                ],
                'executionPolicy' => [
                                'backoffBaseSeconds' => 123,
                                'backoffStrategy' => '<string>',
                                'maxAttempts' => 123,
                                'onExhausted' => '<string>',
                                'timeoutSeconds' => 123
                ],
                'groupTaxonTypeFeatures' => [
                                
                ],
                'options' => [
                                [
                                                                'aliases' => [
                                                                                                                                '<string>'
                                                                ],
                                                                'default' => '<unknown>',
                                                                'description' => '<string>',
                                                                'developerOnly' => true,
                                                                'displayProperties' => [
                                                                                                                                
                                                                ],
                                                                'falseLabel' => '<string>',
                                                                'featureFlag' => '<string>',
                                                                'groupOptions' => '<array>',
                                                                'hint' => '<string>',
                                                                'label' => '<string>',
                                                                'listDescription' => '<string>',
                                                                'listLabel' => '<string>',
                                                                'listType' => '<string>',
                                                                'name' => '<string>',
                                                                'overviewMarkdown' => '<string>',
                                                                'possibleValues' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'description' => '<string>',
                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                'value' => '<unknown>'
                                                                                                                                ]
                                                                ],
                                                                'properties' => [
                                                                                                                                
                                                                ],
                                                                'required' => true,
                                                                'showIf' => '<string>',
                                                                'showOnPopup' => true,
                                                                'subType' => '<string>',
                                                                'supportArticle' => '<string>',
                                                                'tabName' => '<string>',
                                                                'type' => '<string>'
                                ]
                ],
                'properties' => [
                                
                ],
                'taskOptions' => [
                                'showNewTask' => true
                ],
                'taxonTypeFeatures' => [
                                
                ]
        ],
        'orgSlug' => '<string>',
        'overviewMarkdown' => '<string>',
        'provider' => '<string>',
        'providerImageUrl' => '<string>',
        'providerUrl' => '<string>',
        'publicAccess' => true,
        'ref' => '<string>',
        'scheduledJobs' => [
                [
                                'active' => true,
                                'deleted' => true,
                                'description' => '<string>',
                                'modelRef' => '<string>',
                                'name' => '<string>',
                                'oldIdentifier' => '<string>',
                                'properties' => [
                                                                
                                ],
                                'schedules' => [
                                                                [
                                                                                                                                'cronExpression' => '<string>',
                                                                                                                                'id' => '<string>',
                                                                                                                                'type' => '<string>'
                                                                ]
                                ]
                ]
        ],
        'slug' => '<string>',
        'stores' => [
                [
                                'allowDataEditing' => true,
                                'deleteProtection' => true,
                                'description' => '<string>',
                                'documentProperties' => '<unknown>',
                                'files' => [
                                                                [
                                                                                                                                'metadata' => [
                                                                                                                                                                                                                                                                
                                                                                                                                ],
                                                                                                                                'url' => '<string>'
                                                                ]
                                ],
                                'hasImage' => true,
                                'highQualityPreview' => true,
                                'labelExpressions' => '<unknown>',
                                'name' => '<string>',
                                'ref' => '<string>',
                                'showStoreInLabeling' => true,
                                'showThumbnails' => true,
                                'slug' => '<string>',
                                'storePurpose' => '<string>',
                                'storeType' => '<string>',
                                'templateRef' => '<string>'
                ]
        ],
        'tags' => [
                [
                                'color' => '<string>',
                                'label' => '<string>'
                ]
        ],
        'taskStatuses' => [
                [
                                'color' => '<string>',
                                'icon' => '<string>',
                                'label' => '<string>',
                                'locked' => true,
                                'oldIdentifier' => '<string>',
                                'slug' => '<string>'
                ]
        ],
        'taskTemplates' => [
                [
                                'description' => '<string>',
                                'metadata' => [
                                                                'actions' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'type' => '<string>',
                                                                                                                                                                                                                                                                'uuid' => '<string>'
                                                                                                                                ]
                                                                ],
                                                                'agentShortcuts' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'icon' => '<string>',
                                                                                                                                                                                                                                                                'id' => '<string>',
                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                'prompt' => '<string>'
                                                                                                                                ]
                                                                ],
                                                                'aiNaming' => [
                                                                                                                                'enabled' => true,
                                                                                                                                'prompt' => '<string>'
                                                                ],
                                                                'chatPrompt' => [
                                                                                                                                'enabled' => true,
                                                                                                                                'prompt' => '<string>'
                                                                ],
                                                                'companion' => [
                                                                                                                                'agentRuntimeRef' => '<string>',
                                                                                                                                'moduleRefs' => [
                                                                                                                                                                                                                                                                '<string>'
                                                                                                                                ],
                                                                                                                                'prompt' => '<string>'
                                                                ],
                                                                'documentFamilyGroups' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'automaticallyAdd' => true,
                                                                                                                                                                                                                                                                'documentFamilyFilter' => '<string>',
                                                                                                                                                                                                                                                                'editable' => true,
                                                                                                                                                                                                                                                                'hardMaxPages' => 123,
                                                                                                                                                                                                                                                                'knowledgeFeatures' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'featureTypeRef' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'required' => true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'maxHits' => 123,
                                                                                                                                                                                                                                                                'maxPages' => 123,
                                                                                                                                                                                                                                                                'maxSize' => 123,
                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                'notes' => '<string>',
                                                                                                                                                                                                                                                                'sort' => '<string>',
                                                                                                                                                                                                                                                                'titlePrompt' => '<string>',
                                                                                                                                                                                                                                                                'uniqueFilenames' => true,
                                                                                                                                                                                                                                                                'uploadOnly' => true
                                                                                                                                ]
                                                                ],
                                                                'executionPolicy' => [
                                                                                                                                'backoffBaseSeconds' => 123,
                                                                                                                                'backoffStrategy' => '<string>',
                                                                                                                                'maxAttempts' => 123,
                                                                                                                                'onExhausted' => '<string>',
                                                                                                                                'timeoutSeconds' => 123
                                                                ],
                                                                'forms' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'actions' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'type' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'uuid' => '<string>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'availablePanels' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'dataFormRef' => '<string>',
                                                                                                                                                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ]
                                                                                                                                ]
                                                                ],
                                                                'options' => [
                                                                                                                                [
                                                                                                                                                                                                                                                                'aliases' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                '<string>'
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'default' => '<unknown>',
                                                                                                                                                                                                                                                                'description' => '<string>',
                                                                                                                                                                                                                                                                'developerOnly' => true,
                                                                                                                                                                                                                                                                'displayProperties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'falseLabel' => '<string>',
                                                                                                                                                                                                                                                                'featureFlag' => '<string>',
                                                                                                                                                                                                                                                                'groupOptions' => '<array>',
                                                                                                                                                                                                                                                                'hint' => '<string>',
                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                'listDescription' => '<string>',
                                                                                                                                                                                                                                                                'listLabel' => '<string>',
                                                                                                                                                                                                                                                                'listType' => '<string>',
                                                                                                                                                                                                                                                                'name' => '<string>',
                                                                                                                                                                                                                                                                'overviewMarkdown' => '<string>',
                                                                                                                                                                                                                                                                'possibleValues' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'description' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'label' => '<string>',
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                'value' => '<unknown>'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ]
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'properties' => [
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                ],
                                                                                                                                                                                                                                                                'required' => true,
                                                                                                                                                                                                                                                                'showIf' => '<string>',
                                                                                                                                                                                                                                                                'showOnPopup' => true,
                                                                                                                                                                                                                                                                'subType' => '<string>',
                                                                                                                                                                                                                                                                'supportArticle' => '<string>',
                                                                                                                                                                                                                                                                'tabName' => '<string>',
                                                                                                                                                                                                                                                                'type' => '<string>'
                                                                                                                                ]
                                                                ],
                                                                'priority' => 123,
                                                                'properties' => [
                                                                                                                                
                                                                ],
                                                                'teamSlug' => '<string>',
                                                                'workspaceId' => '<string>'
                                ],
                                'name' => '<string>',
                                'oldIdentifier' => '<string>',
                                'slug' => '<string>'
                ]
        ],
        'taxonomies' => [
                [
                                'description' => '<string>',
                                'name' => '<string>',
                                'ref' => '<string>',
                                'slug' => '<string>',
                                'taxonomyType' => '<string>',
                                'taxons' => '<unknown>',
                                'templateRef' => '<string>'
                ]
        ],
        'template' => true,
        'type' => '<string>',
        'version' => '<string>'
    ],
    'name' => '<string>',
    'organizationId' => '<string>',
    'publicAccess' => true,
    'slug' => '<string>',
    'template' => true,
    'type' => '<string>',
    'updatedOn' => '2023-11-07T05:31:56Z',
    'uuid' => '<string>',
    'yamlSource' => '<string>'
  ]),
  CURLOPT_HTTPHEADER => [
    "Content-Type: application/json",
    "x-api-key: <api-key>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://platform.kodexa.ai/api/project-templates"

payload := strings.NewReader("{\n \"changeSequence\": 123,\n \"createdOn\": \"2023-11-07T05:31:56Z\",\n \"deleteUserEmail\": \"<string>\",\n \"deleteUserId\": \"<string>\",\n \"deleted\": true,\n \"deletedDate\": \"2023-11-07T05:31:56Z\",\n \"deprecated\": true,\n \"extensionPackRef\": \"<string>\",\n \"id\": \"<string>\",\n \"metadata\": {\n \"activityPlans\": [\n {\n \"defaultDescriptionTemplate\": \"<string>\",\n \"defaultTitleTemplate\": \"<string>\",\n \"description\": \"<string>\",\n \"documentFamilyGroups\": \"<unknown>\",\n \"inputsSchema\": \"<unknown>\",\n \"metadata\": \"<unknown>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"steps\": \"<unknown>\"\n }\n ],\n \"assistants\": [\n {\n \"assistantDefinitionRef\": \"<string>\",\n \"assistantRole\": \"<string>\",\n \"chatEnabled\": true,\n \"description\": \"<string>\",\n \"loggingEnabled\": true,\n \"name\": \"<string>\",\n \"options\": {},\n \"priorityHint\": 123,\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"showInTraining\": true,\n \"slug\": \"<string>\",\n \"stores\": [\n \"<string>\"\n ],\n \"subscription\": \"<string>\"\n }\n ],\n \"attributeStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"checksum\": \"<string>\",\n \"dataForms\": [\n {\n \"cards\": \"<unknown>\",\n \"description\": \"<string>\",\n \"entrypoints\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"deleteProtection\": true,\n \"deprecated\": true,\n \"description\": \"<string>\",\n \"documentStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"extensionPackRef\": \"<string>\",\n \"helpUrl\": \"<string>\",\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"knowledgeSets\": [\n {\n \"active\": true,\n \"clauses\": [\n {\n \"features\": [\n {\n \"featureUuid\": \"<string>\",\n \"positive\": true\n }\n ]\n }\n ],\n \"description\": \"<string>\",\n \"featureExpression\": {\n \"children\": \"<array>\",\n \"slug\": \"<string>\"\n },\n \"features\": [\n {\n \"active\": true,\n \"featureTypeRef\": \"<string>\",\n \"originalFeatureId\": \"<string>\",\n \"properties\": {},\n \"slug\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"knowledgeItems\": [\n {\n \"active\": true,\n \"description\": \"<string>\",\n \"knowledgeItemTypeRef\": \"<string>\",\n \"properties\": {},\n \"sequenceOrder\": 123,\n \"slug\": \"<string>\",\n \"title\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"setType\": \"<string>\",\n \"showOnNewProject\": true,\n \"slug\": \"<string>\"\n }\n ],\n \"memory\": {\n \"changeSequence\": 123,\n \"orderedDashboards\": [\n \"<string>\"\n ],\n \"recentFilters\": {},\n \"recentQueries\": {}\n },\n \"name\": \"<string>\",\n \"options\": {\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"dataOptions\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"dataProperties\": {},\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"groupTaxonTypeFeatures\": {},\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"properties\": {},\n \"taskOptions\": {\n \"showNewTask\": true\n },\n \"taxonTypeFeatures\": {}\n },\n \"orgSlug\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"provider\": \"<string>\",\n \"providerImageUrl\": \"<string>\",\n \"providerUrl\": \"<string>\",\n \"publicAccess\": true,\n \"ref\": \"<string>\",\n \"scheduledJobs\": [\n {\n \"active\": true,\n \"deleted\": true,\n \"description\": \"<string>\",\n \"modelRef\": \"<string>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"properties\": {},\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n }\n ],\n \"slug\": \"<string>\",\n \"stores\": [\n {\n \"allowDataEditing\": true,\n \"deleteProtection\": true,\n \"description\": \"<string>\",\n \"documentProperties\": \"<unknown>\",\n \"files\": [\n {\n \"metadata\": {},\n \"url\": \"<string>\"\n }\n ],\n \"hasImage\": true,\n \"highQualityPreview\": true,\n \"labelExpressions\": \"<unknown>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"showStoreInLabeling\": true,\n \"showThumbnails\": true,\n \"slug\": \"<string>\",\n \"storePurpose\": \"<string>\",\n \"storeType\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"tags\": [\n {\n \"color\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"taskStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"label\": \"<string>\",\n \"locked\": true,\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taskTemplates\": [\n {\n \"description\": \"<string>\",\n \"metadata\": {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"agentShortcuts\": [\n {\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"label\": \"<string>\",\n \"prompt\": \"<string>\"\n }\n ],\n \"aiNaming\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"chatPrompt\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"documentFamilyGroups\": [\n {\n \"automaticallyAdd\": true,\n \"documentFamilyFilter\": \"<string>\",\n \"editable\": true,\n \"hardMaxPages\": 123,\n \"knowledgeFeatures\": [\n {\n \"featureTypeRef\": \"<string>\",\n \"required\": true\n }\n ],\n \"maxHits\": 123,\n \"maxPages\": 123,\n \"maxSize\": 123,\n \"name\": \"<string>\",\n \"notes\": \"<string>\",\n \"sort\": \"<string>\",\n \"titlePrompt\": \"<string>\",\n \"uniqueFilenames\": true,\n \"uploadOnly\": true\n }\n ],\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"forms\": [\n {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"availablePanels\": {},\n \"dataFormRef\": \"<string>\",\n \"properties\": {}\n }\n ],\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"priority\": 123,\n \"properties\": {},\n \"teamSlug\": \"<string>\",\n \"workspaceId\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taxonomies\": [\n {\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"taxonomyType\": \"<string>\",\n \"taxons\": \"<unknown>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"template\": true,\n \"type\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"organizationId\": \"<string>\",\n \"publicAccess\": true,\n \"slug\": \"<string>\",\n \"template\": true,\n \"type\": \"<string>\",\n \"updatedOn\": \"2023-11-07T05:31:56Z\",\n \"uuid\": \"<string>\",\n \"yamlSource\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://platform.kodexa.ai/api/project-templates")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"changeSequence\": 123,\n \"createdOn\": \"2023-11-07T05:31:56Z\",\n \"deleteUserEmail\": \"<string>\",\n \"deleteUserId\": \"<string>\",\n \"deleted\": true,\n \"deletedDate\": \"2023-11-07T05:31:56Z\",\n \"deprecated\": true,\n \"extensionPackRef\": \"<string>\",\n \"id\": \"<string>\",\n \"metadata\": {\n \"activityPlans\": [\n {\n \"defaultDescriptionTemplate\": \"<string>\",\n \"defaultTitleTemplate\": \"<string>\",\n \"description\": \"<string>\",\n \"documentFamilyGroups\": \"<unknown>\",\n \"inputsSchema\": \"<unknown>\",\n \"metadata\": \"<unknown>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"steps\": \"<unknown>\"\n }\n ],\n \"assistants\": [\n {\n \"assistantDefinitionRef\": \"<string>\",\n \"assistantRole\": \"<string>\",\n \"chatEnabled\": true,\n \"description\": \"<string>\",\n \"loggingEnabled\": true,\n \"name\": \"<string>\",\n \"options\": {},\n \"priorityHint\": 123,\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"showInTraining\": true,\n \"slug\": \"<string>\",\n \"stores\": [\n \"<string>\"\n ],\n \"subscription\": \"<string>\"\n }\n ],\n \"attributeStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"checksum\": \"<string>\",\n \"dataForms\": [\n {\n \"cards\": \"<unknown>\",\n \"description\": \"<string>\",\n \"entrypoints\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"deleteProtection\": true,\n \"deprecated\": true,\n \"description\": \"<string>\",\n \"documentStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"extensionPackRef\": \"<string>\",\n \"helpUrl\": \"<string>\",\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"knowledgeSets\": [\n {\n \"active\": true,\n \"clauses\": [\n {\n \"features\": [\n {\n \"featureUuid\": \"<string>\",\n \"positive\": true\n }\n ]\n }\n ],\n \"description\": \"<string>\",\n \"featureExpression\": {\n \"children\": \"<array>\",\n \"slug\": \"<string>\"\n },\n \"features\": [\n {\n \"active\": true,\n \"featureTypeRef\": \"<string>\",\n \"originalFeatureId\": \"<string>\",\n \"properties\": {},\n \"slug\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"knowledgeItems\": [\n {\n \"active\": true,\n \"description\": \"<string>\",\n \"knowledgeItemTypeRef\": \"<string>\",\n \"properties\": {},\n \"sequenceOrder\": 123,\n \"slug\": \"<string>\",\n \"title\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"setType\": \"<string>\",\n \"showOnNewProject\": true,\n \"slug\": \"<string>\"\n }\n ],\n \"memory\": {\n \"changeSequence\": 123,\n \"orderedDashboards\": [\n \"<string>\"\n ],\n \"recentFilters\": {},\n \"recentQueries\": {}\n },\n \"name\": \"<string>\",\n \"options\": {\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"dataOptions\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"dataProperties\": {},\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"groupTaxonTypeFeatures\": {},\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"properties\": {},\n \"taskOptions\": {\n \"showNewTask\": true\n },\n \"taxonTypeFeatures\": {}\n },\n \"orgSlug\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"provider\": \"<string>\",\n \"providerImageUrl\": \"<string>\",\n \"providerUrl\": \"<string>\",\n \"publicAccess\": true,\n \"ref\": \"<string>\",\n \"scheduledJobs\": [\n {\n \"active\": true,\n \"deleted\": true,\n \"description\": \"<string>\",\n \"modelRef\": \"<string>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"properties\": {},\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n }\n ],\n \"slug\": \"<string>\",\n \"stores\": [\n {\n \"allowDataEditing\": true,\n \"deleteProtection\": true,\n \"description\": \"<string>\",\n \"documentProperties\": \"<unknown>\",\n \"files\": [\n {\n \"metadata\": {},\n \"url\": \"<string>\"\n }\n ],\n \"hasImage\": true,\n \"highQualityPreview\": true,\n \"labelExpressions\": \"<unknown>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"showStoreInLabeling\": true,\n \"showThumbnails\": true,\n \"slug\": \"<string>\",\n \"storePurpose\": \"<string>\",\n \"storeType\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"tags\": [\n {\n \"color\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"taskStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"label\": \"<string>\",\n \"locked\": true,\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taskTemplates\": [\n {\n \"description\": \"<string>\",\n \"metadata\": {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"agentShortcuts\": [\n {\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"label\": \"<string>\",\n \"prompt\": \"<string>\"\n }\n ],\n \"aiNaming\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"chatPrompt\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"documentFamilyGroups\": [\n {\n \"automaticallyAdd\": true,\n \"documentFamilyFilter\": \"<string>\",\n \"editable\": true,\n \"hardMaxPages\": 123,\n \"knowledgeFeatures\": [\n {\n \"featureTypeRef\": \"<string>\",\n \"required\": true\n }\n ],\n \"maxHits\": 123,\n \"maxPages\": 123,\n \"maxSize\": 123,\n \"name\": \"<string>\",\n \"notes\": \"<string>\",\n \"sort\": \"<string>\",\n \"titlePrompt\": \"<string>\",\n \"uniqueFilenames\": true,\n \"uploadOnly\": true\n }\n ],\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"forms\": [\n {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"availablePanels\": {},\n \"dataFormRef\": \"<string>\",\n \"properties\": {}\n }\n ],\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"priority\": 123,\n \"properties\": {},\n \"teamSlug\": \"<string>\",\n \"workspaceId\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taxonomies\": [\n {\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"taxonomyType\": \"<string>\",\n \"taxons\": \"<unknown>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"template\": true,\n \"type\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"organizationId\": \"<string>\",\n \"publicAccess\": true,\n \"slug\": \"<string>\",\n \"template\": true,\n \"type\": \"<string>\",\n \"updatedOn\": \"2023-11-07T05:31:56Z\",\n \"uuid\": \"<string>\",\n \"yamlSource\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://platform.kodexa.ai/api/project-templates")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"changeSequence\": 123,\n \"createdOn\": \"2023-11-07T05:31:56Z\",\n \"deleteUserEmail\": \"<string>\",\n \"deleteUserId\": \"<string>\",\n \"deleted\": true,\n \"deletedDate\": \"2023-11-07T05:31:56Z\",\n \"deprecated\": true,\n \"extensionPackRef\": \"<string>\",\n \"id\": \"<string>\",\n \"metadata\": {\n \"activityPlans\": [\n {\n \"defaultDescriptionTemplate\": \"<string>\",\n \"defaultTitleTemplate\": \"<string>\",\n \"description\": \"<string>\",\n \"documentFamilyGroups\": \"<unknown>\",\n \"inputsSchema\": \"<unknown>\",\n \"metadata\": \"<unknown>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"steps\": \"<unknown>\"\n }\n ],\n \"assistants\": [\n {\n \"assistantDefinitionRef\": \"<string>\",\n \"assistantRole\": \"<string>\",\n \"chatEnabled\": true,\n \"description\": \"<string>\",\n \"loggingEnabled\": true,\n \"name\": \"<string>\",\n \"options\": {},\n \"priorityHint\": 123,\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"showInTraining\": true,\n \"slug\": \"<string>\",\n \"stores\": [\n \"<string>\"\n ],\n \"subscription\": \"<string>\"\n }\n ],\n \"attributeStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"checksum\": \"<string>\",\n \"dataForms\": [\n {\n \"cards\": \"<unknown>\",\n \"description\": \"<string>\",\n \"entrypoints\": [\n \"<string>\"\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"deleteProtection\": true,\n \"deprecated\": true,\n \"description\": \"<string>\",\n \"documentStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\",\n \"status\": \"<string>\"\n }\n ],\n \"extensionPackRef\": \"<string>\",\n \"helpUrl\": \"<string>\",\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"imageUrl\": \"<string>\",\n \"knowledgeSets\": [\n {\n \"active\": true,\n \"clauses\": [\n {\n \"features\": [\n {\n \"featureUuid\": \"<string>\",\n \"positive\": true\n }\n ]\n }\n ],\n \"description\": \"<string>\",\n \"featureExpression\": {\n \"children\": \"<array>\",\n \"slug\": \"<string>\"\n },\n \"features\": [\n {\n \"active\": true,\n \"featureTypeRef\": \"<string>\",\n \"originalFeatureId\": \"<string>\",\n \"properties\": {},\n \"slug\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"knowledgeItems\": [\n {\n \"active\": true,\n \"description\": \"<string>\",\n \"knowledgeItemTypeRef\": \"<string>\",\n \"properties\": {},\n \"sequenceOrder\": 123,\n \"slug\": \"<string>\",\n \"title\": \"<string>\"\n }\n ],\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"setType\": \"<string>\",\n \"showOnNewProject\": true,\n \"slug\": \"<string>\"\n }\n ],\n \"memory\": {\n \"changeSequence\": 123,\n \"orderedDashboards\": [\n \"<string>\"\n ],\n \"recentFilters\": {},\n \"recentQueries\": {}\n },\n \"name\": \"<string>\",\n \"options\": {\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"dataOptions\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"dataProperties\": {},\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"groupTaxonTypeFeatures\": {},\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"properties\": {},\n \"taskOptions\": {\n \"showNewTask\": true\n },\n \"taxonTypeFeatures\": {}\n },\n \"orgSlug\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"provider\": \"<string>\",\n \"providerImageUrl\": \"<string>\",\n \"providerUrl\": \"<string>\",\n \"publicAccess\": true,\n \"ref\": \"<string>\",\n \"scheduledJobs\": [\n {\n \"active\": true,\n \"deleted\": true,\n \"description\": \"<string>\",\n \"modelRef\": \"<string>\",\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"properties\": {},\n \"schedules\": [\n {\n \"cronExpression\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\"\n }\n ]\n }\n ],\n \"slug\": \"<string>\",\n \"stores\": [\n {\n \"allowDataEditing\": true,\n \"deleteProtection\": true,\n \"description\": \"<string>\",\n \"documentProperties\": \"<unknown>\",\n \"files\": [\n {\n \"metadata\": {},\n \"url\": \"<string>\"\n }\n ],\n \"hasImage\": true,\n \"highQualityPreview\": true,\n \"labelExpressions\": \"<unknown>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"showStoreInLabeling\": true,\n \"showThumbnails\": true,\n \"slug\": \"<string>\",\n \"storePurpose\": \"<string>\",\n \"storeType\": \"<string>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"tags\": [\n {\n \"color\": \"<string>\",\n \"label\": \"<string>\"\n }\n ],\n \"taskStatuses\": [\n {\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"label\": \"<string>\",\n \"locked\": true,\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taskTemplates\": [\n {\n \"description\": \"<string>\",\n \"metadata\": {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"agentShortcuts\": [\n {\n \"icon\": \"<string>\",\n \"id\": \"<string>\",\n \"label\": \"<string>\",\n \"prompt\": \"<string>\"\n }\n ],\n \"aiNaming\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"chatPrompt\": {\n \"enabled\": true,\n \"prompt\": \"<string>\"\n },\n \"companion\": {\n \"agentRuntimeRef\": \"<string>\",\n \"moduleRefs\": [\n \"<string>\"\n ],\n \"prompt\": \"<string>\"\n },\n \"documentFamilyGroups\": [\n {\n \"automaticallyAdd\": true,\n \"documentFamilyFilter\": \"<string>\",\n \"editable\": true,\n \"hardMaxPages\": 123,\n \"knowledgeFeatures\": [\n {\n \"featureTypeRef\": \"<string>\",\n \"required\": true\n }\n ],\n \"maxHits\": 123,\n \"maxPages\": 123,\n \"maxSize\": 123,\n \"name\": \"<string>\",\n \"notes\": \"<string>\",\n \"sort\": \"<string>\",\n \"titlePrompt\": \"<string>\",\n \"uniqueFilenames\": true,\n \"uploadOnly\": true\n }\n ],\n \"executionPolicy\": {\n \"backoffBaseSeconds\": 123,\n \"backoffStrategy\": \"<string>\",\n \"maxAttempts\": 123,\n \"onExhausted\": \"<string>\",\n \"timeoutSeconds\": 123\n },\n \"forms\": [\n {\n \"actions\": [\n {\n \"label\": \"<string>\",\n \"properties\": {},\n \"type\": \"<string>\",\n \"uuid\": \"<string>\"\n }\n ],\n \"availablePanels\": {},\n \"dataFormRef\": \"<string>\",\n \"properties\": {}\n }\n ],\n \"options\": [\n {\n \"aliases\": [\n \"<string>\"\n ],\n \"default\": \"<unknown>\",\n \"description\": \"<string>\",\n \"developerOnly\": true,\n \"displayProperties\": {},\n \"falseLabel\": \"<string>\",\n \"featureFlag\": \"<string>\",\n \"groupOptions\": \"<array>\",\n \"hint\": \"<string>\",\n \"label\": \"<string>\",\n \"listDescription\": \"<string>\",\n \"listLabel\": \"<string>\",\n \"listType\": \"<string>\",\n \"name\": \"<string>\",\n \"overviewMarkdown\": \"<string>\",\n \"possibleValues\": [\n {\n \"description\": \"<string>\",\n \"label\": \"<string>\",\n \"value\": \"<unknown>\"\n }\n ],\n \"properties\": {},\n \"required\": true,\n \"showIf\": \"<string>\",\n \"showOnPopup\": true,\n \"subType\": \"<string>\",\n \"supportArticle\": \"<string>\",\n \"tabName\": \"<string>\",\n \"type\": \"<string>\"\n }\n ],\n \"priority\": 123,\n \"properties\": {},\n \"teamSlug\": \"<string>\",\n \"workspaceId\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"oldIdentifier\": \"<string>\",\n \"slug\": \"<string>\"\n }\n ],\n \"taxonomies\": [\n {\n \"description\": \"<string>\",\n \"name\": \"<string>\",\n \"ref\": \"<string>\",\n \"slug\": \"<string>\",\n \"taxonomyType\": \"<string>\",\n \"taxons\": \"<unknown>\",\n \"templateRef\": \"<string>\"\n }\n ],\n \"template\": true,\n \"type\": \"<string>\",\n \"version\": \"<string>\"\n },\n \"name\": \"<string>\",\n \"organizationId\": \"<string>\",\n \"publicAccess\": true,\n \"slug\": \"<string>\",\n \"template\": true,\n \"type\": \"<string>\",\n \"updatedOn\": \"2023-11-07T05:31:56Z\",\n \"uuid\": \"<string>\",\n \"yamlSource\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "changeSequence": 123,
  "createdOn": "2023-11-07T05:31:56Z",
  "deleteUserEmail": "<string>",
  "deleteUserId": "<string>",
  "deleted": true,
  "deletedDate": "2023-11-07T05:31:56Z",
  "deprecated": true,
  "extensionPackRef": "<string>",
  "id": "<string>",
  "metadata": {
    "activityPlans": [
      {
        "defaultDescriptionTemplate": "<string>",
        "defaultTitleTemplate": "<string>",
        "description": "<string>",
        "documentFamilyGroups": "<unknown>",
        "inputsSchema": "<unknown>",
        "metadata": "<unknown>",
        "name": "<string>",
        "oldIdentifier": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "steps": "<unknown>"
      }
    ],
    "assistants": [
      {
        "assistantDefinitionRef": "<string>",
        "assistantRole": "<string>",
        "chatEnabled": true,
        "description": "<string>",
        "loggingEnabled": true,
        "name": "<string>",
        "options": {},
        "priorityHint": 123,
        "schedules": [
          {
            "cronExpression": "<string>",
            "type": "<string>"
          }
        ],
        "showInTraining": true,
        "slug": "<string>",
        "stores": [
          "<string>"
        ],
        "subscription": "<string>"
      }
    ],
    "attributeStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "status": "<string>"
      }
    ],
    "checksum": "<string>",
    "dataForms": [
      {
        "cards": "<unknown>",
        "description": "<string>",
        "entrypoints": [
          "<string>"
        ],
        "name": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "templateRef": "<string>"
      }
    ],
    "deleteProtection": true,
    "deprecated": true,
    "description": "<string>",
    "documentStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "oldIdentifier": "<string>",
        "slug": "<string>",
        "status": "<string>"
      }
    ],
    "extensionPackRef": "<string>",
    "helpUrl": "<string>",
    "icon": "<string>",
    "id": "<string>",
    "imageUrl": "<string>",
    "knowledgeSets": [
      {
        "active": true,
        "clauses": [
          {
            "features": [
              {
                "featureUuid": "<string>",
                "positive": true
              }
            ]
          }
        ],
        "description": "<string>",
        "featureExpression": {
          "children": "<array>",
          "slug": "<string>"
        },
        "features": [
          {
            "active": true,
            "featureTypeRef": "<string>",
            "originalFeatureId": "<string>",
            "properties": {},
            "slug": "<string>",
            "uuid": "<string>"
          }
        ],
        "knowledgeItems": [
          {
            "active": true,
            "description": "<string>",
            "knowledgeItemTypeRef": "<string>",
            "properties": {},
            "sequenceOrder": 123,
            "slug": "<string>",
            "title": "<string>"
          }
        ],
        "name": "<string>",
        "ref": "<string>",
        "setType": "<string>",
        "showOnNewProject": true,
        "slug": "<string>"
      }
    ],
    "memory": {
      "changeSequence": 123,
      "orderedDashboards": [
        "<string>"
      ],
      "recentFilters": {},
      "recentQueries": {}
    },
    "name": "<string>",
    "options": {
      "companion": {
        "agentRuntimeRef": "<string>",
        "moduleRefs": [
          "<string>"
        ],
        "prompt": "<string>"
      },
      "dataOptions": [
        {
          "aliases": [
            "<string>"
          ],
          "default": "<unknown>",
          "description": "<string>",
          "developerOnly": true,
          "displayProperties": {},
          "falseLabel": "<string>",
          "featureFlag": "<string>",
          "groupOptions": "<array>",
          "hint": "<string>",
          "label": "<string>",
          "listDescription": "<string>",
          "listLabel": "<string>",
          "listType": "<string>",
          "name": "<string>",
          "overviewMarkdown": "<string>",
          "possibleValues": [
            {
              "description": "<string>",
              "label": "<string>",
              "value": "<unknown>"
            }
          ],
          "properties": {},
          "required": true,
          "showIf": "<string>",
          "showOnPopup": true,
          "subType": "<string>",
          "supportArticle": "<string>",
          "tabName": "<string>",
          "type": "<string>"
        }
      ],
      "dataProperties": {},
      "executionPolicy": {
        "backoffBaseSeconds": 123,
        "backoffStrategy": "<string>",
        "maxAttempts": 123,
        "onExhausted": "<string>",
        "timeoutSeconds": 123
      },
      "groupTaxonTypeFeatures": {},
      "options": [
        {
          "aliases": [
            "<string>"
          ],
          "default": "<unknown>",
          "description": "<string>",
          "developerOnly": true,
          "displayProperties": {},
          "falseLabel": "<string>",
          "featureFlag": "<string>",
          "groupOptions": "<array>",
          "hint": "<string>",
          "label": "<string>",
          "listDescription": "<string>",
          "listLabel": "<string>",
          "listType": "<string>",
          "name": "<string>",
          "overviewMarkdown": "<string>",
          "possibleValues": [
            {
              "description": "<string>",
              "label": "<string>",
              "value": "<unknown>"
            }
          ],
          "properties": {},
          "required": true,
          "showIf": "<string>",
          "showOnPopup": true,
          "subType": "<string>",
          "supportArticle": "<string>",
          "tabName": "<string>",
          "type": "<string>"
        }
      ],
      "properties": {},
      "taskOptions": {
        "showNewTask": true
      },
      "taxonTypeFeatures": {}
    },
    "orgSlug": "<string>",
    "overviewMarkdown": "<string>",
    "provider": "<string>",
    "providerImageUrl": "<string>",
    "providerUrl": "<string>",
    "publicAccess": true,
    "ref": "<string>",
    "scheduledJobs": [
      {
        "active": true,
        "deleted": true,
        "description": "<string>",
        "modelRef": "<string>",
        "name": "<string>",
        "oldIdentifier": "<string>",
        "properties": {},
        "schedules": [
          {
            "cronExpression": "<string>",
            "id": "<string>",
            "type": "<string>"
          }
        ]
      }
    ],
    "slug": "<string>",
    "stores": [
      {
        "allowDataEditing": true,
        "deleteProtection": true,
        "description": "<string>",
        "documentProperties": "<unknown>",
        "files": [
          {
            "metadata": {},
            "url": "<string>"
          }
        ],
        "hasImage": true,
        "highQualityPreview": true,
        "labelExpressions": "<unknown>",
        "name": "<string>",
        "ref": "<string>",
        "showStoreInLabeling": true,
        "showThumbnails": true,
        "slug": "<string>",
        "storePurpose": "<string>",
        "storeType": "<string>",
        "templateRef": "<string>"
      }
    ],
    "tags": [
      {
        "color": "<string>",
        "label": "<string>"
      }
    ],
    "taskStatuses": [
      {
        "color": "<string>",
        "icon": "<string>",
        "label": "<string>",
        "locked": true,
        "oldIdentifier": "<string>",
        "slug": "<string>"
      }
    ],
    "taskTemplates": [
      {
        "description": "<string>",
        "metadata": {
          "actions": [
            {
              "label": "<string>",
              "properties": {},
              "type": "<string>",
              "uuid": "<string>"
            }
          ],
          "agentShortcuts": [
            {
              "icon": "<string>",
              "id": "<string>",
              "label": "<string>",
              "prompt": "<string>"
            }
          ],
          "aiNaming": {
            "enabled": true,
            "prompt": "<string>"
          },
          "chatPrompt": {
            "enabled": true,
            "prompt": "<string>"
          },
          "companion": {
            "agentRuntimeRef": "<string>",
            "moduleRefs": [
              "<string>"
            ],
            "prompt": "<string>"
          },
          "documentFamilyGroups": [
            {
              "automaticallyAdd": true,
              "documentFamilyFilter": "<string>",
              "editable": true,
              "hardMaxPages": 123,
              "knowledgeFeatures": [
                {
                  "featureTypeRef": "<string>",
                  "required": true
                }
              ],
              "maxHits": 123,
              "maxPages": 123,
              "maxSize": 123,
              "name": "<string>",
              "notes": "<string>",
              "sort": "<string>",
              "titlePrompt": "<string>",
              "uniqueFilenames": true,
              "uploadOnly": true
            }
          ],
          "executionPolicy": {
            "backoffBaseSeconds": 123,
            "backoffStrategy": "<string>",
            "maxAttempts": 123,
            "onExhausted": "<string>",
            "timeoutSeconds": 123
          },
          "forms": [
            {
              "actions": [
                {
                  "label": "<string>",
                  "properties": {},
                  "type": "<string>",
                  "uuid": "<string>"
                }
              ],
              "availablePanels": {},
              "dataFormRef": "<string>",
              "properties": {}
            }
          ],
          "options": [
            {
              "aliases": [
                "<string>"
              ],
              "default": "<unknown>",
              "description": "<string>",
              "developerOnly": true,
              "displayProperties": {},
              "falseLabel": "<string>",
              "featureFlag": "<string>",
              "groupOptions": "<array>",
              "hint": "<string>",
              "label": "<string>",
              "listDescription": "<string>",
              "listLabel": "<string>",
              "listType": "<string>",
              "name": "<string>",
              "overviewMarkdown": "<string>",
              "possibleValues": [
                {
                  "description": "<string>",
                  "label": "<string>",
                  "value": "<unknown>"
                }
              ],
              "properties": {},
              "required": true,
              "showIf": "<string>",
              "showOnPopup": true,
              "subType": "<string>",
              "supportArticle": "<string>",
              "tabName": "<string>",
              "type": "<string>"
            }
          ],
          "priority": 123,
          "properties": {},
          "teamSlug": "<string>",
          "workspaceId": "<string>"
        },
        "name": "<string>",
        "oldIdentifier": "<string>",
        "slug": "<string>"
      }
    ],
    "taxonomies": [
      {
        "description": "<string>",
        "name": "<string>",
        "ref": "<string>",
        "slug": "<string>",
        "taxonomyType": "<string>",
        "taxons": "<unknown>",
        "templateRef": "<string>"
      }
    ],
    "template": true,
    "type": "<string>",
    "version": "<string>"
  },
  "name": "<string>",
  "organizationId": "<string>",
  "publicAccess": true,
  "slug": "<string>",
  "template": true,
  "type": "<string>",
  "updatedOn": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "yamlSource": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for authentication. Create one from the Kodexa platform UI under Settings > Access Tokens.

Body

application/json

A project template defines a reusable project configuration that can be instantiated.

changeSequence
integer<int32>
createdOn
string<date-time>
deleteUserEmail
string | null
deleteUserId
string | null
deleted
boolean
deletedDate
string<date-time> | null
deprecated
boolean
extensionPackRef
string
id
string
metadata
object
name
string
organizationId
string
publicAccess
boolean
slug
string
template
boolean
type
string
updatedOn
string<date-time>
uuid
string
yamlSource
string | null

Response

Created ProjectTemplateMetadata

A project template defines a reusable project configuration that can be instantiated.

changeSequence
integer<int32>
createdOn
string<date-time>
deleteUserEmail
string | null
deleteUserId
string | null
deleted
boolean
deletedDate
string<date-time> | null
deprecated
boolean
extensionPackRef
string
id
string
metadata
object
name
string
organizationId
string
publicAccess
boolean
slug
string
template
boolean
type
string
updatedOn
string<date-time>
uuid
string
yamlSource
string | null