Skip to content

`POST /api/councils/{id}/convert-to-task` — convert a council into a task. The body is the actioned council whose `created_task_id` names the task it made.

POST
/api/councils/{id}/convert-to-task
curl --request POST \
--url https://example.com/api/councils/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/convert-to-task

POST /api/councils/{id}/convert-to-task — convert a council into a task. The body is the actioned council whose created_task_id names the task it made.

id
required
string format: uuid

OK

Media typeapplication/json

GET /api/councils/{id} — the council plus its members and the created task.

object
completed_at
string | null format: date-time
created_at
required
string format: date-time
created_by
required
string format: uuid
id
required
string format: uuid
judge_confidence
number | null format: double
judge_profile_id
string | null format: uuid
judge_synthesis
string | null
mode
required
string
outcome
prompt
string | null
recommended_action
status
required
string
target_id
string | null
target_metadata
required
target_type
required
string
workspace_id
required
string format: uuid
created_task_id

The task a convert-to-task created from this council, if any.

string | null format: uuid
members
required
Array<object>

One member’s contribution to a council: who spoke, through which vendor, what it concluded and what it said.

object
agent_type

The harness the member ran on.

string | null
completed_at
string | null format: date-time
content
required

The redacted position text.

string
cost_usd
number | null format: double
fallback_reason

Why the turn fell back to a canned text instead of reaching a provider.

string | null
is_judge
required

Whether this member was the council’s judge.

boolean
model
string | null
profile_id

The agent profile that spoke; None for a synthetic provider perspective or a profile deleted since.

string | null format: uuid
profile_name
string | null
profile_slug
string | null
role

The seat (lead | reviewer | specialist); None for a synthetic perspective.

string | null
started_at
required
string format: date-time
turn_id
required
string format: uuid
vendor

The provider (vendor) the harness routes to, e.g. anthropic, openai.

string | null
verdict
One of:

None when the turn carries no recognisable Verdict: line (a fallback turn, or a turn recorded before the verdict line was asked for).

string
Allowed values: approve concerns reject

Example

{
"members": [
{
"verdict": "approve"
}
]
}