LambdaTest user-files API

The user-files API from LambdaTest — 3 operation(s) for user-files.

Operations 4

GET /user-files Fetch all user files uploaded by the user #
POST /user-files Upload files to our lambda storage #
DELETE /user-files/delete Delete user files from our lambda storage
PUT /user-files/download Download user file from lambda storage.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lambdatest-user-files-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lambdatest-user-files-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TestMu AI SmartUI API Documentation Autoheal Command Logs User Files API
  version: 1.0.1
servers:
- url: https://api.lambdatest.com/automation/smart-ui
- url: https://eu-api.lambdatest.com/automation/smart-ui
tags:
- name: user-files
paths:
  /user-files:
    get:
      tags:
      - user-files
      summary: Fetch all user files uploaded by the user
      description: This API fetches all the user files which are uploaded to our lambda storage.
      operationId: ListUserFiles
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUserFileResponse'
        401:
          description: Access denied. Auth error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
      security:
      - basicAuth: []
    post:
      tags:
      - user-files
      summary: Upload files to our lambda storage
      description: You can upload multiple files to our lambda storage. A maximum of 150 files can be uploaded per organization. We have limit of 20 MB files size per API. So if you are total file sizes reach the limit, please upload your files in multiple API calls
      operationId: UploadUserFiles
      requestBody:
        description: To upload new user files
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UploadUserFilePayload'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UploadUserFilesResposeData'
        401:
          description: Access denied. Auth error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
        400:
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InValidJson'
      security:
      - basicAuth: []
  /user-files/delete:
    delete:
      tags:
      - user-files
      summary: Delete user files from our lambda storage
      description: This API deletes user file from lambda storage
      requestBody:
        description: To delete a user fle
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteUserFilePayload'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteUserFileResponse'
        400:
          description: Invalid file path value
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletePageNotFound'
        401:
          description: Access denied. Auth error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
      security:
      - basicAuth: []
  /user-files/download:
    put:
      tags:
      - user-files
      summary: Download user file from lambda storage.
      requestBody:
        description: To download a user file
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DownloadUserFilePayload'
      responses:
        200:
          description: Successful operation
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
        400:
          description: Invalid file path value specified
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DownloadUserFilePageNotFound'
        401:
          description: Access denied. Auth error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
      security:
      - basicAuth: []
components:
  schemas:
    ListUserFileResponse_Meta:
      type: object
      properties:
        org_id:
          type: number
          example: 12345
        total:
          type: number
          example: 1
    DownloadUserFilePayload:
      type: object
      required:
      - key
      properties:
        key:
          type: string
          example: file_example_JPG_2500kB.jpg
    InValidJson:
      type: object
      properties:
        message:
          type: string
          example: Oops! The name that you have provided already exists. Please use different name or delete this script first
        status:
          type: string
          example: fail
    ListUserFileResponse_data:
      type: object
      properties:
        key:
          type: string
          example: file_example_JPG_2500kB.jpg
          description: Name of the file
        last_modified_at:
          type: string
          example: '2020-08-02T06:46:08Z'
        size:
          type: number
          example: 104
          description: file size
    UploadUserFilePayload:
      type: object
      required:
      - files
      properties:
        files:
          type: string
          format: binary
    AccessDenied:
      type: string
      example: 'HTTP Basic: Access denied.'
    DeleteUserFilePayload:
      type: object
      required:
      - key
      properties:
        key:
          type: string
          example: file_example_JPG_2500kB.jpg
    DownloadUserFilePageNotFound:
      type: object
      properties:
        message:
          type: string
          example: Error in downloading file from lambda storage
        status:
          type: string
          example: fail
    UploadUserFilesResposeData:
      type: object
      properties:
        file:
          type: string
          example: file_example_JPG_2500kB.jpg
        error:
          type: string
          example: ''
          description: error message if there is any error in uploading file. If file upload is success, then it will empty
        message:
          type: string
          example: File have been uploaded successfully to our lambda storage
    ListUserFileResponse:
      required:
      - Meta
      - data
      properties:
        Meta:
          $ref: '#/components/schemas/ListUserFileResponse_Meta'
        data:
          type: array
          items:
            $ref: '#/components/schemas/ListUserFileResponse_data'
    DeleteUserFileResponse:
      type: object
      properties:
        message:
          type: string
          example: File have been successfully deleted from our lambda storage
        status:
          type: string
          example: success
    DeletePageNotFound:
      type: object
      properties:
        message:
          type: string
          example: File doesn't exist in lambda storage
        status:
          type: string
          example: fail
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic