POST
/
v1
/
agents
/
{agent_id}
/
archival

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

user_id
string | null

Path Parameters

agent_id
string
required

Body

application/json
text
string
required

Text 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
required

The text of the passage.

embedding
number[] | null
required

The embedding of the passage.

embedding_config
object | null
required

The embedding configuration used by the passage.

created_at
string

The creation date of the passage.