Referenta
POST
/api/v1/projects/prefill

Returns prefilled project content or metadata derived from the provided input.

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

curl -X POST "https://example.com/api/v1/projects/prefill" \  -H "Content-Type: application/json" \  -d '{    "projectId": "string",    "paths": [      "string"    ]  }'
{
  "result": "string"
}