cURL
curl --request POST \ --url https://api.datagrid.com/v1/user-memories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "agent_id": "<string>", "user_prompt": "<string>", "memory": "<string>", "context": "<string>" }'
{ "object": "user_memory", "id": "<string>", "updated_at": "<string>", "created_at": "<string>", "user_prompt": "<string>", "context": [ "<string>" ], "agent_id": "<string>", "user_id": "<string>", "memory": [ "<string>" ] }
Create a user memory
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully created user memory
The response is of type object.
object