API Reference / Strategy - Themes

Preview a theme merge

post https://api.intelig.ai/api/v1/intelig/strategy/themes/merge/preview

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

Dry run that returns the count of child initiatives that will be reassigned to the primary if the proposed merge is confirmed.

Example request

curl -X POST "https://api.intelig.ai/api/v1/intelig/strategy/themes/merge/preview" \
  -H "Authorization: ApiKey $INTELIG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "primaryThemeId": 4,
    "secondaryThemeIds": [
      7,
      9
    ],
    "mergeReason": "Two names for the same strategic bet"
  }'

Request body

application/json

FieldTypeRequiredDescription
primaryThemeId integer (int64) yes The theme that survives the merge. Example: 4
secondaryThemeIds integer[] yes The themes absorbed into the primary. Example: [7,9]
mergeReason string no Why, for the audit trail. Example: Two names for the same strategic bet

Response 200

application/json · ApiResponseThemeMergePreviewDto

FieldTypeDescription
success boolean
message string
data ThemeMergePreviewDto

Status codes

  • 200 — Preview produced
  • 400 — Invalid request payload
  • 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.