Skip to main content
Nowledge Mem

Preview label deletion

POST
/labels/{label_id}/delete/preview

Return the exact resources whose label assignment would be detached. Memories and resources are preserved.

Path Parameters

label_id*string

Label id

Response Body

application/json

curl -X POST "https://example.com/labels/string/delete/preview"
{  "action": "string",  "affected": {    "entities": 0,    "memories": 0,    "sources": 0,    "threads": 0,    "total": 0  },  "affected_ids": {    "entities": [      "string"    ],    "limit_per_type": 0,    "memories": [      "string"    ],    "sources": [      "string"    ],    "threads": [      "string"    ],    "truncated": true  },  "can_apply": true,  "duplicate_assignments": 0,  "memories_preserved": true,  "plan_id": "string",  "source": {    "canonical_name": "string",    "color": "string",    "description": "string",    "id": "string",    "name": "string"  },  "target": null}