Sessions
Download one replay frame (PNG)
The bytes of one replay screenshot, served by the API instead of a
signed URL. index selects into the list GET /v1/sessions/{id}/replay returns, counting from 0.
GET
/
v1
/
sessions
/
{id}
/
replay
/
frame
Download one replay frame (PNG)
curl --request GET \
--url https://api.lusor.ai/v1/sessions/{id}/replay/frame \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/sessions/{id}/replay/frame', 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}/replay/frame"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Workspace API key, created in the dashboard under Settings → API Keys.
Path Parameters
Session ID.
Query Parameters
Workspace the request is scoped to. Optional for API keys: a key is bound to one workspace when it is created, and naming any other workspace returns an opaque 404.
Zero-based position in the replay list. A missing or out-of-range index returns 404.
Required range:
x >= 0Response
PNG bytes
The response is of type file.
Was this page helpful?
⌘I
Download one replay frame (PNG)
curl --request GET \
--url https://api.lusor.ai/v1/sessions/{id}/replay/frame \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/sessions/{id}/replay/frame', 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}/replay/frame"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
