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
prerunDownload pre run executable file.
TestMu AI
StatusCommunityBlog
prerun

Download pre run executable file.

Download pre run executable file.

PUT
/files/download
Download pre run executable file.
curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"file_path": "<file_path>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}

Authorizations

Authorizationstringheaderrequired

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

Body

application/json

To download a pre run executable

file_pathstringrequired

file path of pre run file in our lambda storage. You can get file_path from the GET /files API

Response

application/json

Successful operation

Download pre run executable file.
curl --request PUT \
--url "https://api.lambdatest.com/automation/api/v1/files/download" \
--header "Authorization: Basic <encoded-value>" \
--header "Content-Type: application/json" \
--data '{
"file_path": "<file_path>"
}'
{
"message": "Error in downloading file from lambda storage",
"status": "fail"
}