API Reference / Code - Branch Statistics
Get all branch details
get
https://api.intelig.ai/api/v1/intelig/code/branches/details
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getBranchDetails
Returns detailed information for all branches in the organization including name, last commit, and activity metrics. Organization ID is derived from JWT context.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/code/branches/details" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Response 200
application/json · ApiResponseListBranchDetailsDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | BranchDetailsDto[] | — |
Status codes
200— Branch details returned successfully401— Unauthorized - invalid or missing JWT token429— —
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.