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

# Import a Google Drive file for BI analysis



## OpenAPI

````yaml /api-reference/openapi.json post /api/v1/bi/import/google-drive
openapi: 3.1.0
info:
  title: apowerb API
  description: REST API of the apowerb agentic framework (open-source edition).
  version: 0.1.2
  license:
    name: MIT
    url: https://github.com/apowerb/apowerb/blob/main/LICENSE
servers:
  - url: https://api.example.com
    description: Your apowerb instance
  - url: http://localhost:8000
    description: Local stack
security: []
paths:
  /api/v1/bi/import/google-drive:
    post:
      tags:
        - bi-upload
      summary: Import a Google Drive file for BI analysis
      operationId: import_google_drive_api_v1_bi_import_google_drive_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleDriveImportRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: >-
                  Response Import Google Drive Api V1 Bi Import Google Drive
                  Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    GoogleDriveImportRequest:
      properties:
        organization_id:
          type: string
          title: Organization Id
        project_id:
          type: string
          title: Project Id
          default: thaink2
        file_id:
          type: string
          title: File Id
        file_name:
          type: string
          title: File Name
        tool_config_id:
          type: string
          title: Tool Config Id
      type: object
      required:
        - organization_id
        - file_id
        - file_name
        - tool_config_id
      title: GoogleDriveImportRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

## Related topics

- [Upload a CSV file for BI analysis](/api-reference/bi-upload/upload-a-csv-file-for-bi-analysis.md)
- [List user's connected Google Drive tool configurations](/api-reference/bi-upload/list-users-connected-google-drive-tool-configurations.md)
- [Import Skill](/api-reference/skills/import-skill.md)
- [Search Files](/api-reference/google-drive-browser/search-files.md)
- [List Files](/api-reference/google-drive-browser/list-files.md)
