curl --request GET \
--url https://app.replay.sale/api/memorization/session/{sessionId} \
--header 'x-api-key: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"activityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activityType": "script",
"didPassLevel": true,
"didPassAllLevels": true,
"user": {
"learnerName": "<string>",
"originDomain": "<string>",
"uniqueIdentifier": "<string>"
},
"script": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"passingScore": 1,
"numTotalLevels": 1,
"numPassedLevels": 1,
"numTotalAttempts": 1
},
"mostRecentAttempt": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"scriptSegmentAttempts": [
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]
},
"allAttempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"scriptSegmentAttempts": [
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]
}
]
}Retrieves detailed information about a memorization session including script data and attempt history
curl --request GET \
--url https://app.replay.sale/api/memorization/session/{sessionId} \
--header 'x-api-key: <api-key>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"activityId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"activityType": "script",
"didPassLevel": true,
"didPassAllLevels": true,
"user": {
"learnerName": "<string>",
"originDomain": "<string>",
"uniqueIdentifier": "<string>"
},
"script": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"passingScore": 1,
"numTotalLevels": 1,
"numPassedLevels": 1,
"numTotalAttempts": 1
},
"mostRecentAttempt": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"scriptSegmentAttempts": [
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]
},
"allAttempts": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"score": 1,
"createdAt": "2023-11-07T05:31:56Z",
"scriptSegmentAttempts": [
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]
}
]
}API key for authentication. Get your API key from your company settings.
The ID of the session (attempt) to retrieve
Successfully retrieved memorization results
The ID of the script attempt requested
The score of the script attempt
x >= 0The ID of the script
The type of activity
script Whether the current level was passed
Whether all levels were completed with passing scores
Show child attributes
Required score to pass
x >= 0Total number of levels
x >= 0Number of passed levels
x >= 0Total number of attempts
x >= 0Show child attributes
The ID of the script attempt
The score of the script attempt
x >= 0The entire script, along with what the learner said for each segment
Show child attributes
The order of the script segment in the script
x >= 11
The original text of the script segment
"Hello, how can I help you today?"
The speaker of the script segment
AI, User "User"
The words spoken by the learner for this segment
"Hi there, how may I assist you today?"
[
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]Show child attributes
The ID of the script attempt
The score of the script attempt
x >= 0The entire script, along with what the learner said for each segment
Show child attributes
The order of the script segment in the script
x >= 11
The original text of the script segment
"Hello, how can I help you today?"
The speaker of the script segment
AI, User "User"
The words spoken by the learner for this segment
"Hi there, how may I assist you today?"
[
{
"order": 1,
"ogText": "Hello, how can I help you today?",
"speaker": "User",
"spokenWords": "Hi there, how may I assist you today?"
},
{
"order": 2,
"ogText": "I'm having trouble with my internet connection.",
"speaker": "AI",
"spokenWords": null
},
{
"order": 3,
"ogText": "I understand. Let me help you troubleshoot that.",
"speaker": "User",
"spokenWords": "I understand your frustration. I can help you with that."
}
]