> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lsproxy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a list of all files in the workspace

> Returns an array of file paths for all files in the current workspace.

This is a convenience endpoint that does not use the underlying Language Servers directly, but it does apply the same filtering.



## OpenAPI

````yaml openapi.json get /workspace/list-files
openapi: 3.1.0
info:
  title: lsproxy
  description: ''
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: 0.2.1
servers:
  - url: http://localhost:4444/v1
    description: API server v1
security:
  - bearer_auth: []
tags:
  - name: lsproxy-api
    description: LSP Proxy API
paths:
  /workspace/list-files:
    get:
      tags:
        - workspace
      summary: Get a list of all files in the workspace
      description: >-
        Returns an array of file paths for all files in the current workspace.


        This is a convenience endpoint that does not use the underlying Language
        Servers directly, but it does apply the same filtering.
      operationId: list_files
      responses:
        '200':
          description: Workspace files retrieved successfully
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
        '400':
          description: Bad request
        '500':
          description: Internal server error
components:
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````