{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Kadoa Documentation","colors":{"primary":"#ea580c","light":"#ea580c","dark":"#18181b"},"logo":{"light":"https://mintcdn.com/kadoa/dCOYM0EuffD9qYID/logo/kadoa-logo.svg?fit=max\u0026auto=format\u0026n=dCOYM0EuffD9qYID\u0026q=85\u0026s=344d5ae11cb3c2519a3c1541507ebed5","dark":"https://mintcdn.com/kadoa/dCOYM0EuffD9qYID/logo/kadoa-logo-dark.svg?fit=max\u0026auto=format\u0026n=dCOYM0EuffD9qYID\u0026q=85\u0026s=1fea0a0ce836a0d67d103f5e5adb6dda"},"favicon":"https://mintcdn.com/kadoa/A3sRkEG_6lnlmZD1/favicon.svg?fit=max\u0026auto=format\u0026n=A3sRkEG_6lnlmZD1\u0026q=85\u0026s=0cea8dbdde871424c4f413c68961c6e2","api":{"openapi":"https://api.kadoa.com/openapi"},"appearance":{"default":"light"},"background":{"color":{"light":"#fafaf9","dark":"#18181b"}},"navbar":{"primary":{"type":"button","label":"Open app","href":"https://kadoa.com/dashboard"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/kadoa","github":"https://github.com/kadoa-org"}},"seo":{"indexing":"all"},"fonts":{"family":"Kadoa Sans","weight":360,"source":"https://kadoa.b-cdn.net/fonts/KadoaSans-Variable.woff2","format":"woff2"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Changelog","icon":{"style":"duotone","name":"clock-rotate-left"},"href":"https://www.kadoa.com/changelog"},{"anchor":"Trust Center","icon":{"style":"duotone","name":"shield-check"},"href":"https://trust.kadoa.com"},{"anchor":"Contact Us","icon":{"style":"duotone","name":"envelope"},"href":"https://www.kadoa.com/contact"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kadoa","hasAudioNarration":false,"actualSubdomain":"kadoa","customDomains":["docs.kadoa.com"],"gitSource":{"type":"github","owner":"kadoa-org","repo":"kadoa-backend","deployBranch":"main","contentDirectory":"docs/public","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adbef3113c2279da01cffdc","collectionId":"d21347bd-5e4f-4a75-ba8b-05eda6b1e6e8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adbef3113c2279da01cffdc"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adbef3113c2279da01cffdc","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"default","tag":"API Reference","count":152},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Workflows","count":36},{"language":"default","tag":"Foundations","count":17},{"language":"default","tag":"Destinations","count":16},{"language":"default","tag":"Notifications","count":15},{"language":"default","tag":"Templates","count":15},{"language":"default","tag":"Build with UI","count":15},{"language":"default","tag":"Build with Code","count":10},{"language":"default","tag":"Kadoa Agent","count":9}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"body,html{font-weight:380}.font-bold,.font-semibold,.link,strong{font-weight:520}.sidebar-group-header,.sidebar-title{color:rgb(var(--primary));font-weight:600}body:has(.landing-cards) #page-title{font-size:2.5rem;line-height:1.15}.landing-cards{gap:1rem}.landing-cards a.card{margin:0;border-radius:.625rem;height:100%}.landing-cards a.card [data-component-part=card-content-container]{padding:0;display:flex;flex-direction:column;height:100%}.landing-cards a.card [data-component-part=card-icon]{margin:1.25rem 1.25rem 3.5rem}.landing-cards a.card [data-component-part=card-content-container]>div:has([data-component-part=card-title]){flex:1;border-top:1px solid rgb(9 9 11/.08)}.landing-cards a.card [data-component-part=card-title]{margin:0;padding:1rem 1.25rem 0}.landing-cards a.card [data-component-part=card-content]{margin:0;padding:.25rem 1.25rem 1.25rem;font-size:.9375rem;line-height:1.45}.dark .landing-cards a.card [data-component-part=card-content-container]>div:has([data-component-part=card-title]){border-top-color:rgb(255 255 255/.1)}"}],"page":{"pagePath":"api-reference/templates/create-version","slug":"/api-reference/templates/create-version","pageMetadata":{"title":"Create template version","description":"Publish a new version of a template with prompt, schema, validation, and notification settings","openapi":"post /v4/templates/{templateId}/versions","href":"/api-reference/templates/create-version"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Publish a new version of a template with prompt, schema, validation, and notification settings\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create template version","description":"Publish a new version of a template with prompt, schema, validation, and notification settings","openapi":"post /v4/templates/{templateId}/versions","href":"/api-reference/templates/create-version"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/kadoa/c67f9ac954426fc4/fonts.js"],"openApiReferenceData":{"operation":{"description":"Publish a new version of a template with prompt, schema, validation, and notification settings","summary":"Publish template version","tags":["Templates"],"parameters":["5c394f2b-c4b5-4c8c-8b24-7704af65a44b"],"requestBody":"5c7c1265-af19-4b24-aad7-9a7bce058901","responses":{"201":"7ce4d16d-6ecd-4323-91c8-7967e2094c63","400":"d70fd21b-da8c-46a3-880a-299964a6663b","401":"d217b8e4-5484-409b-a0a9-2f42f3435159","404":"b131a310-198c-48cc-b5fc-d0bb14ca5fa7","500":"2a7d4a63-ebb9-4876-8539-cdaa5f1f36c8"},"security":["cbb43c3b-42d0-474c-99b3-592d56348840"],"method":"post","type":"path","servers":["9c8d8c51-80a0-4077-a0f2-ed23c31a4a50"],"path":"/v4/templates/{templateId}/versions","baseUrlOptions":["https://api.kadoa.com"],"title":"Publish template version","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"5c394f2b-c4b5-4c8c-8b24-7704af65a44b":{"name":"templateId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Template ID","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Template ID"}},"requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"oneOf":[{"type":"string","description":"Prompt; omit to inherit, null to clear","uniqueKey":"prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"Prompt; omit to inherit, null to clear","uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt","typeLabel":"string | null"},"schemaId":{"oneOf":[{"type":"string","format":"uuid","description":"Schema ID; omit to inherit, null to clear (mutually exclusive with schemaFields)","uniqueKey":"schemaId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Schema ID; omit to inherit, null to clear (mutually exclusive with schemaFields)","uniqueKey":"schemaId.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaId","typeLabel":"string\u003cuuid> | null"},"schemaFields":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name","isRequired":true,"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].name","typeLabel":"string"},"mapper":{"type":"string","enum":["jobDescription","categoryClassifier","taxonomyMapping","stableUniqueId","linkExtraction","additionalData","categorize"],"description":"Function that produces this field's value.","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].mapper","typeLabel":"enum\u003cstring>"},"mapperConfig":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].mapperConfig.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].mapperConfig.additionalProperties","typeLabel":"null"},"description":"Configuration for the selected mapper.","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].mapperConfig","typeLabel":"object"},"description":{"type":"string","description":"Human-readable field description shown in Kadoa","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].description","typeLabel":"string"},"instruction":{"type":"string","description":"Optional field-specific AI instruction for extraction guidance","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].instruction","typeLabel":"string"},"fieldType":{"type":"string","description":"Field role (SCHEMA or CLASSIFICATION)","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].fieldType","typeLabel":"string"},"example":{"oneOf":[{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].example.oneOf.0","typeLabel":"any"},{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","type":"null","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].example.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].example","typeLabel":"any | null"},"shape":{"oneOf":[{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].shape.oneOf.0","typeLabel":"any"},{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","type":"null","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].shape.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].shape","typeLabel":"any | null"},"dataType":{"type":"string","description":"Output data type for SCHEMA fields. Use public values such as STRING, NUMBER, BOOLEAN, DATE, DATETIME, MONEY, IMAGE, LINK, OBJECT, or ARRAY.","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].dataType","typeLabel":"string"},"isKey":{"type":"boolean","description":"Marks this field as part of the record's primary key. Key fields define row identity across runs and enable data linking (records with the same key values are treated as the same record over time, used for dedupe and change detection). Set true ONLY when the complete key tuple uniquely identifies a logical output record and every component is stable across runs and reliably present (not nullable/missing). Key fields should be scalar STRING, NUMBER, or LINK fields; avoid structured, semantic, boolean, image, and timestamp/date fields as keys. Good candidates: external IDs, SKUs, canonical URLs, posting IDs. Bad candidates: prices, counts, timestamps, free-text titles/descriptions, or anything that can change between runs. Multiple fields may form a composite key; uniqueness applies to their combination, not each component. For derived rows, source-backed grouping dimensions and a deterministic output discriminator may identify the result; measured values and explanations do not. If no supported key tuple satisfies these guarantees, leave isKey unset on every field — data linking will simply be disabled, which is preferable to a wrong key. Choosing a non-stable or non-unique key causes duplicate rows and missed updates.","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].isKey","typeLabel":"boolean"},"categories":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Short title/label of the category","isRequired":true,"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX].title","typeLabel":"string"},"definition":{"type":"string","description":"Full definition/description of the category","isRequired":true,"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX].definition","typeLabel":"string"}},"required":["title","definition"],"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"description":"Predefined categories for CLASSIFICATION fields","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].categories","typeLabel":"object[]"}},"required":["name"],"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"schemaFields.oneOf.0.items.[INDEX].additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaFields.oneOf.0.items.[INDEX].additionalProperties","typeLabel":"null"},"uniqueKey":"schemaFields.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Inline schema fields; omit to inherit, null to clear","uniqueKey":"schemaFields.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"mapper":{"type":"string","enum":["jobDescription","categoryClassifier","taxonomyMapping","stableUniqueId","linkExtraction","additionalData","categorize"],"description":"Function that produces this field's value."},"mapperConfig":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"Configuration for the selected mapper."},"name":{"type":"string","description":"Field name"},"description":{"type":"string","description":"Human-readable field description shown in Kadoa"},"instruction":{"type":"string","description":"Optional field-specific AI instruction for extraction guidance"},"fieldType":{"type":"string","description":"Field role (SCHEMA or CLASSIFICATION)"},"example":{"oneOf":[{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)"},{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","type":"null"}]},"shape":{"oneOf":[{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation."},{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","type":"null"}]},"dataType":{"type":"string","description":"Output data type for SCHEMA fields. Use public values such as STRING, NUMBER, BOOLEAN, DATE, DATETIME, MONEY, IMAGE, LINK, OBJECT, or ARRAY."},"isKey":{"type":"boolean","description":"Marks this field as part of the record's primary key. Key fields define row identity across runs and enable data linking (records with the same key values are treated as the same record over time, used for dedupe and change detection). Set true ONLY when the complete key tuple uniquely identifies a logical output record and every component is stable across runs and reliably present (not nullable/missing). Key fields should be scalar STRING, NUMBER, or LINK fields; avoid structured, semantic, boolean, image, and timestamp/date fields as keys. Good candidates: external IDs, SKUs, canonical URLs, posting IDs. Bad candidates: prices, counts, timestamps, free-text titles/descriptions, or anything that can change between runs. Multiple fields may form a composite key; uniqueness applies to their combination, not each component. For derived rows, source-backed grouping dimensions and a deterministic output discriminator may identify the result; measured values and explanations do not. If no supported key tuple satisfies these guarantees, leave isKey unset on every field — data linking will simply be disabled, which is preferable to a wrong key. Choosing a non-stable or non-unique key causes duplicate rows and missed updates."},"categories":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Short title/label of the category"},"definition":{"type":"string","description":"Full definition/description of the category"}},"required":["title","definition"]},"description":"Predefined categories for CLASSIFICATION fields"}},"required":["name"],"additionalProperties":{"oneOf":[{},{"type":"null"}]}},"description":"Inline schema fields; omit to inherit, null to clear","uniqueKey":"schemaFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaFields","typeLabel":"object[] | null"},"schemaEntity":{"type":"string","description":"Entity name for supplied inline schema fields","uniqueKey":"schemaEntity","typeLabel":"string"},"schemaValidationRules":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"schemaValidationRules.oneOf.0.additionalProperties.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaValidationRules.oneOf.0.additionalProperties.additionalProperties","typeLabel":"null"},"uniqueKey":"schemaValidationRules.oneOf.0.additionalProperties","typeLabel":"object"},"description":"Rules; omit to inherit rules for fields retained by a replacement schema, null to clear, {} to manage an empty ruleset","uniqueKey":"schemaValidationRules.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"schemaValidationRules.oneOf.1.additionalProperties.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaValidationRules.oneOf.1.additionalProperties.additionalProperties","typeLabel":"null"},"uniqueKey":"schemaValidationRules.oneOf.1.additionalProperties","typeLabel":"object"},"description":"Rules; omit to inherit rules for fields retained by a replacement schema, null to clear, {} to manage an empty ruleset","uniqueKey":"schemaValidationRules.oneOf.1","typeLabel":"null"}],"uniqueKey":"schemaValidationRules","typeLabel":"object | null"},"notifications":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"eventType":{"type":"string","isRequired":true,"uniqueKey":"notifications.oneOf.0.items.[INDEX].eventType","typeLabel":"string"},"eventConfiguration":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"notifications.oneOf.0.items.[INDEX].eventConfiguration.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"notifications.oneOf.0.items.[INDEX].eventConfiguration.additionalProperties","typeLabel":"null"},"uniqueKey":"notifications.oneOf.0.items.[INDEX].eventConfiguration","typeLabel":"object"},"enabled":{"type":"boolean","uniqueKey":"notifications.oneOf.0.items.[INDEX].enabled","typeLabel":"boolean"},"channelIds":{"type":"array","items":{"type":"string","format":"uuid","uniqueKey":"notifications.oneOf.0.items.[INDEX].channelIds.items.[INDEX]","typeLabel":"string\u003cuuid>"},"uniqueKey":"notifications.oneOf.0.items.[INDEX].channelIds","typeLabel":"string\u003cuuid>[]"},"channels":{"type":"array","items":{"type":"object","properties":{"channelId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"notifications.oneOf.0.items.[INDEX].channels.items.[INDEX].channelId","typeLabel":"string\u003cuuid>"}},"required":["channelId"],"uniqueKey":"notifications.oneOf.0.items.[INDEX].channels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"notifications.oneOf.0.items.[INDEX].channels","typeLabel":"object[]"}},"required":["eventType"],"uniqueKey":"notifications.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Notifications; omit to inherit, null or [] to clear","uniqueKey":"notifications.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"eventType":{"type":"string"},"eventConfiguration":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]}},"enabled":{"type":"boolean"},"channelIds":{"type":"array","items":{"type":"string","format":"uuid"}},"channels":{"type":"array","items":{"type":"object","properties":{"channelId":{"type":"string","format":"uuid"}},"required":["channelId"]}}},"required":["eventType"]},"description":"Notifications; omit to inherit, null or [] to clear","uniqueKey":"notifications.oneOf.1","typeLabel":"null"}],"uniqueKey":"notifications","typeLabel":"object[] | null"},"frequency":{"oneOf":[{"type":"object","properties":{"interval":{"type":"string","enum":["ONLY_ONCE","EVERY_10_MINUTES","EVERY_20_MINUTES","HALF_HOURLY","HOURLY","TWO_HOURLY","THREE_HOURLY","FOUR_HOURLY","SIX_HOURLY","TWELVE_HOURLY","EIGHTEEN_HOURLY","DAILY","TWO_DAY","THREE_DAY","WEEKLY","BIWEEKLY","TRIWEEKLY","FOUR_WEEKS","MONTHLY","CUSTOM"],"description":"Update interval enum (HOURLY/DAILY/CUSTOM/...). When CUSTOM, schedules must be provided.","uniqueKey":"frequency.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"schedules":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["repeat","cron"],"description":"Schedule type","isRequired":true,"uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"interval":{"type":"string","description":"Repeat token (e.g., '1h', '1d') when type=repeat","uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX].interval","typeLabel":"string"},"expressions":{"type":"array","items":{"type":"string","uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX].expressions.items.[INDEX]","typeLabel":"string"},"description":"Cron expressions when type=cron","uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX].expressions","typeLabel":"string[]"},"timezone":{"type":"string","description":"IANA timezone for cron expressions (e.g. 'America/New_York'). Defaults to UTC.","uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX].timezone","typeLabel":"string"}},"required":["type"],"uniqueKey":"frequency.oneOf.0.schedules.items.[INDEX]","typeLabel":"object"},"description":"Cron/repeat schedule specs. Required when interval=CUSTOM.","uniqueKey":"frequency.oneOf.0.schedules","typeLabel":"object[]"},"weekdaysOnly":{"type":"boolean","description":"Skip runs that fall on Saturday or Sunday. Applies only to repeat intervals; for cron, set the weekdays in the expression.","uniqueKey":"frequency.oneOf.0.weekdaysOnly","typeLabel":"boolean"}},"description":"Frequency; omit to inherit, null to clear","uniqueKey":"frequency.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"interval":{"type":"string","enum":["ONLY_ONCE","EVERY_10_MINUTES","EVERY_20_MINUTES","HALF_HOURLY","HOURLY","TWO_HOURLY","THREE_HOURLY","FOUR_HOURLY","SIX_HOURLY","TWELVE_HOURLY","EIGHTEEN_HOURLY","DAILY","TWO_DAY","THREE_DAY","WEEKLY","BIWEEKLY","TRIWEEKLY","FOUR_WEEKS","MONTHLY","CUSTOM"],"description":"Update interval enum (HOURLY/DAILY/CUSTOM/...). When CUSTOM, schedules must be provided."},"schedules":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["repeat","cron"],"description":"Schedule type"},"interval":{"type":"string","description":"Repeat token (e.g., '1h', '1d') when type=repeat"},"expressions":{"type":"array","items":{"type":"string"},"description":"Cron expressions when type=cron"},"timezone":{"type":"string","description":"IANA timezone for cron expressions (e.g. 'America/New_York'). Defaults to UTC."}},"required":["type"]},"description":"Cron/repeat schedule specs. Required when interval=CUSTOM."},"weekdaysOnly":{"type":"boolean","description":"Skip runs that fall on Saturday or Sunday. Applies only to repeat intervals; for cron, set the weekdays in the expression."}},"description":"Frequency; omit to inherit, null to clear","uniqueKey":"frequency.oneOf.1","typeLabel":"null"}],"uniqueKey":"frequency","typeLabel":"object | null"},"recordLimit":{"oneOf":[{"type":"integer","minimum":1,"maximum":2147483647,"description":"Output record limit; omit to inherit, null for template-managed unlimited","uniqueKey":"recordLimit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":2147483647,"description":"Output record limit; omit to inherit, null for template-managed unlimited","uniqueKey":"recordLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"recordLimit","typeLabel":"integer | null"},"recordLimitManaged":{"type":"boolean","enum":[false],"description":"False clears template ownership of the output record limit","uniqueKey":"recordLimitManaged","typeLabel":"enum\u003cboolean>"}},"title":"CreateTemplateVersionBody","description":"Publish a complete immutable template snapshot. Omitted components inherit from the preceding version; null explicitly clears a component.","uniqueKey":"","typeLabel":"CreateTemplateVersionBody · object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","schemaId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","schemaFields":[{"name":"\u003cstring>","mapperConfig":{},"description":"\u003cstring>","instruction":"\u003cstring>","fieldType":"\u003cstring>","example":"\u003cunknown>","shape":"\u003cunknown>","dataType":"\u003cstring>","isKey":true,"categories":[{"title":"\u003cstring>","definition":"\u003cstring>"}]}],"schemaEntity":"\u003cstring>","schemaValidationRules":{},"notifications":[{"eventType":"\u003cstring>","eventConfiguration":{},"enabled":true,"channelIds":["3c90c3cc-0d44-4b50-8888-8dd25736052a"],"channels":[{"channelId":"3c90c3cc-0d44-4b50-8888-8dd25736052a"}]}],"frequency":{"schedules":[{"interval":"\u003cstring>","expressions":["\u003cstring>"],"timezone":"\u003cstring>"}],"weekdaysOnly":true},"recordLimit":1073741824,"recordLimitManaged":false}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7ce4d16d-6ecd-4323-91c8-7967e2094c63":{"description":"201","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","enum":[false],"description":"Error flag (always false on success)","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cboolean>"},"success":{"type":"boolean","enum":[true],"description":"Success flag","isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Version row ID","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid>"},"templateId":{"type":"string","format":"uuid","description":"Parent template ID","isRequired":true,"uniqueKey":"data.templateId","typeLabel":"string\u003cuuid>"},"version":{"type":"number","description":"Version number","isRequired":true,"uniqueKey":"data.version","typeLabel":"number"},"name":{"oneOf":[{"type":"string","description":"Custom display name (null = default 'v.N')","isRequired":true,"uniqueKey":"data.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Custom display name (null = default 'v.N')","isRequired":true,"uniqueKey":"data.name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.name","typeLabel":"string | null"},"publisher":{"type":"object","properties":{"kind":{"oneOf":[{"type":"string","enum":["HUMAN","SERVICE_ACCOUNT","AGENT","SYSTEM"],"description":"Publisher kind; null for legacy/unproven versions","isRequired":true,"uniqueKey":"data.publisher.kind.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["HUMAN","SERVICE_ACCOUNT","AGENT","SYSTEM"],"description":"Publisher kind; null for legacy/unproven versions","isRequired":true,"uniqueKey":"data.publisher.kind.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.publisher.kind","typeLabel":"enum\u003cstring> | null"},"label":{"type":"string","description":"Current human name/email, non-human publisher label, or Unknown for legacy/unproven versions","isRequired":true,"uniqueKey":"data.publisher.label","typeLabel":"string"}},"required":["kind","label"],"description":"Publisher attribution","isRequired":true,"uniqueKey":"data.publisher","typeLabel":"object"},"prompt":{"oneOf":[{"type":"string","description":"User prompt","isRequired":true,"uniqueKey":"data.prompt.oneOf.0","typeLabel":"string"},{"type":"null","description":"User prompt","isRequired":true,"uniqueKey":"data.prompt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.prompt","typeLabel":"string | null"},"schemaId":{"oneOf":[{"type":"string","format":"uuid","description":"Referenced data_schemas ID","isRequired":true,"uniqueKey":"data.schemaId.oneOf.0","typeLabel":"string\u003cuuid>"},{"type":"null","format":"uuid","description":"Referenced data_schemas ID","isRequired":true,"uniqueKey":"data.schemaId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.schemaId","typeLabel":"string\u003cuuid> | null"},"frequency":{"oneOf":[{"type":"object","properties":{"interval":{"type":"string","enum":["ONLY_ONCE","EVERY_10_MINUTES","EVERY_20_MINUTES","HALF_HOURLY","HOURLY","TWO_HOURLY","THREE_HOURLY","FOUR_HOURLY","SIX_HOURLY","TWELVE_HOURLY","EIGHTEEN_HOURLY","DAILY","TWO_DAY","THREE_DAY","WEEKLY","BIWEEKLY","TRIWEEKLY","FOUR_WEEKS","MONTHLY","CUSTOM"],"description":"Update interval enum (HOURLY/DAILY/CUSTOM/...). When CUSTOM, schedules must be provided.","uniqueKey":"data.frequency.oneOf.0.interval","typeLabel":"enum\u003cstring>"},"schedules":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["repeat","cron"],"description":"Schedule type","isRequired":true,"uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"interval":{"type":"string","description":"Repeat token (e.g., '1h', '1d') when type=repeat","uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX].interval","typeLabel":"string"},"expressions":{"type":"array","items":{"type":"string","uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX].expressions.items.[INDEX]","typeLabel":"string"},"description":"Cron expressions when type=cron","uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX].expressions","typeLabel":"string[]"},"timezone":{"type":"string","description":"IANA timezone for cron expressions (e.g. 'America/New_York'). Defaults to UTC.","uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX].timezone","typeLabel":"string"}},"required":["type"],"uniqueKey":"data.frequency.oneOf.0.schedules.items.[INDEX]","typeLabel":"object"},"description":"Cron/repeat schedule specs. Required when interval=CUSTOM.","uniqueKey":"data.frequency.oneOf.0.schedules","typeLabel":"object[]"},"weekdaysOnly":{"type":"boolean","description":"Skip runs that fall on Saturday or Sunday. Applies only to repeat intervals; for cron, set the weekdays in the expression.","uniqueKey":"data.frequency.oneOf.0.weekdaysOnly","typeLabel":"boolean"}},"description":"Frequency configuration for this version","isRequired":true,"uniqueKey":"data.frequency.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"interval":{"type":"string","enum":["ONLY_ONCE","EVERY_10_MINUTES","EVERY_20_MINUTES","HALF_HOURLY","HOURLY","TWO_HOURLY","THREE_HOURLY","FOUR_HOURLY","SIX_HOURLY","TWELVE_HOURLY","EIGHTEEN_HOURLY","DAILY","TWO_DAY","THREE_DAY","WEEKLY","BIWEEKLY","TRIWEEKLY","FOUR_WEEKS","MONTHLY","CUSTOM"],"description":"Update interval enum (HOURLY/DAILY/CUSTOM/...). When CUSTOM, schedules must be provided."},"schedules":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["repeat","cron"],"description":"Schedule type"},"interval":{"type":"string","description":"Repeat token (e.g., '1h', '1d') when type=repeat"},"expressions":{"type":"array","items":{"type":"string"},"description":"Cron expressions when type=cron"},"timezone":{"type":"string","description":"IANA timezone for cron expressions (e.g. 'America/New_York'). Defaults to UTC."}},"required":["type"]},"description":"Cron/repeat schedule specs. Required when interval=CUSTOM."},"weekdaysOnly":{"type":"boolean","description":"Skip runs that fall on Saturday or Sunday. Applies only to repeat intervals; for cron, set the weekdays in the expression."}},"description":"Frequency configuration for this version","isRequired":true,"uniqueKey":"data.frequency.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.frequency","typeLabel":"object | null"},"createdAt":{"type":"string","description":"Creation timestamp","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string"},"schemaFields":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Field name","isRequired":true,"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].name","typeLabel":"string"},"mapper":{"type":"string","enum":["jobDescription","categoryClassifier","taxonomyMapping","stableUniqueId","linkExtraction","additionalData","categorize"],"description":"Function that produces this field's value.","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].mapper","typeLabel":"enum\u003cstring>"},"mapperConfig":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].mapperConfig.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].mapperConfig.additionalProperties","typeLabel":"null"},"description":"Configuration for the selected mapper.","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].mapperConfig","typeLabel":"object"},"description":{"type":"string","description":"Human-readable field description shown in Kadoa","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].description","typeLabel":"string"},"instruction":{"type":"string","description":"Optional field-specific AI instruction for extraction guidance","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].instruction","typeLabel":"string"},"fieldType":{"type":"string","description":"Field role (SCHEMA or CLASSIFICATION)","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].fieldType","typeLabel":"string"},"example":{"oneOf":[{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].example.oneOf.0","typeLabel":"any"},{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","type":"null","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].example.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].example","typeLabel":"any | null"},"shape":{"oneOf":[{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].shape.oneOf.0","typeLabel":"any"},{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","type":"null","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].shape.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].shape","typeLabel":"any | null"},"dataType":{"type":"string","description":"Output data type for SCHEMA fields. Use public values such as STRING, NUMBER, BOOLEAN, DATE, DATETIME, MONEY, IMAGE, LINK, OBJECT, or ARRAY.","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].dataType","typeLabel":"string"},"isKey":{"type":"boolean","description":"Marks this field as part of the record's primary key. Key fields define row identity across runs and enable data linking (records with the same key values are treated as the same record over time, used for dedupe and change detection). Set true ONLY when the complete key tuple uniquely identifies a logical output record and every component is stable across runs and reliably present (not nullable/missing). Key fields should be scalar STRING, NUMBER, or LINK fields; avoid structured, semantic, boolean, image, and timestamp/date fields as keys. Good candidates: external IDs, SKUs, canonical URLs, posting IDs. Bad candidates: prices, counts, timestamps, free-text titles/descriptions, or anything that can change between runs. Multiple fields may form a composite key; uniqueness applies to their combination, not each component. For derived rows, source-backed grouping dimensions and a deterministic output discriminator may identify the result; measured values and explanations do not. If no supported key tuple satisfies these guarantees, leave isKey unset on every field — data linking will simply be disabled, which is preferable to a wrong key. Choosing a non-stable or non-unique key causes duplicate rows and missed updates.","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].isKey","typeLabel":"boolean"},"categories":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Short title/label of the category","isRequired":true,"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX].title","typeLabel":"string"},"definition":{"type":"string","description":"Full definition/description of the category","isRequired":true,"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX].definition","typeLabel":"string"}},"required":["title","definition"],"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"description":"Predefined categories for CLASSIFICATION fields","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].categories","typeLabel":"object[]"}},"required":["name"],"additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX].additionalProperties","typeLabel":"null"},"uniqueKey":"data.schemaFields.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Resolved schema fields from data_schemas","uniqueKey":"data.schemaFields.oneOf.0","typeLabel":"object[]"},{"type":"null","items":{"type":"object","properties":{"mapper":{"type":"string","enum":["jobDescription","categoryClassifier","taxonomyMapping","stableUniqueId","linkExtraction","additionalData","categorize"],"description":"Function that produces this field's value."},"mapperConfig":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null"}]},"description":"Configuration for the selected mapper."},"name":{"type":"string","description":"Field name"},"description":{"type":"string","description":"Human-readable field description shown in Kadoa"},"instruction":{"type":"string","description":"Optional field-specific AI instruction for extraction guidance"},"fieldType":{"type":"string","description":"Field role (SCHEMA or CLASSIFICATION)"},"example":{"oneOf":[{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)"},{"description":"Example value (string, array, or object for OBJECT/ARRAY dataTypes)","type":"null"}]},"shape":{"oneOf":[{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation."},{"description":"Authoritative nested shape for OBJECT/ARRAY fields; without it, a JSON object/array example is promoted to the enforced shape at workflow creation.","type":"null"}]},"dataType":{"type":"string","description":"Output data type for SCHEMA fields. Use public values such as STRING, NUMBER, BOOLEAN, DATE, DATETIME, MONEY, IMAGE, LINK, OBJECT, or ARRAY."},"isKey":{"type":"boolean","description":"Marks this field as part of the record's primary key. Key fields define row identity across runs and enable data linking (records with the same key values are treated as the same record over time, used for dedupe and change detection). Set true ONLY when the complete key tuple uniquely identifies a logical output record and every component is stable across runs and reliably present (not nullable/missing). Key fields should be scalar STRING, NUMBER, or LINK fields; avoid structured, semantic, boolean, image, and timestamp/date fields as keys. Good candidates: external IDs, SKUs, canonical URLs, posting IDs. Bad candidates: prices, counts, timestamps, free-text titles/descriptions, or anything that can change between runs. Multiple fields may form a composite key; uniqueness applies to their combination, not each component. For derived rows, source-backed grouping dimensions and a deterministic output discriminator may identify the result; measured values and explanations do not. If no supported key tuple satisfies these guarantees, leave isKey unset on every field — data linking will simply be disabled, which is preferable to a wrong key. Choosing a non-stable or non-unique key causes duplicate rows and missed updates."},"categories":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"Short title/label of the category"},"definition":{"type":"string","description":"Full definition/description of the category"}},"required":["title","definition"]},"description":"Predefined categories for CLASSIFICATION fields"}},"required":["name"],"additionalProperties":{"oneOf":[{},{"type":"null"}]}},"description":"Resolved schema fields from data_schemas","uniqueKey":"data.schemaFields.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaFields","typeLabel":"object[] | null"},"schemaValidationRules":{"oneOf":[{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.schemaValidationRules.oneOf.0.additionalProperties.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaValidationRules.oneOf.0.additionalProperties.additionalProperties","typeLabel":"null"},"uniqueKey":"data.schemaValidationRules.oneOf.0.additionalProperties","typeLabel":"object"},"description":"Schema validation rules for this version","uniqueKey":"data.schemaValidationRules.oneOf.0","typeLabel":"object"},{"type":"null","additionalProperties":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.schemaValidationRules.oneOf.1.additionalProperties.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaValidationRules.oneOf.1.additionalProperties.additionalProperties","typeLabel":"null"},"uniqueKey":"data.schemaValidationRules.oneOf.1.additionalProperties","typeLabel":"object"},"description":"Schema validation rules for this version","uniqueKey":"data.schemaValidationRules.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.schemaValidationRules","typeLabel":"object | null"},"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Notification configuration ID","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].id","typeLabel":"string\u003cuuid>"},"eventType":{"type":"string","description":"Event type (e.g., workflow_finished, error)","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].eventType","typeLabel":"string"},"eventConfiguration":{"type":"object","additionalProperties":{"oneOf":[{},{"type":"null","uniqueKey":"data.notifications.items.[INDEX].eventConfiguration.additionalProperties.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notifications.items.[INDEX].eventConfiguration.additionalProperties","typeLabel":"null"},"description":"Event-specific config","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].eventConfiguration","typeLabel":"object"},"enabled":{"type":"boolean","description":"Whether this notification is enabled","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].enabled","typeLabel":"boolean"},"channels":{"type":"array","items":{"type":"object","properties":{"channelId":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].channels.items.[INDEX].channelId","typeLabel":"string\u003cuuid>"},"channelName":{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].channels.items.[INDEX].channelName","typeLabel":"string"},"channelType":{"type":"string","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].channels.items.[INDEX].channelType","typeLabel":"string"}},"required":["channelId","channelName","channelType"],"uniqueKey":"data.notifications.items.[INDEX].channels.items.[INDEX]","typeLabel":"object"},"description":"Linked notification channels","isRequired":true,"uniqueKey":"data.notifications.items.[INDEX].channels","typeLabel":"object[]"}},"required":["id","eventType","eventConfiguration","enabled","channels"],"uniqueKey":"data.notifications.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.notifications","typeLabel":"object[]"},"recordLimit":{"oneOf":[{"type":"integer","minimum":1,"maximum":2147483647,"description":"Immutable output record limit; null when managed unlimited or unmanaged","uniqueKey":"data.recordLimit.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":2147483647,"description":"Immutable output record limit; null when managed unlimited or unmanaged","uniqueKey":"data.recordLimit.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recordLimit","typeLabel":"integer | null"},"recordLimitManaged":{"type":"boolean","description":"Whether this version owns the workflow output record limit","uniqueKey":"data.recordLimitManaged","typeLabel":"boolean"}},"required":["id","templateId","version","name","publisher","prompt","schemaId","frequency","createdAt"],"description":"Template version","isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["error","success","data"],"title":"TemplateVersionMutationResponse","description":"Response for template version create/update","uniqueKey":"","typeLabel":"TemplateVersionMutationResponse · object"},"examples":{"Example":{"title":"Example","value":{"error":false,"success":true,"data":{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","templateId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","version":123,"name":"\u003cstring>","publisher":{"kind":"HUMAN","label":"\u003cstring>"},"prompt":"\u003cstring>","schemaId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","frequency":{"interval":"ONLY_ONCE","schedules":[{"type":"repeat","interval":"\u003cstring>","expressions":["\u003cstring>"],"timezone":"\u003cstring>"}],"weekdaysOnly":true},"createdAt":"\u003cstring>","schemaFields":[{"name":"\u003cstring>","mapper":"jobDescription","mapperConfig":{},"description":"\u003cstring>","instruction":"\u003cstring>","fieldType":"\u003cstring>","example":"\u003cunknown>","shape":"\u003cunknown>","dataType":"\u003cstring>","isKey":true,"categories":[{"title":"\u003cstring>","definition":"\u003cstring>"}]}],"schemaValidationRules":{},"notifications":[{"id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","eventType":"\u003cstring>","eventConfiguration":{},"enabled":true,"channels":[{"channelId":"3c90c3cc-0d44-4b50-8888-8dd25736052a","channelName":"\u003cstring>","channelType":"\u003cstring>"}]}],"recordLimit":1073741824,"recordLimitManaged":true}}}},"exampleType":"generated"}},"exampleType":"generated"},"d70fd21b-da8c-46a3-880a-299964a6663b":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates an error occurred","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (e.g., validation errors)","uniqueKey":"details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (e.g., validation errors)","type":"null","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"any | null"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d217b8e4-5484-409b-a0a9-2f42f3435159":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates an error occurred","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (e.g., validation errors)","uniqueKey":"details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (e.g., validation errors)","type":"null","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"any | null"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"b131a310-198c-48cc-b5fc-d0bb14ca5fa7":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates an error occurred","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (e.g., validation errors)","uniqueKey":"details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (e.g., validation errors)","type":"null","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"any | null"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2a7d4a63-ebb9-4876-8539-cdaa5f1f36c8":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"boolean","description":"Indicates an error occurred","isRequired":true,"uniqueKey":"error","typeLabel":"boolean"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"details":{"oneOf":[{"description":"Additional error details (e.g., validation errors)","uniqueKey":"details.oneOf.0","typeLabel":"any"},{"description":"Additional error details (e.g., validation errors)","type":"null","uniqueKey":"details.oneOf.1","typeLabel":"null"}],"uniqueKey":"details","typeLabel":"any | null"}},"required":["error","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":true,"message":"\u003cstring>","details":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"cbb43c3b-42d0-474c-99b3-592d56348840":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"9c8d8c51-80a0-4077-a0f2-ed23c31a4a50":{"url":"https://api.kadoa.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"https://api.kadoa.com/openapi"},"subdomain":"kadoa","siteName":"Kadoa Documentation","title":"Create template version - Kadoa Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-03T17:38:34.360Z","originalFileLocation":"api-reference/templates/create-version.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Publish a new version of a template with prompt, schema, validation, and notification settings\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kadoa Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create template version - Kadoa Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Publish a new version of a template with prompt, schema, validation, and notification settings\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kadoa Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kadoa.com/api-reference/templates/create-version\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kadoa.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+template+version\u0026amp;description=Publish+a+new+version+of+a+template+with+prompt%2C+schema%2C+validation%2C+and+notification+settings\u0026amp;theme=afa28d6325190d37297991d8\u0026amp;signature=b1dd41ac511eb8d9725e0553e703bca8c35c8415f99476c4135da0f8e1208e13\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create template version - Kadoa Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Publish a new version of a template with prompt, schema, validation, and notification settings\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kadoa.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Create+template+version\u0026amp;description=Publish+a+new+version+of+a+template+with+prompt%2C+schema%2C+validation%2C+and+notification+settings\u0026amp;theme=afa28d6325190d37297991d8\u0026amp;signature=b1dd41ac511eb8d9725e0553e703bca8c35c8415f99476c4135da0f8e1208e13\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kadoa/WdUKDmwYX3I6vjmm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kadoa Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ea580c\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kadoa.com/api-reference/templates/create-version\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/templates/create-version.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kadoa.com/#organization\",\"name\":\"Kadoa Documentation\",\"url\":\"https://docs.kadoa.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kadoa/dCOYM0EuffD9qYID/logo/kadoa-logo.svg?fit=max\u0026auto=format\u0026n=dCOYM0EuffD9qYID\u0026q=85\u0026s=344d5ae11cb3c2519a3c1541507ebed5\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kadoa.com#website\",\"name\":\"Kadoa Documentation\",\"url\":\"https://docs.kadoa.com\",\"publisher\":{\"@id\":\"https://docs.kadoa.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kadoa.com/api-reference/templates/create-version#webpage\",\"url\":\"https://docs.kadoa.com/api-reference/templates/create-version\",\"name\":\"Create template version\",\"description\":\"Publish a new version of a template with prompt, schema, validation, and notification settings\",\"dateModified\":\"2026-04-03T17:38:34.360Z\",\"isPartOf\":{\"@id\":\"https://docs.kadoa.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kadoa.com/api-reference/templates/create-version#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kadoa.com/api-reference/templates/create-version#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.kadoa.com/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Templates\",\"item\":\"https://docs.kadoa.com/api-reference/templates/list-templates\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create template version\",\"item\":\"https://docs.kadoa.com/api-reference/templates/create-version\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.kadoa.com/api-reference/templates/create-version#apireference\",\"headline\":\"Create template version\",\"name\":\"Create template version\",\"description\":\"Publish a new version of a template with prompt, schema, validation, and notification settings\",\"url\":\"https://docs.kadoa.com/api-reference/templates/create-version\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kadoa.com/api-reference/templates/create-version#webpage\"},\"dateModified\":\"2026-04-03T17:38:34.360Z\",\"publisher\":{\"@id\":\"https://docs.kadoa.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kadoa.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kadoa Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kadoa Documentation","nav":{"global":{"anchors":[{"anchor":"Changelog","icon":{"style":"duotone","name":"clock-rotate-left"},"href":"https://www.kadoa.com/changelog"},{"anchor":"Trust Center","icon":{"style":"duotone","name":"shield-check"},"href":"https://trust.kadoa.com"},{"anchor":"Contact Us","icon":{"style":"duotone","name":"envelope"},"href":"https://www.kadoa.com/contact"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/docs/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Workflows","pages":[{"openapi":"get /v4/workflows/{workflowId}/data","title":"Get workflow data by ID","href":"/api-reference/workflows/get-workflow-data-by-id"},{"openapi":"get /v4/workflows/{workflowId}/data/export","title":"Create workflow data export","href":"/api-reference/workflows/create-workflow-data-export"},{"openapi":"get /v4/workflows/{workflowId}/data/exports/{exportId}","title":"Download workflow data export","href":"/api-reference/workflows/download-workflow-data-export"},{"openapi":"get /v4/workflows","title":"Get a list of workflows","href":"/api-reference/workflows/get-all-workflows"},{"openapi":"get /v4/workflows/{workflowId}","title":"Get workflow by ID","href":"/api-reference/workflows/get-workflow-by-id"},{"openapi":"get /v4/workflows/{workflowId}/connectors","title":"List destinations delivering this workflow's results","href":"/api-reference/workflows/list-workflow-connectors"},{"openapi":"post /v4/workflows","title":"Create a new workflow","href":"/api-reference/workflows/create-a-new-workflow"},{"openapi":"put /v4/workflows/{workflowId}/run","title":"Run a workflow","href":"/api-reference/workflows/run-a-workflow"},{"openapi":"put /v4/workflows/{workflowId}/schedule","title":"Schedule a workflow","href":"/api-reference/workflows/schedule-a-workflow"},{"openapi":"put /v4/workflows/{workflowId}/metadata","title":"Update workflow metadata","href":"/api-reference/workflows/update-workflow-metadata"},{"openapi":"put /v4/workflows/{workflowId}/pause","title":"Pause a workflow","href":"/api-reference/workflows/pause-a-workflow"},{"openapi":"delete /v4/workflows/{workflowId}","title":"Delete a workflow","href":"/api-reference/workflows/delete-a-workflow"},{"openapi":"put /v4/workflows/{workflowId}/resume","title":"Resume or unpause a workflow","href":"/api-reference/workflows/resume-a-workflow"},{"openapi":"get /v4/workflows/{workflowId}/history","title":"Get the workflow run history","href":"/api-reference/workflows/get-the-workflow-history"},{"openapi":"get /v4/workflows/{workflowId}/quality-metrics","title":"Get workflow quality metrics","href":"/api-reference/workflows/get-workflow-quality-metrics"},{"group":"Workflow Triggers","pages":[{"openapi":"get /v4/workflows/{workflowId}/triggers","title":"List workflow triggers","href":"/api-reference/workflows/list-workflow-triggers"},{"openapi":"post /v4/workflows/{workflowId}/triggers","title":"Create a workflow trigger","href":"/api-reference/workflows/create-workflow-trigger"},{"openapi":"get /v4/workflows/{workflowId}/triggers/{triggerId}","title":"Get a specific trigger","href":"/api-reference/workflows/get-workflow-trigger"},{"openapi":"patch /v4/workflows/{workflowId}/triggers/{triggerId}","title":"Update a trigger","href":"/api-reference/workflows/update-workflow-trigger"},{"openapi":"delete /v4/workflows/{workflowId}/triggers/{triggerId}","title":"Delete a trigger","href":"/api-reference/workflows/delete-workflow-trigger"}]}]},{"group":"Kadoa Agent","pages":[{"title":"Create or continue an Agent session","openapi":"post /v5/agent","href":"/api-reference/assistant/create-or-continue-session"},{"title":"Send a Workflow Agent message","openapi":"post /v5/agent/workflows/{workflowId}/assistant/messages","href":"/api-reference/assistant/send-workflow-message"},{"title":"Get Workflow Agent timeline","openapi":"get /v5/agent/workflows/{workflowId}/timeline","href":"/api-reference/assistant/get-workflow-timeline"},{"title":"Get Agent pause state","openapi":"get /v5/agent/{sessionId}/pause-state","href":"/api-reference/assistant/get-pause-state"},{"title":"Answer an Agent question","openapi":"post /v5/agent/answer","href":"/api-reference/assistant/answer-question"},{"title":"Interrupt an Agent session","openapi":"post /v5/agent/{sessionId}/interrupt","href":"/api-reference/assistant/interrupt-session"},{"title":"Resume an Agent session","openapi":"post /v5/agent/{sessionId}/resume","href":"/api-reference/assistant/resume-session"},{"title":"Stop an Agent session","openapi":"post /v5/agent/{sessionId}/stop","href":"/api-reference/assistant/stop-session"},{"title":"Get Agent strategy","openapi":"get /v5/agent/data/{sessionId}/strategy","href":"/api-reference/assistant/get-strategy"}]},{"group":"Variables","pages":[{"openapi":"post /v4/variables/","title":"Create a variable","href":"/api-reference/variables/create-a-variable"},{"openapi":"get /v4/variables/","title":"List all variables","href":"/api-reference/variables/list-all-variables"},{"openapi":"get /v4/variables/{variableId}","title":"Get a variable","href":"/api-reference/variables/get-a-variable"},{"openapi":"patch /v4/variables/{variableId}","title":"Update a variable","href":"/api-reference/variables/update-a-variable"},{"openapi":"delete /v4/variables/{variableId}","title":"Delete a variable","href":"/api-reference/variables/delete-a-variable"}]},{"group":"Data Changes","pages":[{"openapi":"get /v4/changes","title":"Get all data changes","href":"/api-reference/monitoring/get-all-changes"},{"openapi":"get /v4/changes/{changeId}","title":"Get data change by ID","href":"/api-reference/monitoring/get-change-by-id"}]},{"group":"Notifications","pages":[{"openapi":"post /v5/notifications/channels","title":"Create a new notification channel","href":"/api-reference/notifications/create-notification-channel"},{"openapi":"post /v5/notifications/settings","title":"Create a new notification settings","href":"/api-reference/notifications/create-notification-settings"},{"openapi":"delete /v5/notifications/channels/{channelId}","title":"Delete a notification channel","href":"/api-reference/notifications/delete-notification-channel"},{"openapi":"delete /v5/notifications/settings/{settingsId}","title":"Delete a notification settings","href":"/api-reference/notifications/delete-notification-settings"},{"openapi":"get /v5/notifications/event-types/{eventType}","title":"Retrieve a specific event type details","href":"/api-reference/notifications/get-event-type"},{"openapi":"get /v5/notifications/event-types","title":"Retrieve all available notification event types","href":"/api-reference/notifications/get-event-types"},{"openapi":"get /v5/notifications/channels/{channelId}","title":"Retrieve a specific notification channel","href":"/api-reference/notifications/get-notification-channel"},{"openapi":"get /v5/notifications/channels","title":"Retrieve all notification channels","href":"/api-reference/notifications/get-notification-channels"},{"openapi":"get /v5/notifications/settings/{settingsId}","title":"Retrieve a specific notification settings","href":"/api-reference/notifications/get-notification-setting"},{"openapi":"get /v5/notifications/settings","title":"Retrieve all notification settings","href":"/api-reference/notifications/get-notification-settings"},{"openapi":"post /v5/notifications/test","title":"Test a notification settings with mock data","href":"/api-reference/notifications/test-notifications"},{"openapi":"put /v5/notifications/channels/{channelId}","title":"Update a notification channel","href":"/api-reference/notifications/update-notification-channel"},{"openapi":"put /v5/notifications/settings/{settingsId}","title":"Update a notification settings","href":"/api-reference/notifications/update-notification-settings"}]},{"group":"Schemas","pages":[{"openapi":"get /v4/schemas/","title":"List all schemas","href":"/api-reference/schemas/get-all-schemas"},{"openapi":"get /v4/schemas/{schemaId}","title":"Get schema by ID","href":"/api-reference/schemas/get-schema-by-id"},{"openapi":"post /v4/schemas/","title":"Create new schema","href":"/api-reference/schemas/create-schema"},{"openapi":"put /v4/schemas/{schemaId}","title":"Update existing schema","href":"/api-reference/schemas/update-schema"},{"openapi":"delete /v4/schemas/{schemaId}","title":"Delete schema","href":"/api-reference/schemas/delete-schema"}]},{"group":"Locations","pages":[{"openapi":"get /v4/locations","title":"Get all available locations","href":"/api-reference/locations/get-all-locations"}]},{"group":"Data Quality","pages":[{"title":"Get data quality rules","openapi":"get /v4/workflows/{workflowId}/schema-validation-rules","href":"/api-reference/data-quality/get-rules"},{"title":"Upsert data quality rules","openapi":"put /v4/workflows/{workflowId}/schema-validation-rules","href":"/api-reference/data-quality/upsert-rules"},{"title":"Delete data quality rules for a field","openapi":"delete /v4/workflows/{workflowId}/schema-validation-rules/{fieldName}","href":"/api-reference/data-quality/delete-field-rules"}]},{"group":"Templates","pages":[{"title":"List templates","openapi":"get /v4/templates/","href":"/api-reference/templates/list-templates"},{"title":"Get template","openapi":"get /v4/templates/{templateId}","href":"/api-reference/templates/get-template"},{"title":"Create template","openapi":"post /v4/templates/","href":"/api-reference/templates/create-template"},{"title":"Update template","openapi":"put /v4/templates/{templateId}","href":"/api-reference/templates/update-template"},{"title":"Delete template","description":"Archive a template (soft delete)","openapi":"delete /v4/templates/{templateId}","href":"/api-reference/templates/delete-template"},{"title":"Create template version","openapi":"post /v4/templates/{templateId}/versions","href":"/api-reference/templates/create-version"},{"title":"List template schemas","description":"Retrieve all schemas linked to a template","openapi":"get /v4/templates/{templateId}/schemas","href":"/api-reference/templates/list-schemas"},{"title":"List template workflows","openapi":"get /v4/templates/{templateId}/workflows","href":"/api-reference/templates/list-workflows"},{"title":"Apply template update","openapi":"post /v4/templates/{templateId}/apply","href":"/api-reference/templates/apply-update"},{"title":"Preview schema change","openapi":"post /v4/templates/{templateId}/preview-schema-change","href":"/api-reference/templates/preview-schema-change"},{"title":"Link workflows to template","openapi":"post /v4/templates/{templateId}/link","href":"/api-reference/templates/link-workflows"},{"title":"Unlink workflows from template","openapi":"post /v4/templates/{templateId}/unlink","href":"/api-reference/templates/unlink-workflows"},{"title":"Save workflow as template","openapi":"post /v4/templates/from-workflow","href":"/api-reference/templates/save-from-workflow"}]},{"group":"Support","pages":[{"title":"List support issues","openapi":"get /v4/support/issues","href":"/api-reference/support/get-support-issues"},{"title":"Create support issue","openapi":"post /v4/support/issues","href":"/api-reference/support/create-support-issue"},{"title":"Update support issue","openapi":"patch /v4/support/issues/{issueId}","href":"/api-reference/support/update-support-issue"},{"title":"Get issue states","openapi":"get /v4/support/states","href":"/api-reference/support/get-support-states"}]}]}]}]},"title":"Create template version - Kadoa Documentation","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}