Update Learning
Update a learning record. Only content and metadata may be modified; identity fields (user_id, agent_id, team_id, etc.) are immutable. Provided fields fully replace the existing values. Records with no owner (user_id IS NULL — shared agent/team/session/entity learnings) are readable by any caller but may only be modified by an admin.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The learning ID
Query Parameters
Database ID to use
The database table to use (requires db_id)
Body
Response
Learning updated successfully
A single learning record as returned by the API.
Unique identifier for the learning record
Type of learning (e.g. 'user_profile', 'entity_memory')
Namespace for scoping ('user', 'global', or custom)
Associated user ID
Associated agent ID
Associated team ID
Associated session ID
Associated entity ID (for entity-specific learnings)
Entity type (e.g. 'person', 'company')
The learning content payload
Optional metadata
Creation timestamp (Unix epoch seconds)
Last update timestamp (Unix epoch seconds)