ai-context

Link reference documents from Google Drive

Attach files the signed-in user picked in the Google Picker. Each is fetched with that user's own drive.file grant, read in the background and summarized. A file that is already linked is returned as its existing document.

post/ai-context/documents/drive/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/ai-context/documents/drive/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

file_idsstring[] required

Drive file ids from the Picker, in the order they were picked.

Response

Successful Response

Changes

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