Trust Centers

Kick off AI generation for every pending questionnaire row

POST
/organizations/{organizationId}/projects/{projectId}/questionnaires/{questionnaireId}/generate

Flips the questionnaire to answering and enqueues an SQS job for apps/ai-agent-worker. The worker iterates pending rows, runs each through the KnowledgeBaseAgent, debits Action + Data Credits, and flips the questionnaire to review (or rejected on failure).

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
projectId*string
Formatuuid
questionnaireId*string
Formatuuid

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/497f6eca-6276-4993-bfeb-53cbbbba6f08/generate"
{}