RECOMMENDED: Natural language query router

High-level router for any question about the user's Google Workspace data. Automatically determines which APIs to call. Use when user asks about 'my files', 'my drive', 'my emails', 'my storage', 'my quota', etc. Returns AUTHORITATIVE LIVE data from the user's actual Google account.

get/api/v1/ask

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/ask
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Query parameters

questionstring required

Natural language question (e.g., 'How big is my Drive?', 'What are my largest files?', 'How many unread emails do I have?')

Response

Answer with live data

userstring
questionstring

Original question asked

answerobject

Results containing relevant data (drive_storage, drive_files, emails, etc.)

used_toolsstring[]

Which operations were called to answer the question

Changes

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