Skip to main content
CypressConsole log of a cypress test id
TestMu AI
StatusCommunityBlog
Cypress

Console log of a cypress test id

To fetch cypress console log that contains console errors thrown by application during a test session in plain json text.

GET
/log/{test_id}/console
Console log of a cypress test id
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/cypress/log/{test_id}/console" \
--header "Authorization: Basic <encoded-value>"
{
"data": "{...}",
"message": "Retrieve logs list 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

test_idstringrequired

Test ID

Response

application/json

successful operation

datastringrequired
messagestringrequired
statusstringrequired
Console log of a cypress test id
curl --request GET \
--url "https://api.lambdatest.com/automation/api/v1/cypress/log/{test_id}/console" \
--header "Authorization: Basic <encoded-value>"
{
"data": "{...}",
"message": "Retrieve logs list was successful",
"status": "success"
}