Get template by ID
curl --request GET \
--url https://api.kadoa.com/v4/templates/{templateId} \
--header 'x-api-key: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"latestVersion": 123,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"versions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"prompt": "<string>",
"schemaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"frequency": {
"schedules": [
{
"interval": "<string>",
"expressions": [
"<string>"
]
}
]
},
"createdAt": "<string>",
"schemaFields": [
{
"name": "<string>",
"description": "<string>",
"fieldType": "<string>",
"example": "<unknown>",
"dataType": "<string>",
"isKey": true
}
],
"schemaValidationRules": {},
"notifications": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventType": "<string>",
"eventConfiguration": {},
"enabled": true,
"channels": [
{
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelName": "<string>",
"channelType": "<string>"
}
]
}
],
"schemaName": "<string>",
"schemaEntity": "<string>"
}
],
"workflowCount": 123,
"hasPrompt": true,
"hasSchema": true,
"hasSchemaValidationRules": true,
"hasNotifications": true,
"hasFrequency": true
}
}Templates
Get template
Retrieve a template by ID, including its version history
GET
/
v4
/
templates
/
{templateId}
Get template by ID
curl --request GET \
--url https://api.kadoa.com/v4/templates/{templateId} \
--header 'x-api-key: <api-key>'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"description": "<string>",
"teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"latestVersion": 123,
"archivedAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"versions": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"templateId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 123,
"prompt": "<string>",
"schemaId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"frequency": {
"schedules": [
{
"interval": "<string>",
"expressions": [
"<string>"
]
}
]
},
"createdAt": "<string>",
"schemaFields": [
{
"name": "<string>",
"description": "<string>",
"fieldType": "<string>",
"example": "<unknown>",
"dataType": "<string>",
"isKey": true
}
],
"schemaValidationRules": {},
"notifications": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"eventType": "<string>",
"eventConfiguration": {},
"enabled": true,
"channels": [
{
"channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"channelName": "<string>",
"channelType": "<string>"
}
]
}
],
"schemaName": "<string>",
"schemaEntity": "<string>"
}
],
"workflowCount": 123,
"hasPrompt": true,
"hasSchema": true,
"hasSchemaValidationRules": true,
"hasNotifications": true,
"hasFrequency": true
}
}Authorizations
API key for authentication
Path Parameters
Template ID
โI