API Reference / Code - Organization Performance
Get organization KPIs
post
https://api.intelig.ai/api/v1/intelig/code/performance/organizations/kpis
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getOrganizationKpis
Returns the complete organization KPI snapshot including velocity, quality, collaboration, and consistency metrics with performance ratings. Filtered by from/to date range and optional repository filter in the request body.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/organizations/kpis" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "2026-08-01",
"to": "2026-08-31",
"repositoryIds": [
10,
11
]
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
from | string | no | Start date in YYYY-MM-DD format. Defaults to the first day of the current month. Example: 2026-08-01 |
to | string | no | End date in YYYY-MM-DD format. Defaults to the last day of the current month. Example: 2026-08-31 |
repositoryIds | integer[] | no | Optional repository filter. Empty or omitted means every repository in the organization. Example: [10,11] |
Response 200
application/json · ApiResponseOrganizationKpiResponseDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | OrganizationKpiResponseDto | Organization-level KPI metrics with performance calculations and related entities |
Status codes
200— Organization KPI data returned400— Invalid request body or date format401— Authentication required403— Insufficient permissions for Code Intelligence pillar429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.