Method: projects.locations.reasoningEngines.sessions.events.list

Lists events in a given session.

Endpoint

get https://{service-endpoint}/v1beta1/{parent}/events

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

parent string

Required. The resource name of the session to list events from. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}/sessions/{session}

Query parameters

pageSize integer

Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order.

pageToken string

Optional. The nextPageToken value returned from a previous list SessionService.ListEvents call.

Request body

The request body must be empty.

Response body

Response message for SessionService.ListEvents.

If successful, the response body contains data with the following structure:

Fields
sessionEvents[] object (SessionEvent)

A list of events matching the request. Ordered by timestamp in ascending order.

nextPageToken string

A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages.

JSON representation
{
  "sessionEvents": [
    {
      object (SessionEvent)
    }
  ],
  "nextPageToken": string
}