generate-website-post
Cancel Website Generation
Cancel an in-progress website generation for the specified project ID.
This endpoint:
- Finds any in-progress generations for the project
- Updates their status to FAILED with a cancellation message
- Returns details about the cancelled generation
Args: project_id: The project ID of the generation to cancel
Returns: Details of the cancelled generation
POST
Cancel Website Generation
Path Parameters
Response
Successful Response
Generation ID of the cancelled generation
Project ID as UUID
Updated status (should be FAILED)
Available options:
PENDING, GENERATING_PLAN, GENERATING_WEBSITE, COMPLETED, FAILED Status before cancellation
Available options:
PENDING, GENERATING_PLAN, GENERATING_WEBSITE, COMPLETED, FAILED Cancellation message
Timestamp when the generation was cancelled
Cancel Website Generation