Set up Google Drive knowledge base

Configure a Google Drive knowledge base for an agent using a service account integration. If exactly one service account is available to the user who owns the API key, it is auto-selected.

put/v1/agents/{id}/knowledge-bases/google-drive

Request

  • Base URL
    https://api.runbear.io
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The ID of the agent to retrieve

Example:0fade940-133f-49e6-bf4b-8f662186479b

Request body

integrationIdstring uuid

Service account integration ID. Required when more than one service account is available to the user who owns the API key. Auto-detected if only one is.

fileIdsstring[] required

Google Drive file or folder IDs to use as knowledge base

Response

Default Response

successtrue required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.