API Reference / Git - Commits

Get commit details

get https://api.intelig.ai/api/v1/intelig/commits/{id}

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

Get detailed information about a specific commit including message, author, date, and optionally file changes. Use includeFileChanges=true to retrieve the full list of modified files.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/commits/1?request=string" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Path parameters

NameTypeRequiredDescription
id integer (int64) yes Commit ID

Query parameters

NameTypeRequiredDescription
request CommitDetailRequestDto yes

Response 200

application/json · ApiResponseCommitDetailResponseDto

FieldTypeDescription
success boolean
message string
data CommitDetailResponseDto Full commit detail including metadata, file changes, and initiative linking

Status codes

  • 200 — Commit details returned successfully
  • 401 — Unauthorized - invalid or missing JWT token
  • 404 — Commit not found
  • 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.