Add Brain Entry
aidelly_add_brain_entryAdd knowledge to the selected workspace Brain when the user asks to remember or save it. Requires workspace settings permission. Save confirmed brand facts, voice, audience, offers, proof, stories, beliefs, pillars or lessons. Intended for confirmed knowledge rather than invented facts or transient drafts. Search first to avoid duplicates. The entry appears in Brain and legacy Memory; embeddings may finish later. If queued is true, the memory is already saved: do not repeat with a new idempotency_key. If pin_applied is false, saving still succeeded but pinning did not. Set scope=agency only when the user explicitly asks to save agency-wide knowledge for all client workspaces: it needs the agency owner or staff with Agency Brain permission, cannot be pinned, and returns memory_id null (use entry.id). Reuse idempotency_key on retries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| tags | No | ||
| type | Yes | ||
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| scope | No | Target Brain. workspace (default) saves memory-backed knowledge to the selected workspace. agency saves to the agency Brain shared with the agency's client workspaces; it needs the agency owner, or Agency Team staff with manage_agency_brain, on the Agency plan. Agency entries have no memory_id; use entry.id. | workspace |
| title | Yes | ||
| pinned | No | Pin the entry. Not supported for scope=agency (400 BRAIN_AGENCY_PIN_UNSUPPORTED); pin agency entries in the Brain page. | |
| content | Yes | ||
| brand_id | No | ||
| platforms | No | ||
| importance | No | ||
| valid_until | No | ||
| 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 |