Trust Centers

Upload a questionnaire (multipart) and parse its rows

POST
/organizations/{organizationId}/projects/{projectId}/questionnaires/upload

Multipart file upload for a vendor questionnaire (CSV/XLSX/XLS/PDF/DOCX). CSV/XLSX/XLS parse synchronously and the questionnaire returns in draft state. PDF/DOCX persist the file, return the questionnaire in parsing state, and enqueue the worker's parse-questionnaire job — the admin UI polls until rows arrive (or status flips to rejected with a failureReason). Optional querystring kind switches the agent prompt to RFP voice; optional customPrompt is appended to the user message at generation time (capped at 1000 chars, sanitized server-side).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid

Query Parameters

kind?string

Value in

  • "questionnaire"
  • "rfp"
customPrompt?string
Lengthlength <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/questionnaires/upload"
{}