REST API
Projects & API Keys
Projects scope your event data. Each project has one or more API keys used to authenticate ingest calls. Raw API key values are shown only once — at creation time.
/projectsList all projects belonging to the authenticated organization.
/projectsCreate a new project. Automatically generates one API key. The raw key is returned once in the response — store it securely.
The apiKey field is the raw (unhashed) key. It is never stored and cannot be retrieved again.
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | required | Display name for the project. |
environment | "production" | "staging" | "development" | optional | Target environment. Defaults to production. |
/projects/:idRetrieve a single project by its ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | Project ID. |
/projects/:idUpdate a project's name or environment.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | Project ID. |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | optional | New display name. |
environment | "production" | "staging" | "development" | optional | New environment. |
/projects/:idPermanently delete a project and all its associated events, incidents, and API keys.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | Project ID. |
/projects/:projectId/api-keysList all API keys for a project. Raw key values are never returned — only metadata.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | required | Project ID. |
/projects/:projectId/api-keysCreate an additional API key for a project. The raw key is returned once.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
projectId | string | required | Project ID. |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
name | string | optional | Friendly label for this key (e.g. "CI/CD"). |
/api-keys/:idRevoke an API key. Any requests using this key will immediately return 401.
Note: This endpoint is at /api-keys/:id (not under /projects). Use GET /projects/:projectId/api-keys to find the key ID.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | required | API key ID. |