Get Trace config for an agent (or the org default)
Trace
Get Trace config for an agent (or the org default)
Returns the per-agent Trace config (spec §5.1). Pass agent_id to read a specific
agent’s config; omit it for the org-wide default a new agent inherits. When nothing
has been configured yet, returns the safe default (enabled:false, mode:warn,
fail_open:true). Requires the trace:configure scope.
GET
Get Trace config for an agent (or the org default)
Authorizations
Use Authorization: Bearer pyai_live_... (or pyai_test_...).
Query Parameters
Agent to read config for; omit for the org default.
Response
Trace config
Example:
"trace.config"
Available options:
warn, modify, block, human_handoff Content hash the models-side gate pins (version-pinned, ETag-cached pull).
Unix ms.
Per-agent Trace config (spec §5.1). May be wrapped as { agent_id, config } or sent raw.