Questionnaire
Generate answers for a questionnaire
Changed onStarts background answer generation for an already-parsed questionnaire and returns a run handle immediately. Poll GET /v1/questionnaire/:id until answeredQuestions equals totalQuestions, then read the answers from its questions.
post/v1/questionnaire/{id}/auto-answer
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
idstring required
Response
Example response
{
"questionnaireId": "qst_6a179d26c4ad2c1c816ee16d",
"runId": "run_cmpotsz153eac0ultc1ya87f5",
"publicAccessToken": "pat_...",
"status": "generating",
"totalQuestions": 23,
"message": "Generating answers for 23 questions. Poll GET /v1/questionnaire/qst_... until answeredQuestions reaches totalQuestions."
}Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info