API Reference / Strategy - Initiative Intent

Analyze strategic alignment (async)

post https://api.intelig.ai/api/v1/intelig/strategy/initiatives/intent/strategic-alignment/analyze

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

Re-runs the commit→initiative linker over a date window so attribution can promote from INFERRED to VERIFIED tier after ownership patterns are added or changed. Returns 202 immediately with a jobId. Poll GET /jobs/{jobId} for status. Modes: - ANALYZE_NEW only re-evaluates commits since the last run (cheap, idempotent) - REANALYZE_ALL clears existing signals + commit-initiative links in the window, then re-links every commit. Required on first setup or after meaningful pattern changes. Idempotent at the job level: if an analyze job is already in flight for the same org+window+mode, the existing jobId is returned.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/strategy/initiatives/intent/strategic-alignment/analyze" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "REANALYZE_ALL",
    "from": "2026-04-01",
    "to": "2026-05-08"
  }'

Request body

application/json

FieldTypeRequiredDescription
mode string yes Analysis mode One of: ANALYZE_NEW, REANALYZE_ALL Example: REANALYZE_ALL
from string yes Start date in YYYY-MM-DD format Example: 2026-04-01
to string yes End date in YYYY-MM-DD format Example: 2026-05-08

Response 202

application/json · ApiResponseAiGenerationJobResponseDto

FieldTypeDescription
success boolean
message string
data AiGenerationJobResponseDto

Status codes

  • 202 — Job accepted; jobId returned for polling
  • 400 — Invalid mode or date format
  • 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.