API Documentation

Base URL: https://zes.codes/api/copilot

GET
/health

Health check

GET
/api

API reference

POST
/api/projects/{id}/generate/

Trigger AI website generation

GET
/api/projects/{id}/generate/status/{gen_id}

Get generation status

POST
/api/projects/{id}/seo/audit

Run Lighthouse SEO audit

GET
/api/projects/{id}/seo/audit/{audit_id}

Get audit results

POST
/api/projects/{id}/seo/keywords

Keyword research

POST
/api/projects/{id}/seo/geo-score

GEO content scoring

POST
/api/projects/{id}/seo/pseo

Create pSEO template

GET
/api/design-systems/

List design systems

POST
/api/design-systems/

Create design system

GET
/api/design-systems/{id}

Get design system details

POST
/api/brand-extract/

Extract brand tokens from description

💡 Tip

All API endpoints are available via the proxy at /api/copilot/. Replace {id} with your project ID.