LambdaTest tunnel API

The tunnel API from LambdaTest — 2 operation(s) for tunnel.

Operations 2

GET /tunnels Fetch running tunnels of your account.
DELETE /tunnels/{tunnel_id} Stop a running tunnel

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-tunnel-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-tunnel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TestMu AI SmartUI API Documentation Autoheal Command Logs Tunnel 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: tunnel
paths:
  /tunnels:
    get:
      tags:
      - tunnel
      summary: Fetch running tunnels of your account.
      description: To fetch lists of all tunnels runing in an account.
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTunnelsResponse'
        401:
          description: Access denied. Auth error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
        404:
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SessionNotFound'
      security:
      - basicAuth: []
  /tunnels/{tunnel_id}:
    delete:
      tags:
      - tunnel
      summary: Stop a running tunnel
      description: To stop a running tunnel in your account. e.g 2345
      parameters:
      - name: tunnel_id
        in: path
        description: Your tunnel id.
        required: true
        style: simple
        explode: false
        schema:
          type: integer
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TunnelsDeleteResponse'
        401:
          description: Access denied. Auth error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDenied'
        403:
          description: Forbidden! Operation not allowed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TunnelStopForbidden'
        404:
          description: Tunnel with specified id does not exists.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TunnelStopBadRequest'
      security:
      - basicAuth: []
components:
  schemas:
    TunnelStopForbidden:
      type: object
      properties:
        message:
          type: string
          example: Forbidden! Opertaion not allowed.
        status:
          type: string
          example: fail
    TunnelsDeleteResponse:
      type: object
      properties:
        message:
          type: string
          example: Delete tunnel was successful.
        status:
          type: string
          example: success
    AccessDenied:
      type: string
      example: 'HTTP Basic: Access denied.'
    TunnelStopBadRequest:
      type: object
      properties:
        message:
          type: string
          example: Tunnel with specified id not found.
        status:
          type: string
          example: fail
    GetTunnelsResponse:
      type: object
      properties:
        message:
          type: string
          example: Retrieve tunnel was successful
        status:
          type: string
          example: success
        data:
          type: array
          items:
            $ref: '#/components/schemas/TunnelData'
    SessionNotFound:
      type: object
      properties:
        message:
          type: string
          example: Either resource not found or already deleted
        status:
          type: string
          example: fail
    TunnelData:
      type: object
      properties:
        dns:
          type: string
        email:
          type: string
        username:
          type: string
        shared_tunnel:
          type: boolean
        folder_path:
          type: string
        local_domains:
          type: string
        org_id:
          type: integer
        start_timestamp:
          type: string
        status_ind:
          type: string
        tunnel_id:
          type: integer
        tunnel_name:
          type: string
        user_id:
          type: integer
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic