# OpenAITokenGrant
Source: https://docs.maelstrom-ai.co/0.2/reference/realtime-openai/interfaces/openaitokengrant/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

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

-   `TokenGrant`

## Properties

### expiresAt

> `readonly` **expiresAt**: `UnixSeconds`

Defined in: packages/realtime-protocol/dist/lib/token-grant.d.ts:15

Absolute Unix-epoch second at which the credential expires.

#### Inherited from

`TokenGrant.expiresAt`

* * *

### model

> `readonly` **model**: `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

> `readonly` **provider**: `"openai"`

Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:36

* * *

### value

> `readonly` **value**: `string`

Defined in: packages/realtime-protocol/dist/lib/openai-token.d.ts:37
