interactions

GET /v1/interactions/{interactionsId}:stream

Fully typed proto, streaming version of GetInteraction that returns Interaction proto.

Request

  • Base URL
    https://aiplatform.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

interactionsIdstring required

Query parameters

lastEventIdstring

If set, resumes the interaction stream from the chunk after the event marked by the event id. Can only be used if stream is true.

streamboolean

If true, streams the interaction events as Server-Sent Events.

Response

Successful response

eventIdstring

The event_id token to be used to resume the interaction stream, from this event.

Changes

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