`POST /api/councils` — start a council (the "New council" launcher, SCG-158). The service applies the workspace budget gate before the council row is written.
const url = 'https://example.com/api/councils';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"judge_profile_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","mode":"analyze","participant_profile_ids":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"prompt":"example","target_id":"example","target_metadata":"example","target_type":"issue"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/councils \ --header 'Content-Type: application/json' \ --data '{ "judge_profile_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "mode": "analyze", "participant_profile_ids": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "prompt": "example", "target_id": "example", "target_metadata": "example", "target_type": "issue" }'POST /api/councils — start a council (the “New council” launcher, SCG-158). The
service applies the workspace budget gate before the council row is written.
Request Bodyrequired
Section titled “Request Bodyrequired”object
OpenAPI mirror of the database-backed councils.mode closed set.
OpenAPI mirror of the database-backed councils.target_type closed set.
Responses
Section titled “Responses”OK
GET /api/councils/{id} — the council plus its members and the created task.
object
The task a convert-to-task created from this council, if any.
One member’s contribution to a council: who spoke, through which vendor, what it concluded and what it said.
object
The harness the member ran on.
The redacted position text.
Why the turn fell back to a canned text instead of reaching a provider.
Whether this member was the council’s judge.
The agent profile that spoke; None for a synthetic provider perspective or a
profile deleted since.
The seat (lead | reviewer | specialist); None for a synthetic perspective.
The provider (vendor) the harness routes to, e.g. anthropic, openai.
Example
{ "members": [ { "verdict": "approve" } ]}