curl --request GET \
--url https://{APPLICATION_ID}.algolia.net/agent-studio/1/user-data/{user_token} \
--header 'X-Algolia-API-Key: <x-algolia-api-key>' \
--header 'X-Algolia-Application-Id: <x-algolia-application-id>'{
"conversations": [
{
"id": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "<string>",
"conversationId": "<string>",
"role": "user",
"parts": [
{
"text": "<string>",
"type": "text"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"model": "<string>",
"inputTokens": 123,
"outputTokens": 123
}
],
"title": "<string>",
"lastActivityAt": "2023-11-07T05:31:56Z",
"userToken": "<string>",
"isFromDashboard": false,
"messageCount": 0,
"totalInputTokens": 0,
"totalOutputTokens": 0,
"totalTokens": 0
}
],
"memories": [
{
"text": "<string>",
"rawExtract": "<string>",
"memoryType": "semantic",
"episode": {
"observation": "<string>",
"thoughts": "<string>",
"action": "<string>",
"result": "<string>"
},
"keywords": [
"<string>"
],
"topics": [
"<string>"
],
"_tags": [
"<string>"
],
"recallTriggers": [
"<string>"
],
"objectID": "<string>",
"appId": "",
"agentIDs": [
"<string>"
],
"userID": "",
"createdAt": 0,
"updatedAt": 0
}
]
}Retrieves all memories, conversations and their messages for the given user token.
curl --request GET \
--url https://{APPLICATION_ID}.algolia.net/agent-studio/1/user-data/{user_token} \
--header 'X-Algolia-API-Key: <x-algolia-api-key>' \
--header 'X-Algolia-Application-Id: <x-algolia-application-id>'{
"conversations": [
{
"id": "<string>",
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"messages": [
{
"id": "<string>",
"conversationId": "<string>",
"role": "user",
"parts": [
{
"text": "<string>",
"type": "text"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"model": "<string>",
"inputTokens": 123,
"outputTokens": 123
}
],
"title": "<string>",
"lastActivityAt": "2023-11-07T05:31:56Z",
"userToken": "<string>",
"isFromDashboard": false,
"messageCount": 0,
"totalInputTokens": 0,
"totalOutputTokens": 0,
"totalTokens": 0
}
],
"memories": [
{
"text": "<string>",
"rawExtract": "<string>",
"memoryType": "semantic",
"episode": {
"observation": "<string>",
"thoughts": "<string>",
"action": "<string>",
"result": "<string>"
},
"keywords": [
"<string>"
],
"topics": [
"<string>"
],
"_tags": [
"<string>"
],
"recallTriggers": [
"<string>"
],
"objectID": "<string>",
"appId": "",
"agentIDs": [
"<string>"
],
"userID": "",
"createdAt": 0,
"updatedAt": 0
}
]
}logsWas this page helpful?