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

# Browse documents

> List one page of folders and files under a path within a connection (drive).



## OpenAPI

````yaml /api-reference/openapi.json get /documents/browse
openapi: 3.0.3
info:
  title: FileFeed API
  version: '2026-05-25'
  description: >-
    Official FileFeed REST API for connections, pipelines, schemas, pipeline
    runs, webhooks, outbound uploads, documents, files, and notifications.
    Date-based API versioning is controlled by the `FileFeed-Version` request
    header (default `2024-09-01`; latest `2026-05-25`); this document describes
    the `2026-05-25` shape.
servers:
  - url: https://api.sftpsync.io
security:
  - ApiKeyAuth: []
tags:
  - name: Connections
  - name: Pipelines
  - name: Schemas
  - name: Pipeline Runs
  - name: Webhooks
  - name: Outbound Uploads
  - name: Documents
  - name: Files
  - name: Notifications
  - name: Clients (deprecated)
paths:
  /documents/browse:
    get:
      tags:
        - Documents
      summary: Browse documents
      description: >-
        List one page of folders and files under a path within a connection
        (drive).
      parameters:
        - name: connectionId
          in: query
          required: true
          schema:
            type: string
        - name: path
          in: query
          required: false
          schema:
            type: string
          description: Folder path relative to the connection root (empty = root).
        - name: token
          in: query
          required: false
          schema:
            type: string
          description: Pagination token from a previous page.
      responses:
        '200':
          description: One page of folders and files
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BrowseResponse'
components:
  schemas:
    BrowseResponse:
      type: object
      properties:
        folders:
          type: array
          items:
            $ref: '#/components/schemas/DocumentFolder'
        files:
          type: array
          items:
            $ref: '#/components/schemas/DocumentFile'
        nextToken:
          type: string
          description: Token for the next page; omitted when exhausted.
        breadcrumb:
          $ref: '#/components/schemas/DocumentBreadcrumb'
      required:
        - folders
        - files
        - breadcrumb
    DocumentFolder:
      type: object
      properties:
        name:
          type: string
        path:
          type: string
          description: Folder path relative to the connection root.
        isPipelineProtected:
          type: boolean
        size:
          type: integer
          description: Total size in bytes (omitted for very large folders).
        lastModified:
          type: string
          format: date-time
      required:
        - name
        - path
        - isPipelineProtected
    DocumentFile:
      type: object
      properties:
        name:
          type: string
        path:
          type: string
          description: File path relative to the connection root.
        size:
          type: integer
        lastModified:
          type: string
          format: date-time
        isPipelineProtected:
          type: boolean
      required:
        - name
        - path
        - size
        - isPipelineProtected
    DocumentBreadcrumb:
      type: object
      properties:
        connectionId:
          type: string
        segments:
          type: array
          items:
            type: string
      required:
        - connectionId
        - segments
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````