curl --request POST \
--url https://api.example.com/api/presets/{name}/versions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"description": "<string>",
"extensions": [
[
"<string>"
]
],
"fixed_kwargs": {},
"input_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"output_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"state_binding": {
"states": [
{
"state": "<string>",
"subject_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"input_injections": [
{
"into": "<string>",
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
],
"scope_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"templates": [
"<string>"
],
"updates": [
{
"adapter": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"op_id": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
]
}
]
}
}
'import requests
url = "https://api.example.com/api/presets/{name}/versions"
payload = {
"description": "<string>",
"extensions": [["<string>"]],
"fixed_kwargs": {},
"input_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"output_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"state_binding": { "states": [
{
"state": "<string>",
"subject_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"input_injections": [
{
"into": "<string>",
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
],
"scope_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"templates": ["<string>"],
"updates": [
{
"adapter": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"op_id": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<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({
description: '<string>',
extensions: [['<string>']],
fixed_kwargs: {},
input_schema: {content: '<string>', id: '<string>', kwargs: {}},
output_schema: {content: '<string>', id: '<string>', kwargs: {}},
state_binding: {
states: [
{
state: '<string>',
subject_expr: {content: '<string>', id: '<string>', kwargs: {}},
input_injections: [
{
into: '<string>',
jq: {content: '<string>', id: '<string>', kwargs: {}},
template_jq: '<string>'
}
],
scope_expr: {content: '<string>', id: '<string>', kwargs: {}},
templates: ['<string>'],
updates: [
{
adapter: {content: '<string>', id: '<string>', kwargs: {}},
jq: {content: '<string>', id: '<string>', kwargs: {}},
op_id: {content: '<string>', id: '<string>', kwargs: {}},
template_jq: '<string>'
}
]
}
]
}
})
};
fetch('https://api.example.com/api/presets/{name}/versions', 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://api.example.com/api/presets/{name}/versions",
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([
'description' => '<string>',
'extensions' => [
[
'<string>'
]
],
'fixed_kwargs' => [
],
'input_schema' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'output_schema' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'state_binding' => [
'states' => [
[
'state' => '<string>',
'subject_expr' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'input_injections' => [
[
'into' => '<string>',
'jq' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'template_jq' => '<string>'
]
],
'scope_expr' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'templates' => [
'<string>'
],
'updates' => [
[
'adapter' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'jq' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'op_id' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'template_jq' => '<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://api.example.com/api/presets/{name}/versions"
payload := strings.NewReader("{\n \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\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://api.example.com/api/presets/{name}/versions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/presets/{name}/versions")
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 \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"body": {},
"created_at": "<string>",
"fanout": {
"mode": "<string>",
"error": "<string>",
"local_only": true,
"note": "<string>",
"op": "<string>",
"reachable": true,
"results": [
{
"name": "<string>",
"outcome": "<string>",
"detail": "<string>",
"error": "<string>",
"payload": null
}
]
},
"version": 123,
"is_current": false,
"tags": [
"<string>"
]
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "reloading — the server is applying a config reload; retry shortly",
"reloading": true
}Save a new preset version
Save a new version (carry-forward sentinels on omitted fields) then reload and
fan out; 409 if the record is conflicted, 404 for an absent name. The
list_changed emit is GUARDED on a real change to the serialized wire tool OR
its extension combos. The response embeds the per-worker fleet report under
fanout.
curl --request POST \
--url https://api.example.com/api/presets/{name}/versions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"description": "<string>",
"extensions": [
[
"<string>"
]
],
"fixed_kwargs": {},
"input_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"output_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"state_binding": {
"states": [
{
"state": "<string>",
"subject_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"input_injections": [
{
"into": "<string>",
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
],
"scope_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"templates": [
"<string>"
],
"updates": [
{
"adapter": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"op_id": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
]
}
]
}
}
'import requests
url = "https://api.example.com/api/presets/{name}/versions"
payload = {
"description": "<string>",
"extensions": [["<string>"]],
"fixed_kwargs": {},
"input_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"output_schema": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"state_binding": { "states": [
{
"state": "<string>",
"subject_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"input_injections": [
{
"into": "<string>",
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<string>"
}
],
"scope_expr": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"templates": ["<string>"],
"updates": [
{
"adapter": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"jq": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"op_id": {
"content": "<string>",
"id": "<string>",
"kwargs": {}
},
"template_jq": "<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({
description: '<string>',
extensions: [['<string>']],
fixed_kwargs: {},
input_schema: {content: '<string>', id: '<string>', kwargs: {}},
output_schema: {content: '<string>', id: '<string>', kwargs: {}},
state_binding: {
states: [
{
state: '<string>',
subject_expr: {content: '<string>', id: '<string>', kwargs: {}},
input_injections: [
{
into: '<string>',
jq: {content: '<string>', id: '<string>', kwargs: {}},
template_jq: '<string>'
}
],
scope_expr: {content: '<string>', id: '<string>', kwargs: {}},
templates: ['<string>'],
updates: [
{
adapter: {content: '<string>', id: '<string>', kwargs: {}},
jq: {content: '<string>', id: '<string>', kwargs: {}},
op_id: {content: '<string>', id: '<string>', kwargs: {}},
template_jq: '<string>'
}
]
}
]
}
})
};
fetch('https://api.example.com/api/presets/{name}/versions', 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://api.example.com/api/presets/{name}/versions",
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([
'description' => '<string>',
'extensions' => [
[
'<string>'
]
],
'fixed_kwargs' => [
],
'input_schema' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'output_schema' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'state_binding' => [
'states' => [
[
'state' => '<string>',
'subject_expr' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'input_injections' => [
[
'into' => '<string>',
'jq' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'template_jq' => '<string>'
]
],
'scope_expr' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'templates' => [
'<string>'
],
'updates' => [
[
'adapter' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'jq' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'op_id' => [
'content' => '<string>',
'id' => '<string>',
'kwargs' => [
]
],
'template_jq' => '<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://api.example.com/api/presets/{name}/versions"
payload := strings.NewReader("{\n \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\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://api.example.com/api/presets/{name}/versions")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/presets/{name}/versions")
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 \"description\": \"<string>\",\n \"extensions\": [\n [\n \"<string>\"\n ]\n ],\n \"fixed_kwargs\": {},\n \"input_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"output_schema\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"state_binding\": {\n \"states\": [\n {\n \"state\": \"<string>\",\n \"subject_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"input_injections\": [\n {\n \"into\": \"<string>\",\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ],\n \"scope_expr\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"templates\": [\n \"<string>\"\n ],\n \"updates\": [\n {\n \"adapter\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"jq\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"op_id\": {\n \"content\": \"<string>\",\n \"id\": \"<string>\",\n \"kwargs\": {}\n },\n \"template_jq\": \"<string>\"\n }\n ]\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"body": {},
"created_at": "<string>",
"fanout": {
"mode": "<string>",
"error": "<string>",
"local_only": true,
"note": "<string>",
"op": "<string>",
"reachable": true,
"results": [
{
"name": "<string>",
"outcome": "<string>",
"detail": "<string>",
"error": "<string>",
"payload": null
}
]
},
"version": 123,
"is_current": false,
"tags": [
"<string>"
]
}
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "reloading — the server is applying a config reload; retry shortly",
"reloading": true
}Authorizations
Path Parameters
Body
A new-preset-version request. At least one field must be present; an
omitted field carries forward, an explicit [] clears (the store sentinel
rule). output_schema carries forward when omitted, clears on an explicit
null, and wins on an explicit object schema; input_schema follows the
SAME carry-forward rule (omitted carries, null clears, an object schema
wins). description carries forward when omitted and is SET by an explicit
non-empty string (an explicit "" is rejected — the resulting description is
validated non-empty on every save).
A renderable text: its source plus the parameters its render takes.
EXACTLY ONE source is set — content (the text inline) or id (the id of a
stored resource holding the text); neither and both are refused at construction.
kwargs are the render parameters for the TEXT and apply either way, so moving a
text from inline to stored (or back) leaves its parameters untouched.
- TemplatedText
- Input Schema
Show child attributes
Show child attributes
A renderable text: its source plus the parameters its render takes.
EXACTLY ONE source is set — content (the text inline) or id (the id of a
stored resource holding the text); neither and both are refused at construction.
kwargs are the render parameters for the TEXT and apply either way, so moving a
text from inline to stored (or back) leaves its parameters untouched.
- TemplatedText
- Output Schema
Show child attributes
Show child attributes
The optional binding a door carries: one or more :class:StateAttach entries. Frozen.
The same shape is stored on PresetBody/PresetSeed, TargetConversationConfig,
HookRegister and ScheduleCreate, deposited on ToolInvocation through the
ambient dispatch context, and repeated per node by a flow engine.
Show child attributes
Show child attributes
Response
Success.
A newly saved preset version row with the per-worker rebind fan-out report (fields merged, not nested).
Show child attributes
Show child attributes

