AlphoryRUSign inAsk the council
API

The whole council in one API call

Send a question, get the verdict of the best AI models with the agreement score, the disputes and every answer.

Get a key

Create a personal key in the app: Settings → API keys. Keys work on Premium accounts.

Council

POST /api/v1/council. Add "stream": true for live events.

Request
curl https://alphory.com/api/v1/council \
  -H "Authorization: Bearer al_your_key" \
  -H "Content-Type: application/json" \
  -d '{"question": "Postgres or MongoDB for a SaaS with payments?", "mode": "fast"}'
Response
{
  "id": "cm4…",
  "thread_id": "cm4…",
  "status": "done",
  "agreement": 84,
  "verdict": {
    "answer": "**Postgres.** Billing is relational…",
    "confidence": 86,
    "chairman": "Claude",
    "agree": ["Payments need ACID transactions", "…"],
    "split": [{
      "topic": "Is MongoDB a real option?",
      "positions": [{ "models": ["Grok"], "view": "…" }, { "models": ["ChatGPT", "Gemini"], "view": "…" }],
      "stronger": "…",
      "why": "…"
    }],
    "verify": ["…"]
  },
  "answers": [{ "model": "ChatGPT", "text": "…", "confidence": 88 }, "…"],
  "facts": null,
  "duration_ms": 14210
}

Live streaming

Add "stream": true and the run arrives as server-sent events, the same ones the app draws: every answer as it is written, the blind review, the verdict word by word.

data: {"type":"run","runId":"cm4…","members":["chatgpt","gemini","grok","deepseek"],"chairman":"claude"}
data: {"type":"delta","id":"gemini","d":"PostgreSQL is the safer…"}
data: {"type":"answer","answer":{"id":"gemini","confidence":84,…}}
data: {"type":"verdict.delta","d":"**Postgres.** Billing…"}
data: {"type":"verdict","verdict":{…},"agreement":84}
data: {"type":"done","ms":14210}

Follow-ups

Pass the thread_id from a previous answer and the council remembers the conversation.

Errors and limits

Errors come as JSON { "error": { "code", "message" } }. 401: no key, or the account is not on Premium. 400: the request is malformed. 429: too fast or today’s limit is used up. The council takes 30 requests a minute per key.