Skip to main content
Submit one text question against the project’s indexed sources. Your API key needs the reviews:write scope. Plangrep uses the existing durable review engine, server-selected model, token accounting, citation finalization, and current credit policy.

Endpoint

Idempotency-Key
string
required
Client-generated key, up to 256 characters. Identical retries return the original execution.
body
string
required
Text question, from 1 to 524,288 characters and no more than 524,288 UTF-8 bytes after trimming. The complete JSON request body may be up to 4 MiB. Attachments, voice, and model options are not accepted.
The endpoint returns 202 Accepted with the user message, durable execution, and idempotent. Connect to execution.streamUrl to receive public events over SSE or NDJSON. Use execution.url as the polling fallback. The execution status is initially queued or running; its terminal statuses are completed, failed, and cancelled.
See Stream Review Execution for Postman, replay, and event details. Only one execution can be active in a review. A second turn returns 409 review_execution_active.

Errors