API Reference / Code - Contributor Performance

Get contributor PRs reviewed

post https://api.intelig.ai/api/v1/intelig/code/performance/contributors/prs-reviewed

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

Returns PR review counts for selected contributors over the specified date range. Shows how many PRs each contributor has reviewed, with daily breakdown and growth percentage. Filtered by contributor IDs and repository IDs.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/contributors/prs-reviewed" \
  -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

FieldTypeRequiredDescription
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 · ApiResponseContributorPRsReviewedResponseDto

FieldTypeDescription
success boolean
message string
data ContributorPRsReviewedResponseDto Contributor-level PR review statistics with growth trends

Status codes

  • 200 — Contributor PR review 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.