API Reference / Strategy - Initiative Link Proposals

Live proposals for a single pull request

get https://api.intelig.ai/api/v1/intelig/strategy/initiatives/link-proposals/by-pull-request/{prId}

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

The pull-request equivalent of the by-commit read. A commit that belongs to a linked PR normally inherits that PR's link, so a PR proposal settles its commits too. Requires the `strategy:read` scope.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/strategy/initiatives/link-proposals/by-pull-request/1" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Path parameters

NameTypeRequiredDescription
prId integer (int64) yes

Response 200

application/json · ApiResponseListInitiativeLinkProposalDto

FieldTypeDescription
success boolean
message string
data InitiativeLinkProposalDto[]

Status codes

  • 200 — Proposals returned
  • 401 — Not authenticated
  • 403 — Insufficient permissions to access strategy pillar
  • 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.