The ConvergeQA API gives you programmatic access to the same multi-model review engine that powers the web interface. Run Compare reviews, manage templates, and download review records from your own code, IDE, or agent pipeline.
This Developer and Agent area is Beta. API key generation is available on Pro and Enterprise accounts. Active accounts can generate up to 5 keys. API calls use the same credit balance as web reviews.
Most human-in-the-loop agent use starts with a Developer API key generated on this page. Service-account workflows are separate organization-owned credentials created by org admins on the Organization page for bounded delegated environments such as Codex, Claude-style tools, compatible IDEs, MCP clients, and GitHub Actions.
The local AI coworker skill templates live on the AI Coworkers page. Start there when you want installable Compare, Critique, or Iterate skill instructions instead of raw endpoint details.
X-API-Key.curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/health
The keys generated here are personal Developer API keys. Store them as CONVERGEQA_API_KEY and send them as X-API-Key. A local variable name such as ConvergeQA_Service_Account_Key does not make the key a service-account credential. Org service-account keys are created by org admins on the Organization page, are sent as X-Service-Account-Key, and start with cqa_sa_.
Loading...
X-API-Key header. Keys generated on this page are Developer API keys.X-Service-Account-Key on approved private agent paths. Service-account keys are separate org-admin credentials created on the Organization page and start with cqa_sa_.X-API-Key: your-api-key-hereUser-Agent header. Our edge network blocks default HTTP-library user agents (for example bare Python requests/httpx defaults) before the request reaches the API, returning an unstyled 403. Any descriptive value works, e.g. User-Agent: my-app/1.0.Use the Compare due-diligence path for agent packet and bundle workflows, /api/v1/critique for an audit packet without changing the source document, and /api/v1/iterate for revision loops with accept/decline decisions. The older synchronous /api/v1/quick and /api/v1/compare endpoints are retired.
Developer API keys use the X-API-Key header and are the normal path for human-directed AI coworker calls. Org admins can create org-owned service-account credentials on the Organization page; the default Organization-page key is a full agent workflow key for approved Compare due-diligence, Critique, and Iterate clients, including packet reads, bundle exports, and delegated Critique/Iterate finish decisions.
Local CLI and MCP agent wrappers are available for Compare due diligence, Critique, and Iterate. They read credentials from environment variables, avoid literal key arguments, and return concise machine-facing packet metadata.
CONVERGEQA_API_KEY and sent as X-API-Key. Org service-account keys should be read from CONVERGEQA_SERVICE_ACCOUNT_KEY and sent as X-Service-Account-Key. Do not pass literal keys in command arguments, screenshots, logs, or saved artifacts.models. For Critique and Iterate starts, include model_tier (budget or premium) and a synthesis_model when synthesis is used. For Compare due diligence, model_tier is only for org service-account credentials; Developer API-key callers should omit it.Compare note: use the supported Compare due-diligence client, which targets /api/v1/due-diligence/compare when that private path is enabled for your credential. The retired synchronous Compare path returns a retirement response and does not dispatch model work.
Agent due-diligence Compare uses the supported CLI/MCP client and private /api/v1/due-diligence/compare path when enabled for the credential. Use that path for packet JSON, owner-authenticated bundles, idempotency, and due-diligence record claims. Retired synchronous review endpoints remain listed only so older callers can recognize the replacement path.
Returns API status. Use this to verify your key works.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/health
Returns available AI models and their metadata.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/models
Returns your saved review templates (built-in + custom).
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/templates
Save a custom review template for reuse.
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"name": "My Template", "system_prompt": "You are a medical reviewer...", "prompt_task": "Review for clinical accuracy"}' \
https://convergeqa.net/api/v1/templates
Retired legacy endpoint. Use the supported Compare due-diligence, Critique, or Iterate clients for charged review workflows.
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"prompt": "Review this paragraph for accuracy", "model": "claude-opus-4.8"}' \
https://convergeqa.net/api/v1/quick
Retired legacy endpoint. Use the supported Compare due-diligence client for charged multi-model Compare workflows with packets and bundles.
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"prompt": "Is aspirin recommended for primary prevention of cardiovascular disease?", "models": ["claude-opus-4.8", "gpt-5.5", "gemini-3.1-pro"]}' \
https://convergeqa.net/api/v1/compare
Start an agent-friendly Critique session. Critique produces a structured audit packet and leaves the submitted source unchanged.
Parameters:
prompt (string, required) - content to auditmodels (array, required) - model IDs to dispatch tosynthesis_model (string) - model for audit synthesistemplate (string) - review policy/template name, default Generalmodel_tier - required for service-account credentialscurl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"prompt": "Audit this synthetic deliverable for accuracy.", "models": ["claude-opus-4.8", "gpt-5.5"], "synthesis_model": "claude-opus-4.8", "template": "General", "model_tier": "budget"}' \
https://convergeqa.net/api/v1/critique/start
Returns: {"ok": true, "job_id": "...", "session_id": "..."}
Poll the initial Critique dispatch job. When complete, fetch the session packet for agent-facing findings and decision metadata.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/critique/status/YOUR_JOB_ID
Status values: queued, processing, complete, failed
Retrieve the machine-facing Critique packet with findings, decisions, audit status, safe attribution, and credit/billing status when available.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/critique/YOUR_SESSION_ID/packet
Submit decisions on Critique findings, then continue, finish, or pause the session. Supported decision actions are agree, disagree, and go_deeper.
curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"action": "finish", "decisions": [{"rec_index": 0, "action": "agree"}]}' \
https://convergeqa.net/api/v1/critique/YOUR_SESSION_ID/decide
Export a Critique session as an audit bundle after review decisions are complete.
curl -H "X-API-Key: YOUR_KEY" -o critique.zip \
-X POST https://convergeqa.net/api/v1/critique/YOUR_SESSION_ID/export
List Critique sessions for the authenticated account or scoped service-account credential.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/critique/sessions
Start a full iterative refinement session. The system runs Compare + Synthesis, then returns structured recommendations for you to accept or decline.
Parameters:
prompt (string, required) - document or content to reviewmodels (array, required) - model IDs to dispatch tosynthesis_model (string) - model for synthesis (default: claude-opus-4.8)system_prompt (string) - custom system promptspecialist_roles (array) - [{"model_id": "...", "role": "..."}, ...]reference_material (string) - context that informs but isn't editedcompress (boolean) - optional context compression for unusually large reviews (default: false)model_tier - required for service-account credentialscurl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"prompt": "Review this document for accuracy...", "models": ["claude-opus-4.8", "gpt-5.5", "gemini-3.1-pro"], "synthesis_model": "claude-opus-4.8", "model_tier": "budget"}' \
https://convergeqa.net/api/v1/iterate/start
Returns: {"ok": true, "job_id": "...", "session_id": "..."}
Poll the status of an iterate job. When complete, the result contains the synthesized document and structured recommendations.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/iterate/status/YOUR_JOB_ID
Status values: queued, processing, complete, failed. Note the terminal value is complete, not completed.
Consume-once: after a job reaches a terminal state, this status endpoint serves the full result once and may return not-found on later polls. Treat the session read (GET /api/v1/iterate/<session_id>) as the durable record; don't re-poll status after you have the terminal response.
Retrieve the full session state including all iterations, pending recommendations, and the current document.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/iterate/YOUR_SESSION_ID
Accept or decline each recommendation, then continue iterating or finish the session.
Parameters:
decisions (array, required) - [{"rec_index": 0, "accepted": true, "notes": "..."}, ...]action (string) - "continue", "finish", or "pause"curl -X POST -H "X-API-Key: YOUR_KEY" -H "Content-Type: application/json" \
-d '{"decisions": [{"rec_index": 0, "accepted": true}, {"rec_index": 1, "accepted": false}], "action": "continue"}' \
https://convergeqa.net/api/v1/iterate/YOUR_SESSION_ID/decide
On "continue": Returns a new job_id for the next iteration cycle.
On "finish": Finalizes the session and returns the final document.
Export a completed session as a ZIP file containing the final document, all iteration snapshots, and a decision log.
curl -H "X-API-Key: YOUR_KEY" -o session.zip \
-X POST https://convergeqa.net/api/v1/iterate/YOUR_SESSION_ID/export
List all iterate and critique sessions for your account.
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/iterate/sessions
Retrieve audit report metadata by report ID (e.g., CQA-2026-00042).
curl -H "X-API-Key: YOUR_KEY" https://convergeqa.net/api/v1/audit/CQA-2026-00042
Download documents for a specific audit report.
curl -H "X-API-Key: YOUR_KEY" -o audit.pdf \
https://convergeqa.net/api/v1/audit/CQA-2026-00042/documents/audit-report.pdf