API Reference / Knowledge - Artifacts
Soft delete artifact
delete
https://api.intelig.ai/api/v1/intelig/knowledge/artifacts/{id}
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: deleteArtifact
Soft-deletes a knowledge artifact. The artifact is marked as deleted and hidden from listings but can be restored later.
Example request
curl -X DELETE "https://api.intelig.ai/api/v1/intelig/knowledge/artifacts/1" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (int64) | yes | — |
Response 200
application/json · ApiResponseVoid
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | object | — |
Status codes
200— Artifact soft-deleted successfully401— Organization context not set or user not authenticated403— Insufficient permissions for Knowledge pillar404— Artifact 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.