Method: sessions.create

Full name: projects.locations.reasoningEngines.sessions.create

Creates a new Session.

Endpoint

post https://{service-endpoint}/v1beta1/{parent}/sessions

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

Path parameters

parent string

Required. The resource name of the location to create the session in. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoningEngine}

Query parameters

sessionId string

Optional. The user defined id to use for session, which will become the final component of the session resource name. If not provided, Vertex AI will generate a value for this id.

This value may be up to 63 characters, and valid characters are [a-z0-9-]. The first character must be a letter, and the last character must be a letter or number.

Request body

The request body contains an instance of Session.

Response body

If successful, the response body contains a newly created instance of Operation.