API Reference / Strategy - Initiatives
Preview an initiative merge
post
https://api.intelig.ai/api/v1/intelig/strategy/initiatives/merge/preview
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: previewMerge_1
Dry run that returns the counts of artifacts that will be reassigned to the primary if the proposed merge is confirmed. No mutations.
Example request
curl -X POST "https://api.intelig.ai/api/v1/intelig/strategy/initiatives/merge/preview" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"primaryInitiativeId": 57,
"secondaryInitiativeIds": [
61,
62
],
"mergeReason": "Duplicate discovery of the same body of work"
}' Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
primaryInitiativeId | integer (int64) | yes | The initiative that survives the merge. Example: 57 |
secondaryInitiativeIds | integer[] | yes | The initiatives absorbed into the primary. Example: [61,62] |
mergeReason | string | no | Why, for the audit trail. Example: Duplicate discovery of the same body of work |
Response 200
application/json · ApiResponseInitiativeMergePreviewDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | InitiativeMergePreviewDto | — |
Status codes
200— Preview produced400— Invalid request payload401— Not authenticated403— Insufficient permissions to access strategy pillar429— —
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.