projects

POST /v1/projects/{projectsId}/locations/{locationsId}/reasoningEngines/{reasoningEnginesId}:streamQuery

Streams queries using a reasoning engine.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required
reasoningEnginesIdstring required

Request body

classMethodstring

Optional. Class method to be used for the stream query. It is optional and defaults to "stream_query" if unspecified.

inputobject

Optional. Input content provided by users in JSON object format. Examples include text query, function calling parameters, media bytes, etc.

Response

Successful response

contentTypestring

The HTTP Content-Type header value specifying the content type of the body.

datastring byte

The HTTP request/response body as raw binary.

extensionsobject[]

Application specific response metadata. Must be set in the first response for streaming APIs.

Changes

No recorded changes to this operation across all 8 revisions of this API.