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.
| Method | POST |
| Path | /v1/chat/sessions/:id/goal/subgoals |
| Auth | Authorization: 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) |
| Category | chat |
Request body
{ "criterion": "all tests pass" }Response body
{ "ok": true, "goal": { "subgoals": ["all tests pass"] } }