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 when GATEWAY_AUTH_TOKEN is set
Categorychat

Request body

{ "criterion": "all tests pass" }

Response body

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

On this page