API Reference / Knowledge - Decisions
Update a decision
patch
https://api.intelig.ai/api/v1/intelig/knowledge/decisions/{id}
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: updateDecision
Partially updates a decision's content and/or context. At least one field must be provided.
Example request
curl -X PATCH "https://api.intelig.ai/api/v1/intelig/knowledge/decisions/1" \
-H "Authorization: ApiKey $INTELIG_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "Keep native extraction; do not adopt a third-party memory layer",
"context": "Blind benchmark scored native extraction roughly 2x the alternative",
"initiativeId": 57
}' Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | yes | — |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
content | string | no | What was decided. Example: Keep native extraction; do not adopt a third-party memory layer |
context | string | no | Why it was decided — the reasoning a reader would need a year from now. Example: Blind benchmark scored native extraction roughly 2x the alternative |
initiativeId | integer (int64) | no | Initiative to link. Send -1 to unlink. Example: 57 |
Response 200
application/json · ApiResponseDecisionDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | DecisionDto | Extracted decision details |
Status codes
200— Decision updated successfully400— No updates provided in request body401— Organization context not set403— Insufficient permissions for Knowledge pillar404— Decision not found429— —
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.