For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Get ScreenshotsFetch specified screenshot details.
TestMu AI
StatusCommunityBlog
Get Screenshots

Fetch specified screenshot details.

To fetch specified screenshot details.

GET
/{test_id}
Fetch specified screenshot details.
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/{test_id}" \
--header "Authorization: Basic <encoded-value>"
{
"test_id": "TES100968331562237283314836",
"defer_time": 5,
"test_status": "completed",
"url": "https://www.lambdatest.com",
"callback_url": "https://www.example.com",
"screenshots": [
{
"os": "windows 10",
"browser": "chrome",
"browser_version": "76",
"status": "completed",
"screenshot_url": "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png",
"thumbnail_url": "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png",
"activity_id": "ACT100968331562237283340194",
"resolution": "1024x768"
}
]
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

test_idstringrequired

Test ID that details you want to fetch

Response

application/json

successful operation

test_idstring
Example: "TES100968331562237283314836"
defer_timenumber
Example: 5
test_statusstring
Example: "completed"
urlstring
Example: "https://www.lambdatest.com"
callback_urlstring
Example: "https://www.example.com"
screenshotsobject[]
screenshots.osstring
Example: "windows 10"
screenshots.browserstring
Example: "chrome"
screenshots.browser_versionstring
Example: "76"
screenshots.statusstring
Example: "completed"
screenshots.screenshot_urlstring
Example: "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png"
screenshots.thumbnail_urlstring
Example: "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png"
screenshots.activity_idstring
Example: "ACT100968331562237283340194"
screenshots.resolutionstring
Example: "1024x768"
Fetch specified screenshot details.
curl --request GET \
--url "https://api.lambdatest.com/screenshots/v1/{test_id}" \
--header "Authorization: Basic <encoded-value>"
{
"test_id": "TES100968331562237283314836",
"defer_time": 5,
"test_status": "completed",
"url": "https://www.lambdatest.com",
"callback_url": "https://www.example.com",
"screenshots": [
{
"os": "windows 10",
"browser": "chrome",
"browser_version": "76",
"status": "completed",
"screenshot_url": "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png",
"thumbnail_url": "https://s3.amazonaws.com/s3-screenshots/prod/ACT100968331562237283340194/screenshot/win-cr-76.0.png",
"activity_id": "ACT100968331562237283340194",
"resolution": "1024x768"
}
]
}