API Reference / Code - Commit Intelligence
Stream batch calculation progress
get
https://api.intelig.ai/api/v1/intelig/code/commits/batch-score/stream
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: streamBatchCalculate
Streams real-time progress updates for batch commit intelligence scoring via SSE. Emits events: start (totals), commit_start, commit_complete, commit_skip, commit_error, and complete (final summary). Processes all commits in the from/to date range.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/code/commits/batch-score/stream?from=string&to=string" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
from | string | yes | — |
to | string | yes | — |
Response 200
text/event-stream · ServerSentEventBatchCalculateEvent[]
No body.
Status codes
200— SSE stream of batch calculation progress events400— Invalid date format in from/to parameters401— 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.