Creates project content from a prompt and optional context. Output shape can vary by generator and template.
Authorization
dashboardSession sb-access-token<token>
Authenticated dashboard session cookie. Some routes also rely on additional Supabase SSR cookies.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/generate" \ -H "Content-Type: application/json" \ -d '{ "projectId": "string" }'{
"result": "string"
}{
"error": "string",
"details": "string",
"receivedKeys": [
"string"
]
}