curl --request GET \
--url https://api.example.com/api/config/settings-schema \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/config/settings-schema"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/api/config/settings-schema', 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/config/settings-schema",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/config/settings-schema"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/config/settings-schema")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/config/settings-schema")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"groups": [
{
"fields": [
{
"accepted_env_vars": [
"<string>"
],
"env_var": "<string>",
"name": "<string>",
"required": true,
"secret": true,
"type": "<string>",
"value": "<unknown>",
"value_source": "deployment",
"default": null,
"default_namespace_var": "<string>",
"description": "<string>",
"key_material": false,
"nested_group": "<string>",
"reload_class": "hot"
}
],
"module": "<string>",
"name": "<string>",
"qualname": "<string>"
}
]
}
}{
"error": "<string>",
"code": "<string>"
}List settings groups with their resolved field values
Return every registered settings group with per-field current values.
Each group carries the settings class’ field metadata plus a value per
field, resolved as the answering process resolves it. Each layer reads a field under every
name that sets it: its accepted names, the JSON name of a nested group it is in, and its
delimited names. A field the deployment sets on any worker of the fleet, under any such
name, keeps the deployment’s value (its value in this process’s env, then the shared
TAI_DEFAULT_* namespace, then the field default — a stored copy never applies); a
worker whose deployment does not set it runs that fallback. Every other field resolves from
the stored env, then the shared TAI_DEFAULT_* namespace (process env, then the store),
then the field default.
Nested-group reference fields (env_var == "") are non-editable and report
value: null. Secret fields report their real value — this authed surface
round-trips values through the editor; masking is display-side only, never on the wire.
Each field also carries value_source naming which layer supplied its
resolved value so a UI can badge provenance: "deployment" (the field is
set by the deployment env; it is locked, and a save that sets it is refused),
"stored" (the stored env), "default_namespace" (a TAI_DEFAULT_*
fallback, from process env or the store), "field_default" (the bare field
default), or null for a non-editable nested-group reference.
Only IMPORTED settings classes appear: in a running skeleton the kit, skeleton, and manifest-loaded plugin modules — the intended scope.
curl --request GET \
--url https://api.example.com/api/config/settings-schema \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/config/settings-schema"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.example.com/api/config/settings-schema', 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/config/settings-schema",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/config/settings-schema"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/config/settings-schema")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/config/settings-schema")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": {
"groups": [
{
"fields": [
{
"accepted_env_vars": [
"<string>"
],
"env_var": "<string>",
"name": "<string>",
"required": true,
"secret": true,
"type": "<string>",
"value": "<unknown>",
"value_source": "deployment",
"default": null,
"default_namespace_var": "<string>",
"description": "<string>",
"key_material": false,
"nested_group": "<string>",
"reload_class": "hot"
}
],
"module": "<string>",
"name": "<string>",
"qualname": "<string>"
}
]
}
}{
"error": "<string>",
"code": "<string>"
}
