Projects API
Manage projects and API keys.
Projects API
Endpoints for managing projects and their API keys.
GET /projects
List all projects for the authenticated user.
Request
Response (200 OK)
API keys are partially masked in list responses. Use GET /projects/:id for the full key.
POST /projects
Create a new project.
Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | ✓ | Project name (1-100 characters) |
Response (201 Created)
GET /projects/:id
Get a single project with full API key.
Request
Response (200 OK)
PUT /projects/:id
Update a project.
Request
Response (200 OK)
DELETE /projects/:id
Delete a project and all associated logs.
Request
Response (204 No Content)
No response body.
This action is irreversible. All logs associated with the project will be permanently deleted.
POST /projects/:id/rotate-key
Rotate the API key for a project.
Request
Response (200 OK)
After rotation, the old API key is immediately invalidated. Update your applications with the new key.
Project Limits
| Plan | Max Projects |
|---|---|
| Free | 1 |
| Starter | 5 |
| Pro | 20 |
| Enterprise | Unlimited |