curl --request POST \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/validation/fix \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'Triggers the AI agent to automatically fix validation errors in the survey. The fix runs asynchronously — poll GET /surveys/{id} or use a webhook to receive completion notifications.
curl --request POST \
--url https://api.questra.ai/surveys/{survey_id_or_slug}/validation/fix \
--header 'Authorization: Bearer <token>' \
--header 'X-Org-Id: <x-org-id>'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The survey ID or slug
Fix job accepted and running asynchronously