curl --request POST \
--url https://api.eddy.engineer/v1/agents.validate \
--header 'Content-Type: application/json' \
--data '{
"doc": {}
}'import requests
url = "https://api.eddy.engineer/v1/agents.validate"
payload = { "doc": {} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({doc: {}})
};
fetch('https://api.eddy.engineer/v1/agents.validate', 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.eddy.engineer/v1/agents.validate",
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([
'doc' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.eddy.engineer/v1/agents.validate"
payload := strings.NewReader("{\n \"doc\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
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.eddy.engineer/v1/agents.validate")
.header("Content-Type", "application/json")
.body("{\n \"doc\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/agents.validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"doc\": {}\n}"
response = http.request(request)
puts response.read_body{
"model": {
"default": "<string>",
"effort": "<string>",
"gateway": "<string>",
"id": "<string>"
},
"policy": {
"defaults": {},
"effects": [
{
"agent": "<string>",
"effect": "<string>",
"effective": "allow",
"engine": "<string>",
"locked": true,
"org": "<string>",
"source": "agent"
}
],
"lock": true
},
"problems": [
{
"message": "<string>",
"path": "<string>"
}
],
"reserved": [
{
"note": "<string>",
"path": "<string>",
"unit": "<string>"
}
],
"resolution": {
"direct": [
"<string>"
],
"problems": [
{
"message": "<string>",
"path": "<string>"
}
],
"scopes": [
"<string>"
],
"tools": [
{
"direct": true,
"effects": [
"<string>"
],
"family": "<string>",
"kind": "tool",
"name": "<string>",
"selector": 123
}
],
"via_catalog": true,
"withheld": [
{
"missing": [
"<string>"
],
"name": "<string>",
"reason": "<string>",
"selector": 123
}
]
},
"shape": true,
"valid": true
}Validate an agent definition (AS17)
The shape and the meaning of an ss.agent/1 document, every problem by its JSON pointer, and its tool selectors resolved against the catalog within the CALLER’s scopes: the tools a run would carry (direct in the model’s tool list, the rest reached through the catalog trio when there are many), the tools WITHHELD and the grants the caller lacks for each, and the scopes a run’s token would hold — never wider than the caller’s. reserved names the sections stored but not yet acted on. Stores nothing.
curl --request POST \
--url https://api.eddy.engineer/v1/agents.validate \
--header 'Content-Type: application/json' \
--data '{
"doc": {}
}'import requests
url = "https://api.eddy.engineer/v1/agents.validate"
payload = { "doc": {} }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({doc: {}})
};
fetch('https://api.eddy.engineer/v1/agents.validate', 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.eddy.engineer/v1/agents.validate",
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([
'doc' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.eddy.engineer/v1/agents.validate"
payload := strings.NewReader("{\n \"doc\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
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.eddy.engineer/v1/agents.validate")
.header("Content-Type", "application/json")
.body("{\n \"doc\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/agents.validate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"doc\": {}\n}"
response = http.request(request)
puts response.read_body{
"model": {
"default": "<string>",
"effort": "<string>",
"gateway": "<string>",
"id": "<string>"
},
"policy": {
"defaults": {},
"effects": [
{
"agent": "<string>",
"effect": "<string>",
"effective": "allow",
"engine": "<string>",
"locked": true,
"org": "<string>",
"source": "agent"
}
],
"lock": true
},
"problems": [
{
"message": "<string>",
"path": "<string>"
}
],
"reserved": [
{
"note": "<string>",
"path": "<string>",
"unit": "<string>"
}
],
"resolution": {
"direct": [
"<string>"
],
"problems": [
{
"message": "<string>",
"path": "<string>"
}
],
"scopes": [
"<string>"
],
"tools": [
{
"direct": true,
"effects": [
"<string>"
],
"family": "<string>",
"kind": "tool",
"name": "<string>",
"selector": 123
}
],
"via_catalog": true,
"withheld": [
{
"missing": [
"<string>"
],
"name": "<string>",
"reason": "<string>",
"selector": 123
}
]
},
"shape": true,
"valid": true
}Body
An ss.agent/1 document: {schema, name, description?, instructions, model {id: default | claude-sonnet-5-5 | claude-opus-5-5 | claude-haiku-5-5 | claude-sonnet-5 | claude-opus-5 (a gateway prefix allowed), effort: low | medium | high | xhigh | max, max_tokens?}, tools [selectors: fn.<app>.<name>, <family>:<effect>, a glob such as fea.* or solve_*, or one operation by its tool name or operation name], knowledge [project:<id>], approvals {read, compute, costly, write, external: allow | ask | deny}, budget {credits, tokens, wall_s, turns, cpu_s (reserved)}, notes?, and the reserved sections triggers (AS18), outputs (AS18), policy (AS19), evals (AS20), stored but not acted on}.
Response
The report