OpenAI::RealtimeSessionCreateResponseGAClientSecret
Inherits JSON::Serializable < Reference < Object
Ephemeral key returned by the API.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
expires_at
Timestamp for when the token expires. Currently, all tokens expire after one minute.
expires_at=(expires_at : Int64)
Timestamp for when the token expires. Currently, all tokens expire after one minute.
value
Ephemeral key usable in client environments to authenticate connections to the Realtime API. Use this in client-side environments rather than a standard API token, which should only be used server-side.