Session›session specific information
Selenium Automation API
- GETFetch list of all sessions
- GETsession specific information
- DELDelete test session
- PATCHUpdate test session details.
- PUTStop session by sessionID
- GETTo fetch all step by step screenshots
- GETFetch recorded video of a test session id.
- GETcommand logs of a test session
- GETselenium log of a test session
- GETNetwork log of a test session
- GETconsole log of a test session
- GETNetwork har log of a test session
- GETFull har log of a test session
- POSTUpload terminal logs to our lambda storage
- POSTUpload assertion logs to our lambda storage
Automated Screenshots API
App Automation API (Real Devices)
Smart UI
Cypress Automation
User Management
Test Manager
HyperExecute
Accessibility Testing
Analytics
Performance Testing
Audit logs
Session
session specific information
To fetch specified session details such as name, status,os,browser,version and all generated logs endpoint.
GET
/sessions/{session_id}
session specific information
curl --request GET \--url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}" \--header "Authorization: Basic <encoded-value>"
{"data": {"test_id": "Z17EF-OPUKH-BDAE8-YEPXU","build_id": 1,"name": "mytest","user_id": 250563,"username": "bahubali","duration": 123,"platform": "win10","browser": "chrome","browser_version": "71.0","device": "<string>","status_ind": "<string>","session_id": "bc02fd99593f14e37850745d66197f89","build_name": "my-build","create_timestamp": "2019-02-05 08:24:36","start_timestamp": "2019-02-05 08:24:58","end_timestamp": "2019-02-05 08:27:22","remark": "completed","console_logs_url": "https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/console","network_logs_url": "https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/network","command_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/command","selenium_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/selenium","screenshot_url": "https://s3.amazonaws.com/ml-screenshots/00HIR-IQNLL-SDVHV-KDTBM/video/index.m3u8","video_url": "https://d15x9hjibri3lt.cloudfront.net/00HIR-IQNLL-SDVHV-KDTBM/screenshots.zip","customData": {}},"message": "Retrieve session was successful","status": "success"}
Authorizations
Authorizationstringheaderrequired
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
session_idstringrequired
SESSION ID
Query Parameters
shareExpiryLimitstring
Days after which share link will get expired (3,7,10,30)
Response
application/jsonsuccessful operation
dataobject
data.test_idstring
Example:
"Z17EF-OPUKH-BDAE8-YEPXU"data.build_idnumber
Example:
1data.namestring
Example:
"mytest"data.user_idnumber
Example:
250563data.usernamestring
Example:
"bahubali"data.durationnumber
data.platformstring
Example:
"win10"data.browserstring
Example:
"chrome"data.browser_versionstring
Example:
"71.0"data.devicestring
Example:
"<string>"data.status_indstring
Example:
"<string>"data.session_idstring
Example:
"bc02fd99593f14e37850745d66197f89"data.build_namestring
Example:
"my-build"data.create_timestampstring
Example:
"2019-02-05 08:24:36"data.start_timestampstring
Example:
"2019-02-05 08:24:58"data.end_timestampstring
Example:
"2019-02-05 08:27:22"data.remarkstring
Example:
"completed"data.console_logs_urlstring
Example:
"https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/console"data.network_logs_urlstring
Example:
"https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/network"data.command_logs_urlstring
Example:
"http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/command"data.selenium_logs_urlstring
Example:
"http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/selenium"data.screenshot_urlstring
Example:
"https://s3.amazonaws.com/ml-screenshots/00HIR-IQNLL-SDVHV-KDTBM/video/index.m3u8"data.video_urlstring
Example:
"https://d15x9hjibri3lt.cloudfront.net/00HIR-IQNLL-SDVHV-KDTBM/screenshots.zip"data.customDataobject
messagestring
statusstring
pet status in the store
session specific information
curl --request GET \--url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}" \--header "Authorization: Basic <encoded-value>"
{"data": {"test_id": "Z17EF-OPUKH-BDAE8-YEPXU","build_id": 1,"name": "mytest","user_id": 250563,"username": "bahubali","duration": 123,"platform": "win10","browser": "chrome","browser_version": "71.0","device": "<string>","status_ind": "<string>","session_id": "bc02fd99593f14e37850745d66197f89","build_name": "my-build","create_timestamp": "2019-02-05 08:24:36","start_timestamp": "2019-02-05 08:24:58","end_timestamp": "2019-02-05 08:27:22","remark": "completed","console_logs_url": "https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/console","network_logs_url": "https://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/network","command_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/command","selenium_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/selenium","screenshot_url": "https://s3.amazonaws.com/ml-screenshots/00HIR-IQNLL-SDVHV-KDTBM/video/index.m3u8","video_url": "https://d15x9hjibri3lt.cloudfront.net/00HIR-IQNLL-SDVHV-KDTBM/screenshots.zip","customData": {}},"message": "Retrieve session was successful","status": "success"}