Dimensions
Multi-dimensional analysis dimensions
Authentication
Requires session cookie (web app) or API key (x-api-key header). All endpoints are tenant-scoped via entityId.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /api/dimensions?entityId= | List dimensions |
| POST | /api/dimensions | Create dimension |
| PUT | /api/dimensions | Update dimension |
| DELETE | /api/dimensions | Delete dimension |
List dimensions
GET /api/dimensions?entityId={entityId}
Returns an array of dimensions (e.g., department, project, location).
[
{
"id": "dim_abc123",
"name": "Department",
"values": ["Sales", "Engineering", "Operations"]
}
]Create dimension
POST /api/dimensions
Body: { "entityId", "name", "values" }
Update / Delete
PUT /api/dimensions — body: { "entityId", "dimensionId", "name?", "values?" }
DELETE /api/dimensions — body: { "entityId", "dimensionId" }