Create a user memory. This endpoint requires credits and meters the actual embedding work performed for the request. The response includes credits.consumed with the billed amount, or null if the billing write fails after the memory is successfully created.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successfully created user memory
The object type, which is always user_memory.
user_memory The ID of the user memory.
The updated at of the user memory.
The created at of the user memory.
The user prompt of the user memory.
The context of the user memory.
The agent ID of the user memory.
The user ID of the user memory.
The memory of the user memory.
Credit consumption for this user-memory creation. consumed reflects the billed embedding work for the request. null when the billing write fails after the memory is successfully created.