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

# List Files



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#GOOGLE_DRIVE_LIST_FILES
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#GOOGLE_DRIVE_LIST_FILES:
    post:
      summary: List Files
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: GOOGLE_DRIVE_LIST_FILES
                parameters:
                  type: object
                  properties:
                    includeFolders:
                      type: boolean
                      description: Include Folders
                    parentId:
                      type: string
                      description: >-
                        The folder to save files to. Defaults to the user's root
                        folder if left blank
                    pageSize:
                      type: string
                      description: >-
                        Page Size : Specify the number of files to include on a
                        page. Accepts values from 1 to 1000. Defaults to 100 if
                        unspecified. (example: "100")
                    includeSharedItems:
                      type: boolean
                      description: >-
                        Include Shared Drive Items : Specify whether search
                        results should include files in shared drives. Defaults
                        to false.
                    additionalFields:
                      type: object
                      description: |-
                        Additional fields to update in JSON format. (example: {
                          "supportsAllDrives": true
                        })
                      properties: {}
                    paginationParameters:
                      type: object
                      description: Pagination Parameters
                      properties:
                        pageCursor:
                          type: string
                          description: Page Cursor
                  required:
                    - includeFolders
                  x-integration: googledrive
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````