ai-engine
Create an Alloy decision
Changed onCreates a schema-validated AlloyDecision (v2.0.0). P0/P1 decisions are routed for human approval per the approval matrix. rawInput triggers RAG evidence enrichment automatically.
post/ai/decision
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/ai/decision
- Auth: one of:
- API key in cookie session
- HTTP bearer
Request body
Response
Decision created
Changes
- breaking
the request property
became not nullable - breaking
the request property
became not nullable - breaking
the request property
became not nullable - info
removed the non-success response with the status
- breaking
- info
endpoint added
- info