Programmatic access to the #divisions platform. All endpoints return JSON and require HTTPS.
https://api.divisions.dev/v1
All requests must include your API key in the Authorization header. Keys can be generated from your dashboard.
| Name | Type | Description |
|---|---|---|
| limit | int | Max results (1-100) |
| offset | int | Page offset |
| role | string | Filter by role |
{
"success": true,
"data": [
{
"id": "usr_123",
"name": "Alex Chen",
"role": "admin",
"status": "active"
}
],
"meta": { "limit": 10, "offset": 0, "total": 142 }
}
| Name | Type | Description |
|---|---|---|
| email* | string | User email |
| name* | string | Full name |
| role | string | admin, editor, viewer |
| metadata | object | Custom key-value pairs |
{
"success": true,
"data": {
"id": "usr_456",
"email": "dev@company.com",
"role": "viewer",
"created_at": "2025-01-15T10:30:00Z"
}
}
| Name | Type | Description |
|---|---|---|
| id* | string | Project UUID |
{
"success": true,
"data": {
"id": "prj_789",
"name": "Alpha Release",
"status": "active",
"team_count": 12,
"deployments": 45
}
}
| Name | Type | Description |
|---|---|---|
| name | string | New project name |
| settings | object | Feature flags & configs |
| visibility | string | public, private, team |
{
"success": true,
"message": "Project updated",
"updated_fields": ["name", "settings"]
}
| Name | Type | Description |
|---|---|---|
| start_date* | date | ISO 8601 |
| end_date* | date | ISO 8601 |
| granularity | string | hour, day, week |
{
"success": true,
"data": {
"requests": 15420,
"success_rate": 99.8,
"avg_latency_ms": 42,
"bandwidth_gb": 12.4
}
}
| Name | Type | Description |
|---|---|---|
| X-Confirm-Clear* | string | Must be 'true' |
No Content