Daytona lsp API

The lsp API from Daytona — 7 operation(s) for lsp.

Operations 7

POST /lsp/completions Get code completions #
POST /lsp/did-close Notify document closed #
POST /lsp/did-open Notify document opened #
GET /lsp/document-symbols Get document symbols #
POST /lsp/start Start LSP server #
POST /lsp/stop Stop LSP server #
GET /lsp/workspacesymbols Get workspace symbols #

Documentation

Specifications

Schemas & Data

Other Resources

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/daytona-io-lsp-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

daytona-io-lsp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Daytona Toolbox API
  title: Daytona Sandbox Toolbox Lsp API
  contact: {}
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: v0.0.0-dev
servers:
- url: https://proxy.app.daytona.io/toolbox
  description: Daytona Sandbox Toolbox proxy
tags:
- name: lsp
paths:
  /lsp/completions:
    post:
      description: Get code completion suggestions from the LSP server
      tags:
      - lsp
      summary: Get code completions
      operationId: Completions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompletionList'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LspCompletionParams'
        description: Completion request
        required: true
  /lsp/did-close:
    post:
      description: Notify the LSP server that a document has been closed
      tags:
      - lsp
      summary: Notify document closed
      operationId: DidClose
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LspDocumentRequest'
        description: Document request
        required: true
  /lsp/did-open:
    post:
      description: Notify the LSP server that a document has been opened
      tags:
      - lsp
      summary: Notify document opened
      operationId: DidOpen
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LspDocumentRequest'
        description: Document request
        required: true
  /lsp/document-symbols:
    get:
      description: Get symbols (functions, classes, etc.) from a document
      tags:
      - lsp
      summary: Get document symbols
      operationId: DocumentSymbols
      parameters:
      - description: Language ID (e.g., python, typescript)
        name: languageId
        in: query
        required: true
        schema:
          type: string
      - description: Path to project
        name: pathToProject
        in: query
        required: true
        schema:
          type: string
      - description: Document URI
        name: uri
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LspSymbol'
  /lsp/start:
    post:
      description: Start a Language Server Protocol server for the specified language
      tags:
      - lsp
      summary: Start LSP server
      operationId: Start
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LspServerRequest'
        description: LSP server request
        required: true
  /lsp/stop:
    post:
      description: Stop a Language Server Protocol server
      tags:
      - lsp
      summary: Stop LSP server
      operationId: Stop
      responses:
        '200':
          description: OK
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LspServerRequest'
        description: LSP server request
        required: true
  /lsp/workspacesymbols:
    get:
      description: Search for symbols across the entire workspace
      tags:
      - lsp
      summary: Get workspace symbols
      operationId: WorkspaceSymbols
      parameters:
      - description: Search query
        name: query
        in: query
        required: true
        schema:
          type: string
      - description: Language ID (e.g., python, typescript)
        name: languageId
        in: query
        required: true
        schema:
          type: string
      - description: Path to project
        name: pathToProject
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LspSymbol'
components:
  schemas:
    LspServerRequest:
      type: object
      required:
      - languageId
      - pathToProject
      properties:
        languageId:
          type: string
        pathToProject:
          type: string
    LspLocation:
      type: object
      required:
      - range
      - uri
      properties:
        range:
          $ref: '#/components/schemas/LspRange'
        uri:
          type: string
    CompletionContext:
      type: object
      required:
      - triggerKind
      properties:
        triggerCharacter:
          type: string
        triggerKind:
          type: integer
    LspRange:
      type: object
      required:
      - end
      - start
      properties:
        end:
          $ref: '#/components/schemas/LspPosition'
        start:
          $ref: '#/components/schemas/LspPosition'
    CompletionItem:
      type: object
      required:
      - label
      properties:
        detail:
          type: string
        documentation: {}
        filterText:
          type: string
        insertText:
          type: string
        kind:
          type: integer
        label:
          type: string
        sortText:
          type: string
    LspDocumentRequest:
      type: object
      required:
      - languageId
      - pathToProject
      - uri
      properties:
        languageId:
          type: string
        pathToProject:
          type: string
        uri:
          type: string
    LspSymbol:
      type: object
      required:
      - kind
      - location
      - name
      properties:
        kind:
          type: integer
        location:
          $ref: '#/components/schemas/LspLocation'
        name:
          type: string
    LspPosition:
      type: object
      required:
      - character
      - line
      properties:
        character:
          type: integer
        line:
          type: integer
    CompletionList:
      type: object
      required:
      - isIncomplete
      - items
      properties:
        isIncomplete:
          type: boolean
        items:
          type: array
          items:
            $ref: '#/components/schemas/CompletionItem'
    LspCompletionParams:
      type: object
      required:
      - languageId
      - pathToProject
      - position
      - uri
      properties:
        context:
          $ref: '#/components/schemas/CompletionContext'
        languageId:
          type: string
        pathToProject:
          type: string
        position:
          $ref: '#/components/schemas/LspPosition'
        uri:
          type: string