API Reference / Code - Intelligence Score

Get Engineering Intelligence Score

post https://api.intelig.ai/api/v1/intelig/code/performance/intelligence

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

Returns the Engineering Intelligence Score (EIS) for the specified scope. Supports organization, team, and contributor scope types via scopeType and scopeId. Filters by from/to date range. Returns the composite score with pillar breakdowns.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/intelligence" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "scopeType": "ORGANIZATION",
    "scopeId": 42,
    "from": "2024-01-01",
    "to": "2024-01-31"
  }'

Request body

application/json

FieldTypeRequiredDescription
scopeType string yes Scope type for the score (ORGANIZATION, TEAM, or CONTRIBUTOR) One of: CONTRIBUTOR, TEAM, ORGANIZATION, PERSONAL Example: ORGANIZATION
scopeId integer (int64) no Scope entity ID (org, team, or contributor ID). Required for TEAM and CONTRIBUTOR scope types. Example: 42
from string no Start date in YYYY-MM-DD format Example: 2024-01-01
to string no End date in YYYY-MM-DD format Example: 2024-01-31

Response 200

application/json · ApiResponseIntelligenceScoreResponseDto

FieldTypeDescription
success boolean
message string
data IntelligenceScoreResponseDto Engineering Intelligence Score with pillar breakdowns and trend data

Status codes

  • 200 — Intelligence score returned with pillar breakdown
  • 400 — Invalid request body, scope type, or date format
  • 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.