Skip to main content
POST
Create an agent memory

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).

Body

application/json
category
enum<string>
required

The kind of memory: SEMANTIC (facts), PROCEDURAL (playbooks / how-to), or EPISODIC (summaries of past runs).

Available options:
SEMANTIC,
PROCEDURAL,
EPISODIC
content
string
required
scope_type
enum<string>
required

What a memory is scoped to: CLIENT (facts about the MSP itself) or END_CLIENT (facts about one end-client company, keyed by its PSA company id).

Available options:
CLIENT,
END_CLIENT
audiences
enum<string>[] | null

Which agent surface a memory targets: ALL (every surface), TRIGGERED_SCHEDULED_AGENTS (automation agents working tickets), CHAT_AGENTS_INTERNAL (technician-facing chat), or CHAT_AGENTS_EXTERNAL (end-user-facing chat).

Available options:
ALL,
TRIGGERED_SCHEDULED_AGENTS,
CHAT_AGENTS_INTERNAL,
CHAT_AGENTS_EXTERNAL
confidence
number
default:1
Required range: 0 <= x <= 1
evidence
string | null
pinned
boolean
default:false
scope_id
string | null

Response

Success.

data
PublicMemory · object
required
meta
object
required