API Reference / Code - Team Performance
Get team commit velocity
post
https://api.intelig.ai/api/v1/intelig/code/performance/teams/commit-velocity
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getTeamsCommitVelocity
Returns daily commit velocity data for selected teams over the specified date range. Includes commit counts per day per team, totals, and trend analysis. Filtered by team IDs and date range.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/code/performance/teams/commit-velocity" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"teamIds": [
3,
4
],
"limit": 10,
"repositoryIds": [
10,
11
],
"from": "2026-08-01"
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
teamIds | integer[] | no | Optional team filter. Empty or omitted means every team in the organization. Example: [3,4] |
limit | integer (int32) | no | Maximum number of teams to return. 0 means the server default. Example: 10 |
repositoryIds | integer[] | no | Optional repository filter. Empty or omitted means every repository. Example: [10,11] |
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 |
Response 200
application/json · ApiResponseTeamCommitHistoryResponseDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | TeamCommitHistoryResponseDto | Team-level commit history with daily breakdowns and velocity trends |
Status codes
200— Team commit velocity 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.