Session›session specific information (Server 2)
Selenium Automation API
Automated Screenshots API
App Automation API (Real Devices)
- GETFetch the app URL for a particular session (Server 2)
- GETFetch list of all sessions (Server 2)
- GETsession specific information (Server 2)
- DELDelete test session (Server 2)
- PATCHUpdate session name and status. (Server 2)
- GETFetch recorded video of a test session id. (Server 2)
- GETcommand logs of a test session (Server 2)
- GETappium log of a test session (Server 2)
- GETNetwork log of a test session (Server 2)
- GETdevicelog log of a test session (Server 2)
- GETdevicelog custom logs of a test session in .zip file (Server 2)
- PUTStop a running test session (server 2)
Smart UI
Cypress Automation
User Management
Test Manager
HyperExecute
Accessibility Testing
Analytics
Performance Testing
Audit logs
Session
session specific information (Server 2)
To fetch specified session details such as name, status,os,browser,version and all generated logs endpoint.
GET
/sessions/{session_id}
session specific information (Server 2)
curl --request GET \--url "https://manual-api.lambdatest.com/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","appium_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/appium","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
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.appium_logs_urlstring
Example:
"http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/appium"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 (Server 2)
curl --request GET \--url "https://manual-api.lambdatest.com/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","appium_logs_url": "http://api.lambdatest.com/automation/api/v1/sessions/bc02fd99593f14e37850745d66197f89/log/appium","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"}