Start questionnaire parsing | Comp AI API
Upload a questionnaire payload and start asynchronous parsing, returning a run ID for real-time progress tracking.
Authorizations
API key for authentication
Body
Organization ID (set automatically from auth context).
"org_abc123"
Name of the questionnaire file.
"vendor-security-questionnaire.xlsx"
MIME type of the file (PDF, image, XLSX, CSV, TXT).
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
Base64-encoded file contents. For the web UI / direct callers. AI/MCP clients should instead upload via /v1/uploads/presign and pass s3Key — base64 through an LLM is impractically slow. Provide exactly one of fileData or s3Key.
Key of a file already uploaded via /v1/uploads/presign (purpose=questionnaire). The server fetches the bytes from storage — no base64 needed. Provide exactly one of fileData or s3Key.
"org_abc/uploads/questionnaire/1735000000-questionnaire.xlsx"

