MINARA

Add an acceptance criterion

POST /v1/chat/sessions/:id/goal/subgoals — Append an acceptance criterion to the standing goal. The judge and the next-turn prompt both carry the criteria. Works o

POST /v1/chat/sessions/:id/goal/subgoals

Append an acceptance criterion to the standing goal. The judge and the next-turn prompt both carry the criteria. Works on an active or paused goal.

MethodPOST
Path/v1/chat/sessions/:id/goal/subgoals
AuthAuthorization: Bearer <token> required by default (configured or generated token); optional only in explicit loopback development mode (MINARA_ALLOW_INSECURE_BIND=1, with GATEWAY_AUTH_TOKEN unset)
Categorychat

Request body

{ "criterion": "all tests pass" }

Response body

{ "ok": true, "goal": { "subgoals": ["all tests pass"] } }

On this page