Skip to main content
Session Logs (V2)command logs of a test session
TestMu AI
StatusCommunityBlog
Session Logs (V2)

command logs of a test session

Returns a signed URL to download the full commands.zip for the session. The zip contains the per-page command log JSON files at the root, plus per-annotation command log JSON files (when present) under an annotations/ subdirectory. To fetch a single annotation's commands inline (without downloading the zip), use the v1 endpoint with annotationId.

GET
/sessions/{session_id}/v2/log/command
command logs of a test session
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}/v2/log/command" \
--header "Authorization: Basic <encoded-value>"
{
"message": "URL is succesfully generated",
"status": "success",
"url": "<string>"
}

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/json

successful operation

messagestring
statusstring
urlstring
command logs of a test session
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/sessions/{session_id}/v2/log/command" \
--header "Authorization: Basic <encoded-value>"
{
"message": "URL is succesfully generated",
"status": "success",
"url": "<string>"
}