Open History to see the last commit
1---
2id: RealtimeToken
3title: RealtimeToken
4---
5
6# Interface: RealtimeToken
7
8Defined in: [packages/typescript/ai/src/realtime/types.ts:58](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/realtime/types.ts#L58)
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/typescript/ai/src/realtime/types.ts:66](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/realtime/types.ts#L66)
21
22Session configuration embedded in the token
23
24***
25
26### expiresAt
27
28```ts
29expiresAt: number;
30```
31
32Defined in: [packages/typescript/ai/src/realtime/types.ts:64](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/realtime/types.ts#L64)
33
34Token expiration timestamp (ms since epoch)
35
36***
37
38### provider
39
40```ts
41provider: string;
42```
43
44Defined in: [packages/typescript/ai/src/realtime/types.ts:60](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/realtime/types.ts#L60)
45
46Provider identifier
47
48***
49
50### token
51
52```ts
53token: string;
54```
55
56Defined in: [packages/typescript/ai/src/realtime/types.ts:62](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/realtime/types.ts#L62)
57
58The ephemeral token value