Skip to main content
POST
Validate an agent definition (AS17)

Body

application/json
doc
object
required

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

model
object
policy
object

AS19: each effect's policy for the caller's org — the agent's own word, else the org's default, else the engine's; a locked org default is a floor.

problems
object[]
reserved
object[]
resolution
object

The tool selectors resolved against the catalog within the caller's scopes.

shape
boolean
valid
boolean