Sessions
Get the detailed step breakdown (session JSON)
The replay view’s JSON breakdown: the session detail and its full event
list as one lusor.session.v1 document. Included only on App tiers with
the detailed step breakdown (Hobby and above); other tiers get 403
detailed_breakdown_not_in_plan and no session data. The same
retention window as GET /v1/sessions/{id} and /events applies.
GET
/
v1
/
sessions
/
{id}
/
breakdown
Get the detailed step breakdown (session JSON)
curl --request GET \
--url https://api.lusor.ai/v1/sessions/{id}/breakdown \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/sessions/{id}/breakdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/sessions/{id}/breakdown"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"schema": "lusor.session.v1",
"exportedAt": "2023-11-07T05:31:56Z",
"session": {
"id": "<string>",
"prompt": "<string>",
"status": "queued",
"createdAt": "2023-11-07T05:31:56Z",
"deviceId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"app": "<string>",
"outputSchema": {},
"output": {},
"error": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"maxDurationSecs": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"promptExpiresAt": "2023-11-07T05:31:56Z",
"outputExpiresAt": "2023-11-07T05:31:56Z",
"nameExpiresAt": "2023-11-07T05:31:56Z",
"errorExpiresAt": "2023-11-07T05:31:56Z"
},
"events": [
{
"id": "<string>",
"sessionId": "<string>",
"type": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {},
"screenshotId": "<string>",
"stepIndex": 123
}
]
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Was this page helpful?
⌘I
Get the detailed step breakdown (session JSON)
curl --request GET \
--url https://api.lusor.ai/v1/sessions/{id}/breakdown \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/sessions/{id}/breakdown', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/sessions/{id}/breakdown"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"schema": "lusor.session.v1",
"exportedAt": "2023-11-07T05:31:56Z",
"session": {
"id": "<string>",
"prompt": "<string>",
"status": "queued",
"createdAt": "2023-11-07T05:31:56Z",
"deviceId": "<string>",
"workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"app": "<string>",
"outputSchema": {},
"output": {},
"error": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"maxDurationSecs": 123,
"agentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"promptExpiresAt": "2023-11-07T05:31:56Z",
"outputExpiresAt": "2023-11-07T05:31:56Z",
"nameExpiresAt": "2023-11-07T05:31:56Z",
"errorExpiresAt": "2023-11-07T05:31:56Z"
},
"events": [
{
"id": "<string>",
"sessionId": "<string>",
"type": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"data": {},
"screenshotId": "<string>",
"stepIndex": 123
}
]
}
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
