Dozor
Projects

Create a new project

OWNER-only. Mints a fresh API key for the new project.

POST/api/projects

OWNER-only. Mints a fresh API key for the new project.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/api/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "Production",    "organizationId": "org_acme"  }'
{
  "id": "prj_x9y8z7w6",
  "name": "Production",
  "maskedKey": "dp_a1b2••••••••••••••••••••••••f7e8",
  "organizationId": "org_acme",
  "sessionCount": 0,
  "lastUsedAt": null,
  "createdAt": "2026-04-26T10:30:00.000Z",
  "updatedAt": "2026-04-26T10:30:00.000Z"
}
Empty
Empty
Empty