/:project/api/... routes.
List projects
GET /api/projects
| Query | Type | Description |
|---|---|---|
limit | number | Optional pagination limit. |
offset | number | Optional pagination offset. |
my | flag | When present, only returns projects owned by the authenticated user (requires auth). |
- Auth – optional. Responses include extra fields (owner, timestamps) when authenticated.
- Response
Create a project
PUT /api/projects
- Auth – signed-in user with a verified email.
- Body
"Default session") for the project. The response body is the new project ID.
Update or delete a project
All project-scoped operations use the slug in the URL:/marketing-research/api.
| Endpoint | Auth | Body | Description |
|---|---|---|---|
PATCH /:project/api | Requires projects.write on the slug. | Optional fields name, description, public, slug. | Changing public or slug is restricted to the owner. Setting public toggles between "public" and "private" visibility. |
DELETE /:project/api | Only the project owner can call this endpoint. | — | Permanently removes the project and cascades to its child resources. |
/:project/api/... endpoint documented in the Project Resources section inherits the same slug semantics.