Update Brain Entry
aidelly_update_brain_entryEdit Brain knowledge the user asked to correct or change. Send only the fields to change (type, title, content, tags, platforms, importance, pinned, valid_until). Requires workspace settings permission. Saved workspace knowledge and agency entries (scope agency) are editable; agency entries need the agency owner or staff with Agency Brain permission, cannot be pinned, and return memory_id null (use entry.id). Entries synced from the brand profile, website, interviews, products or documents return 409 BRAIN_ENTRY_DERIVED, to be changed at their source. If queued is true, the edit is saved: do not repeat it. Reuse idempotency_key on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| tags | No | ||
| type | No | ||
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| title | No | ||
| pinned | No | Pin or unpin the entry. pinned=true is not supported for agency entries (400 BRAIN_AGENCY_PIN_UNSUPPORTED); false unpins. | |
| content | No | ||
| brand_id | No | ||
| platforms | No | ||
| importance | No | ||
| valid_until | No | End of validity (ISO 8601 date-time). REST callers may send null to clear it. | |
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |