POST
/
codenull
/
ai
/
api
/
v1
/
generate-website
{
  "generation_id": "<string>",
  "project_id": "<string>",
  "status": "PENDING",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "message": "<string>",
  "version": 123,
  "provider": "<string>"
}

Example Usage

For complete API documentation and examples, please refer to your Swagger UI.
curl -X 'POST' \
  'https://localhost:8080/codenull/ai/api/v1/generate-website' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "project_id": "123e4567-e89b-12d3-a456-426614174000"
}'

Body

application/json
project_id
string
required

Project ID as UUID

provider
string | null

LLM provider to use (nvidia or azure). If not specified, default is used.

Response

Successful Response

generation_id
string
required

Generation ID as UUID

project_id
string
required

Project ID as UUID

status
enum<string>
required

Status of the generation process

Available options:
PENDING,
GENERATING_PLAN,
GENERATING_WEBSITE,
COMPLETED,
FAILED
created_at
string<date-time>
required

Timestamp when the generation was created

updated_at
string<date-time>
required

Timestamp when the generation was last updated

message
string | null

Additional information about the generation process

version
integer | null

Website version number

provider
string | null

LLM provider used for generation (nvidia or azure)