API Reference / Code - Contributor Performance

Get contributor top KPIs

post https://api.intelig.ai/api/v1/intelig/code/performance/contributors/kpis

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: getTopKpisContributors

Returns top contributor KPI data including velocity, quality, and collaboration metrics. Supports sorting and filtering by specific KPI dimensions. Filtered by contributor IDs, repository IDs, and date range.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/contributors/kpis" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contributorIds": [
      1,
      2
    ],
    "teamIds": [
      3
    ],
    "repositoryIds": [
      10,
      11
    ],
    "ratings": [
      "HIGH",
      "MEDIUM"
    ],
    "fromDate": "2024-01-01",
    "toDate": "2024-01-31"
  }'

Request body

application/json

FieldTypeRequiredDescription
contributorIds integer[] no Optional list of contributor IDs to filter by Example: [1,2]
teamIds integer[] no Optional list of team IDs to filter by Example: [3]
repositoryIds integer[] no Optional list of repository IDs to filter by Example: [10,11]
ratings string[] no Optional list of performance ratings to filter by Example: ["HIGH","MEDIUM"]
fromDate string yes Start date in YYYY-MM-DD format Example: 2024-01-01
toDate string yes End date in YYYY-MM-DD format Example: 2024-01-31
pageNumber integer (int32) no Page number (0-indexed) Example: 0
pageSize integer (int32) no Number of results per page (1-100) Example: 20

Response 200

application/json · ApiResponseListContributorKpiResponseDto

FieldTypeDescription
success boolean
message string
data ContributorKpiResponseDto[]

Status codes

  • 200 — Contributor KPI data returned
  • 400 — Invalid request body
  • 401 — Authentication required
  • 403 — Insufficient permissions for Code Intelligence pillar
  • 429 — —

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.