cURL
curl --request POST \ --url https://api.letpiper.com/v1/orgs/{org_id}/agents/{agent_id}/memories \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "content": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "agent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "content": "<string>", "created_at": "2023-11-07T05:31:56Z", "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "scope": "agent", "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Create a memory for an agent (used by provisioning and manual seeding).
Platform token (starts with pat_)
Request body for creating a memory.
1 - 2000
Successful Response
Public representation of an agent memory.