hooks
Record Guardrail Definition
Changed onKeep one version of an agent guardrail, so the gate spans that name it can say what each gate is for.
otari hook sends this once per version, the first time it reports a check against it. The fingerprint is recomputed from the gates, and one that does not match the one sent is refused, so a version cannot be stored under another's name. Sending a version again changes nothing. It is stored in the API key's workspace, beside that key's traces, and takes the same key a trace export does: a budget-exempt API key, never the master key.
post/api/v1/hooks/guardrails
Request
- The document declares no server URL.
- Auth
- API key in header Otari-Key
- or API key in header x-api-key
Request body
Response
Successful Response
Changes
- info
endpoint added
- info