StateSet ReSponse API Documentation
Embeddings
Attributes
Function Parameters
Channels
Memories
Get Memory
This endpoint gets a memory
GET
/
v1
/
memory
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/memory' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst"
}'
Copy
Ask AI
{
"memory": {
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst",
"memory": "User prefers to receive notifications via email.",
"memory_type": "long-term",
"user_id": "user_1234abcd",
"agent_id": "agent_5678efgh",
"created_at": "2024-08-25T10:00:00Z"
}
}
Body
This is the unique identifier for the memory.
Response
The unique identifier for the memory.
The content of the memory that was stored.
The type of memory (e.g., short-term, long-term).
The unique identifier for the user associated with the memory.
The unique identifier for the agent that created the memory.
The timestamp when the memory was created.
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/memory' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst"
}'
Copy
Ask AI
{
"memory": {
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst",
"memory": "User prefers to receive notifications via email.",
"memory_type": "long-term",
"user_id": "user_1234abcd",
"agent_id": "agent_5678efgh",
"created_at": "2024-08-25T10:00:00Z"
}
}
Copy
Ask AI
curl --location --request GET 'https://api.stateset.com/v1/memory' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst"
}'
Copy
Ask AI
{
"memory": {
"id": "1234abcd-5678-efgh-9101-ijklmnopqrst",
"memory": "User prefers to receive notifications via email.",
"memory_type": "long-term",
"user_id": "user_1234abcd",
"agent_id": "agent_5678efgh",
"created_at": "2024-08-25T10:00:00Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.