API Reference / Strategy - Initiative Intent

Get linked PRs

get https://api.intelig.ai/api/v1/intelig/strategy/initiatives/intent/strategic-alignment/prs/linked

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

Returns paginated list of PRs that are linked to any initiative. Used for drilldown from the Strategic Alignment dashboard "linked PRs" count.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/strategy/initiatives/intent/strategic-alignment/prs/linked" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Query parameters

NameTypeRequiredDescription
windowDays integer (int32) no Time window in days (default: 14, max: 90)
from string no Start date (YYYY-MM-DD) for absolute date range
to string no End date (YYYY-MM-DD) for absolute date range
targetQuarter string no Target quarter to filter linked PRs (Q1, Q2, Q3, Q4)
targetYear integer (int32) no Target year to filter linked PRs
page integer (int32) no Page number (0-based)
size integer (int32) no Page size

Response 200

application/json · ApiResponseAlignmentPRsResponseDto

FieldTypeDescription
success boolean
message string
data AlignmentPRsResponseDto Paginated response for alignment pull requests drilldown

Status codes

  • 200 — Linked PRs returned successfully
  • 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.