Create a survey draft payload with AI
Creates a strict v3 POST /api/v3/surveys create payload from a creator prompt and returns validation metadata. This endpoint is single-purpose: it does not persist the survey. Clients should validate the returned payload with /api/v3/surveys/validate or use the embedded validation metadata, then create the draft through POST /api/v3/surveys.
The generated payload always sets status: draft. The initial contract supports only type: link; app and website survey creation must stay disabled until the v3 create endpoint accepts those types.
Prompt privacy: prompt text is sent to the configured AI provider to create the payload, but this endpoint does not store prompts and server logs should use request ids and failure categories instead of raw prompt content.
Request body
Example request
{
"language": "en-US"
}Response
Survey create payload generated successfully. The survey has not been created yet.