Table of Contents

Class SessionResponse

Namespace
OpenAI.Realtime
Assembly
OpenAI-DotNet.dll
public sealed class SessionResponse : BaseRealtimeEvent, IServerEvent, IRealtimeEvent
Inheritance
SessionResponse
Implements
Inherited Members

Properties

EventId

The unique ID of the server event.

[JsonInclude]
[JsonPropertyName("event_id")]
public override string EventId { get; }

Property Value

string

Options

[JsonIgnore]
[Obsolete("use SessionResponse.SessionConfiguration")]
public SessionConfiguration Options { get; }

Property Value

SessionConfiguration

SessionConfiguration

The session resource configuration.

[JsonInclude]
[JsonPropertyName("session")]
public SessionConfiguration SessionConfiguration { get; }

Property Value

SessionConfiguration

Type

[JsonInclude]
[JsonPropertyName("type")]
public override string Type { get; protected set; }

Property Value

string