v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Appends an event to a given session.

post/v1/{+name}:appendEvent

Path parameters

namestring required

Required. The resource name of the session to append event to. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

Request body

authorstring

Required. The name of the agent that sent the event, or user.

timestampstring google-datetime

Required. Timestamp when the event was created on client side.

errorCodestring

Optional. Error code if the response is an error. Code varies by model.

errorMessagestring

Optional. Error message if the response is an error.

namestring

Identifier. The resource name of the event. Format:projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}.

invocationIdstring

Required. The invocation id of the event, multiple events can have the same invocation id.

rawEventobject

Optional. Weakly typed raw event data in proto struct format.

Response

Successful response