OpenAITokenGrant
Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:35
The ephemeral OpenAI credential the browser uses to open the realtime
session directly. value is provider-opaque (an OpenAI ek-… client
secret) — the adapter, not this schema, interprets it.
Extends
Section titled “Extends”TokenGrant
Properties
Section titled “Properties”expiresAt
Section titled “expiresAt”
readonlyexpiresAt:UnixSeconds
Defined in: packages/realtime-protocol/dist/lib/token-grant.d.ts:15
Absolute Unix-epoch second at which the credential expires.
Inherited from
Section titled “Inherited from”TokenGrant.expiresAt
readonlymodel:string
Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:42
The model the credential was minted for. Informational for the client — the credential itself is already scoped to this model upstream.
provider
Section titled “provider”
readonlyprovider:"openai"
Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:36
readonlyvalue:string
Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:37