agents
Insert Agent Archival Memory
Insert a memory into an agent’s archival memory store.
POST
/
v1
/
agents
/
{agent_id}
/
archival
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
user_id
string | null
Path Parameters
agent_id
string
requiredBody
application/json
text
string
requiredText to write to archival memory.
Response
200 - application/json
user_id
string | null
The unique identifier of the user associated with the passage.
agent_id
string | null
The unique identifier of the agent associated with the passage.
source_id
string | null
The data source of the passage.
file_id
string | null
The unique identifier of the file associated with the passage.
metadata_
object | null
The metadata of the passage.
id
string
The human-friendly ID of the Passage
text
string
requiredThe text of the passage.
embedding
number[] | null
requiredThe embedding of the passage.
embedding_config
object | null
requiredThe embedding configuration used by the passage.
created_at
string
The creation date of the passage.