Create a new memory layer
Creates a new memory layer in the workspace
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
"workspace_01HXKD2E5NQM3T9AYWCF133E3Q"
Body
CreateResourceMetadata contains the user-provided fields for creating a workspace-scoped resource. Read-only fields (id, account_id, workspace_id, profile_id, created_at) are excluded since they are set by the server.
Optional tenant assertion: the customer's org or company identifier for the end users this layer serves. Upserts the tenant record, the same way as on CreateObjectiveRequest, so a layer can be prepared for a tenant before any of its objectives exist.
Optional subject assertion: the person within the tenant this layer
serves. Requires tenant.
Response
OK
MemoryLayer is a named container of memory entries that can be composed into an objective's memory cascade. Layers are workspace-scoped resources. The layer type controls how its entries participate in the agent loop — see MemoryLayerType for details.
See "Memory cascade composition" above for how layers compose at lookup time.