Open History to see the last commit
1---
2id: RealtimeToken
3title: RealtimeToken
4---
5
6# Interface: RealtimeToken
7
8Defined in: [packages/ai/src/realtime/types.ts:63](https://github.com/TanStack/ai/blob/main/packages/ai/src/realtime/types.ts#L63)
9
10Token returned by the server for client authentication
11
12## Properties
13
14### config
15
16```ts
17config: RealtimeSessionConfig;
18```
19
20Defined in: [packages/ai/src/realtime/types.ts:71](https://github.com/TanStack/ai/blob/main/packages/ai/src/realtime/types.ts#L71)
21
22Session configuration embedded in the token
23
24***
25
26### expiresAt
27
28```ts
29expiresAt: number;
30```
31
32Defined in: [packages/ai/src/realtime/types.ts:69](https://github.com/TanStack/ai/blob/main/packages/ai/src/realtime/types.ts#L69)
33
34Token expiration timestamp (ms since epoch)
35
36***
37
38### provider
39
40```ts
41provider: string;
42```
43
44Defined in: [packages/ai/src/realtime/types.ts:65](https://github.com/TanStack/ai/blob/main/packages/ai/src/realtime/types.ts#L65)
45
46Provider identifier
47
48***
49
50### token
51
52```ts
53token: string;
54```
55
56Defined in: [packages/ai/src/realtime/types.ts:67](https://github.com/TanStack/ai/blob/main/packages/ai/src/realtime/types.ts#L67)
57
58The ephemeral token value