API Reference / Strategy - Initiative Discovery

List the commits behind a candidate

get https://api.intelig.ai/api/v1/intelig/strategy/discovery/candidates/{candidateId}/commits

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

Returns the commits that caused this candidate to be proposed — the evidence for the suggestion, so the decision to confirm or reject is not taken blind.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/strategy/discovery/candidates/1/commits" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Path parameters

NameTypeRequiredDescription
candidateId integer (int64) yes

Response 200

application/json · ApiResponseListSupportingCommitResponse

FieldTypeDescription
success boolean
message string
data SupportingCommitResponse[]

Status codes

  • 200 — OK
  • 401 — —
  • 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.