Create an agent memory
Author a manual memory. CLIENT memories are scoped to the caller’s tenant; END_CLIENT memories require scope_id (the end-client company id). Set pinned: true to create-and-pin in one call — required for standing instructions that must apply on every run (unpinned memories only surface via on-demand recall). When the scope’s pin cap is full the memory is still created and the call returns 409 (memory_pin_limit_exceeded); curate pins, then POST /memories/<id>/pin. Requires technician approval when reached via NEO_API_REQUEST.
Authorizations
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
The kind of memory: SEMANTIC (facts), PROCEDURAL (playbooks / how-to), or EPISODIC (summaries of past runs).
SEMANTIC, PROCEDURAL, EPISODIC 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).
CLIENT, END_CLIENT 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).
ALL, TRIGGERED_SCHEDULED_AGENTS, CHAT_AGENTS_INTERNAL, CHAT_AGENTS_EXTERNAL 0 <= x <= 1