Async API tasks

Generate a site with AI from a prompt

Runs the AI planner on the supplied prompt (instructions), then creates the site and generates its pages. Requires business_data and instructions.

post/api/async-tasks/v2/generate-site-with-ai

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/async-tasks/v2/generate-site-with-ai
  • Auth
    HTTP basic

Request body

instructionsstring

Response

OK

created_atstring date-time
finished_atstring date-time
idstring
status'CREATED' | 'IN_PROGRESS' | 'FAILED' | 'COMPLETED'
type'GENERATE_SITE_WITH_AI' | 'GENERATE_SITE_FROM_URL' | 'IMPORT_CONTENT_FROM_URL' | 'CLASSIC_TO_FLEX_MIGRATION'

Changes

No recorded changes to this operation across all 1 revision of this API.