API Reference / Code - Contributor Performance
Get at-risk contributors
post
https://api.intelig.ai/api/v1/intelig/code/performance/contributors/at-risk
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getAtRiskContributors
Returns a list of contributors identified as at-risk based on declining or absent recent activity. Includes risk assessment details and last activity timestamps. Filtered by contributor IDs, repository IDs, and date range.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/contributors/at-risk" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"repositoryIds": [
10,
11
],
"contributorIds": [
1,
2
],
"from": "2026-08-01",
"to": "2026-08-31"
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
repositoryIds | integer[] | no | Optional repository filter. Empty or omitted means every repository. Example: [10,11] |
contributorIds | integer[] | no | Optional contributor filter. Empty or omitted means every contributor. Example: [1,2] |
from | string | yes | Start date in YYYY-MM-DD format Example: 2026-08-01 |
to | string | yes | End date in YYYY-MM-DD format Example: 2026-08-31 |
Response 200
application/json · ApiResponseListAtRiskContributorDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | AtRiskContributorDto[] | — |
Status codes
200— At-risk contributor list returned400— Invalid request body401— 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.