Class GetSessionRequest
Implements
Inherited Members
Namespace: Oci.GenerativeaiagentruntimeService.Requests
Assembly: OCI.DotNetSDK.Generativeaiagentruntime.dll
Syntax
public class GetSessionRequest : IOciRequest
Examples
Click here to see an example of how to use GetSession request.
Properties
AgentEndpointId
Declaration
[Required(ErrorMessage = "AgentEndpointId is required.")]
[HttpConverter(TargetEnum.Path, "agentEndpointId")]
public string AgentEndpointId { get; set; }
Property Value
Type | Description |
---|---|
string | A unique ID for the endpoint. |
Remarks
Required
OpcRequestId
Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type | Description |
---|---|
string | The client request ID for tracing. |
SessionId
Declaration
[Required(ErrorMessage = "SessionId is required.")]
[HttpConverter(TargetEnum.Path, "sessionId")]
public string SessionId { get; set; }
Property Value
Type | Description |
---|---|
string | A unique ID for the session. |
Remarks
Required