SpyBara
Go Premium

Reference 2026-10-15 23:00 UTC to 2026-10-16 23:02 UTC

17 files changed +99 −132. View all changes and history on the product overview
2026
Sat 31 23:01 Fri 30 23:59 Thu 29 23:59 Wed 28 23:00 Tue 27 23:58 Mon 26 23:58 Sat 24 23:02 Fri 23 23:58 Thu 22 22:59 Wed 21 23:02 Tue 20 23:02 Sun 18 23:00 Sat 17 22:57 Fri 16 23:02 Thu 15 23:00 Wed 14 23:59 Tue 13 23:00 Fri 9 22:57 Thu 8 23:01 Wed 7 23:57 Tue 6 22:58 Mon 5 22:59 Sun 4 22:58 Sat 3 22:58 Fri 2 23:58 Thu 1 22:59
Details

32 32 

33- `voice: string or "alloy" or "ash" or "ballad" or 10 more or ID { id }`33- `voice: string or "alloy" or "ash" or "ballad" or 10 more or ID { id }`

34 34 

35 The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/api/docs/guides/text-to-speech#voice-options). Custom voices must be created from audio samples.35 The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/api/docs/guides/text-to-speech#voice-options). Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

36 36 

37 - `string`37 - `string`

38 38 

39 - `"alloy" or "ash" or "ballad" or 10 more`39 - `"alloy" or "ash" or "ballad" or 10 more`

40 40 

41 The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/api/docs/guides/text-to-speech#voice-options). Custom voices must be created from audio samples.41 The voice to use when generating the audio. Supported built-in voices are `alloy`, `ash`, `ballad`, `coral`, `echo`, `fable`, `onyx`, `nova`, `sage`, `shimmer`, `verse`, `marin`, and `cedar`. You may also provide a custom voice object with an `id`, for example `{ "id": "voice_1234" }`. Previews of the voices are available in the [Text to speech guide](/api/docs/guides/text-to-speech#voice-options). Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

42 42 

43 - `"alloy"`43 - `"alloy"`

44 44 

Details

4 4 

5**post** `/audio/voices`5**post** `/audio/voices`

6 6 

7Create a custom voice you can use for audio output (for example, in Text-to-Speech and the Realtime API). This requires an audio sample and a previously uploaded consent recording.7Creates a voice from a text prompt or from a consent recording and an audio sample.

8 8 

9Send `name`, `audio_sample`, and the `consent` recording ID as multipart form data. The optional `type` defaults to `audio_sample`.9For prompt-based creation, send `type: "prompt"` with a `name` and `prompt` as JSON or multipart form data. For creation from an audio sample, send `type: "audio_sample"` with a `name`, `audio_sample`, and `consent` recording ID as multipart form data. The type defaults to `audio_sample` when omitted.

10 10 

11Returns the saved voice's metadata. See the [custom voices guide](/api/docs/guides/text-to-speech#custom-voices) for requirements and best practices. Custom voices are limited to eligible customers.11Returns the saved voice's metadata. Voices created from text prompts are supported only in Live, not in Realtime or the speech endpoint. The response does not include preview audio.

12 

13### Body Parameters

14 

15- `name: string`

16 

17 The name of the new voice.

18 

19- `prompt: string`

20 

21 A description of the desired voice. Must not contain only whitespace.

22 

23- `type: "prompt"`

24 

25 Set to `prompt` to create a voice from a text description.

26 

27 - `"prompt"`

28 

29- `model: optional string or "auto" or "2026-10-08"`

30 

31 The voice creation model to use. Defaults to `auto`.

32 

33 - `string`

34 

35 - `"auto" or "2026-10-08"`

36 

37 The voice creation model to use. Defaults to `auto`.

38 

39 - `"auto"`

40 

41 - `"2026-10-08"`

42 

43- `script_hint: optional string`

44 

45 Optional text for the voice to speak during creation. If omitted, a script is generated from the prompt. Must not be blank after trimming whitespace; scripts that are too short are rejected.

12 46 

13### Returns47### Returns

14 48 

15- `Voice object { id, created_at, name, 2 more }`49- `Voice object { id, created_at, name, 3 more }`

16 50 

17 A custom voice that can be used for audio output.51 A custom voice that can be used for audio output. Voices created from text prompts are supported only in Live.

18 52 

19 - `id: string`53 - `id: string`

20 54 


34 68 

35 - `"audio.voice"`69 - `"audio.voice"`

36 70 

37 - `type: "audio_sample"`71 - `type: "audio_sample" or "prompt"`

38 72 

39 How the voice was created.73 How the voice was created.

40 74 

41 - `"audio_sample"`75 - `"audio_sample"`

42 76 

77 - `"prompt"`

78 

79 - `prompt: optional string`

80 

81 The original text prompt used to create the voice. Present for prompt-generated voices with a stored prompt; omitted for audio-sample voices and older voices without a stored prompt.

82 

43### Example83### Example

44 84 

45```http85```http

46curl https://api.openai.com/v1/audio/voices \86curl https://api.openai.com/v1/audio/voices \

47 -H 'Content-Type: multipart/form-data' \87 -H 'Content-Type: application/json' \

48 -H "Authorization: Bearer $OPENAI_API_KEY" \88 -H "Authorization: Bearer $OPENAI_API_KEY" \

49 -F 'audio_sample=@/path/to/audio_sample' \89 -d '{

50 -F consent=consent \90 "name": "x",

51 -F name=x91 "prompt": "x",

92 "type": "prompt"

93 }'

52```94```

53 95 

54#### Response96#### Response


59 "created_at": 0,101 "created_at": 0,

60 "name": "name",102 "name": "name",

61 "object": "audio.voice",103 "object": "audio.voice",

62 "type": "audio_sample"104 "type": "audio_sample",

105 "prompt": "prompt"

63}106}

64```107```

65 108 


69curl https://api.openai.com/v1/audio/voices \112curl https://api.openai.com/v1/audio/voices \

70 -X POST \113 -X POST \

71 -H "Authorization: Bearer $OPENAI_API_KEY" \114 -H "Authorization: Bearer $OPENAI_API_KEY" \

72 -F "name=My new voice" \115 -H "Content-Type: application/json" \

73 -F "consent=cons_1234" \116 -d '{

74 -F "audio_sample=@audio_sample.wav;type=audio/x-wav"117 "type": "prompt",

118 "name": "Warm narrator",

119 "prompt": "A warm, calm narrator with a clear, measured delivery.",

120 "model": "auto"

121 }'

75```122```

Details

1226 1226 

1227 The IDs of vaults made available to the session.1227 The IDs of vaults made available to the session.

1228 1228 

1229 - `spend_control: optional object { consumed, limit }`

1230 

1231 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.

1232 

1233 - `consumed: number or null`

1234 

1235 Best-effort recorded spend floored to whole USD cents, or null when unavailable.

1236 

1237 - `limit: number`

1238 

1239 The configured positive limit in USD cents.

1240 

1241- `type: "agent.session.created"`1229- `type: "agent.session.created"`

1242 1230 

1243 The type of the object. Always `agent.session.created`.1231 The type of the object. Always `agent.session.created`.


1251 "type": "agent.session.created",1239 "type": "agent.session.created",

1252 "event_id": "event_id",1240 "event_id": "event_id",

1253 "session": {1241 "session": {

1254 "spend_control": {

1255 "limit": 1,

1256 "consumed": 0

1257 },

1258 "metadata": {1242 "metadata": {

1259 "foo": "string"1243 "foo": "string"

1260 },1244 },


4442 4426 

4443 The IDs of vaults made available to the session.4427 The IDs of vaults made available to the session.

4444 4428 

4445 - `spend_control: optional object { consumed, limit }`

4446 

4447 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.

4448 

4449 - `consumed: number or null`

4450 

4451 Best-effort recorded spend floored to whole USD cents, or null when unavailable.

4452 

4453 - `limit: number`

4454 

4455 The configured positive limit in USD cents.

4456 

4457- `type: "agent.session.idle"`4429- `type: "agent.session.idle"`

4458 4430 

4459 The type of the object. Always `agent.session.idle`.4431 The type of the object. Always `agent.session.idle`.


4467 "type": "agent.session.idle",4439 "type": "agent.session.idle",

4468 "event_id": "event_id",4440 "event_id": "event_id",

4469 "session": {4441 "session": {

4470 "spend_control": {

4471 "limit": 1,

4472 "consumed": 0

4473 },

4474 "metadata": {4442 "metadata": {

4475 "foo": "string"4443 "foo": "string"

4476 },4444 },


5356 5324 

5357 The IDs of vaults made available to the session.5325 The IDs of vaults made available to the session.

5358 5326 

5359 - `spend_control: optional object { consumed, limit }`

5360 

5361 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.

5362 

5363 - `consumed: number or null`

5364 

5365 Best-effort recorded spend floored to whole USD cents, or null when unavailable.

5366 

5367 - `limit: number`

5368 

5369 The configured positive limit in USD cents.

5370 

5371- `type: "agent.session.in_progress"`5327- `type: "agent.session.in_progress"`

5372 5328 

5373 The type of the object. Always `agent.session.in_progress`.5329 The type of the object. Always `agent.session.in_progress`.


5381 "type": "agent.session.in_progress",5337 "type": "agent.session.in_progress",

5382 "event_id": "event_id",5338 "event_id": "event_id",

5383 "session": {5339 "session": {

5384 "spend_control": {

5385 "limit": 1,

5386 "consumed": 0

5387 },

5388 "metadata": {5340 "metadata": {

5389 "foo": "string"5341 "foo": "string"

5390 },5342 },


6270 6222 

6271 The IDs of vaults made available to the session.6223 The IDs of vaults made available to the session.

6272 6224 

6273 - `spend_control: optional object { consumed, limit }`

6274 

6275 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.

6276 

6277 - `consumed: number or null`

6278 

6279 Best-effort recorded spend floored to whole USD cents, or null when unavailable.

6280 

6281 - `limit: number`

6282 

6283 The configured positive limit in USD cents.

6284 

6285- `type: "agent.session.requires_action"`6225- `type: "agent.session.requires_action"`

6286 6226 

6287 The type of the object. Always `agent.session.requires_action`.6227 The type of the object. Always `agent.session.requires_action`.


6295 "type": "agent.session.requires_action",6235 "type": "agent.session.requires_action",

6296 "event_id": "event_id",6236 "event_id": "event_id",

6297 "session": {6237 "session": {

6298 "spend_control": {

6299 "limit": 1,

6300 "consumed": 0

6301 },

6302 "metadata": {6238 "metadata": {

6303 "foo": "string"6239 "foo": "string"

6304 },6240 },


7184 7120 

7185 The IDs of vaults made available to the session.7121 The IDs of vaults made available to the session.

7186 7122 

7187 - `spend_control: optional object { consumed, limit }`

7188 

7189 Configured spending limit and best-effort consumption, in USD cents. Unlimited sessions omit this object.

7190 

7191 - `consumed: number or null`

7192 

7193 Best-effort recorded spend floored to whole USD cents, or null when unavailable.

7194 

7195 - `limit: number`

7196 

7197 The configured positive limit in USD cents.

7198 

7199- `type: "agent.session.failed"`7123- `type: "agent.session.failed"`

7200 7124 

7201 The type of the object. Always `agent.session.failed`.7125 The type of the object. Always `agent.session.failed`.


7209 "type": "agent.session.failed",7133 "type": "agent.session.failed",

7210 "event_id": "event_id",7134 "event_id": "event_id",

7211 "session": {7135 "session": {

7212 "spend_control": {

7213 "limit": 1,

7214 "consumed": 0

7215 },

7216 "metadata": {7136 "metadata": {

7217 "foo": "string"7137 "foo": "string"

7218 },7138 },

Details

907 907 

908 - `"find_in_page"`908 - `"find_in_page"`

909 909 

910 - `url: string`910 - `url: optional string or null`

911 911 

912 The URL of the page searched for the pattern.912 The URL of the page searched for the pattern, when available.

913 913 

914 - `FunctionCall object { arguments, call_id, name, 6 more }`914 - `FunctionCall object { arguments, call_id, name, 6 more }`

915 915 

Details

767 767 

768 - `"find_in_page"`768 - `"find_in_page"`

769 769 

770 - `url: string`770 - `url: optional string or null`

771 771 

772 The URL of the page searched for the pattern.772 The URL of the page searched for the pattern, when available.

773 773 

774 - `ImageGenerationCall object { id, result, status, 8 more }`774 - `ImageGenerationCall object { id, result, status, 8 more }`

775 775 

Details

2916 2916 

2917 - `"find_in_page"`2917 - `"find_in_page"`

2918 2918 

2919 - `url: string`2919 - `url: optional string or null`

2920 2920 

2921 The URL of the page searched for the pattern.2921 The URL of the page searched for the pattern, when available.

2922 2922 

2923 - `FunctionCall object { arguments, call_id, name, 6 more }`2923 - `FunctionCall object { arguments, call_id, name, 6 more }`

2924 2924 

Details

3364 3364 

3365 - `"find_in_page"`3365 - `"find_in_page"`

3366 3366 

3367 - `url: string`3367 - `url: optional string or null`

3368 3368 

3369 The URL of the page searched for the pattern.3369 The URL of the page searched for the pattern, when available.

3370 3370 

3371 - `FunctionCall object { arguments, call_id, name, 6 more }`3371 - `FunctionCall object { arguments, call_id, name, 6 more }`

3372 3372 

Details

2159 2159 

2160 - `"find_in_page"`2160 - `"find_in_page"`

2161 2161 

2162 - `url: string`2162 - `url: optional string or null`

2163 2163 

2164 The URL of the page searched for the pattern.2164 The URL of the page searched for the pattern, when available.

2165 2165 

2166 - `FunctionCall object { arguments, call_id, name, 6 more }`2166 - `FunctionCall object { arguments, call_id, name, 6 more }`

2167 2167 

Details

291 `marin`, and `cedar`. You may also provide a custom voice object with291 `marin`, and `cedar`. You may also provide a custom voice object with

292 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed292 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed

293 during the session once the model has responded with audio at least once.293 during the session once the model has responded with audio at least once.

294 Custom voices must be created from audio samples.294 Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

295 We recommend `marin` and `cedar` for best quality.295 We recommend `marin` and `cedar` for best quality.

296 296 

297 - `string`297 - `string`


1886 `marin`, and `cedar`. You may also provide a custom voice object with1886 `marin`, and `cedar`. You may also provide a custom voice object with

1887 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed1887 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed

1888 during the session once the model has responded with audio at least once.1888 during the session once the model has responded with audio at least once.

1889 Custom voices must be created from audio samples.1889 Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

1890 We recommend `marin` and `cedar` for best quality.1890 We recommend `marin` and `cedar` for best quality.

1891 1891 

1892 - `string`1892 - `string`

Details

264 `marin`, and `cedar`. You may also provide a custom voice object with264 `marin`, and `cedar`. You may also provide a custom voice object with

265 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed265 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed

266 during the session once the model has responded with audio at least once.266 during the session once the model has responded with audio at least once.

267 Custom voices must be created from audio samples.267 Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

268 We recommend `marin` and `cedar` for best quality.268 We recommend `marin` and `cedar` for best quality.

269 269 

270 - `string`270 - `string`

Details

297 `marin`, and `cedar`. You may also provide a custom voice object with297 `marin`, and `cedar`. You may also provide a custom voice object with

298 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed298 an `id`, for example `{ "id": "voice_1234" }`. Voice cannot be changed

299 during the session once the model has responded with audio at least once.299 during the session once the model has responded with audio at least once.

300 Custom voices must be created from audio samples.300 Custom voices must be created from audio samples. Voices created from text prompts are supported only in Live.

301 We recommend `marin` and `cedar` for best quality.301 We recommend `marin` and `cedar` for best quality.

302 302 

303 - `string`303 - `string`

Details

1066 1066 

1067 - `"find_in_page"`1067 - `"find_in_page"`

1068 1068 

1069 - `url: string`1069 - `url: optional string or null`

1070 1070 

1071 The URL of the page searched for the pattern.1071 The URL of the page searched for the pattern, when available.

1072 1072 

1073 - `FunctionCall object { arguments, call_id, name, 6 more }`1073 - `FunctionCall object { arguments, call_id, name, 6 more }`

1074 1074 


5090 5090 

5091 - `"find_in_page"`5091 - `"find_in_page"`

5092 5092 

5093 - `url: string`5093 - `url: optional string or null`

5094 5094 

5095 The URL of the page searched for the pattern.5095 The URL of the page searched for the pattern, when available.

5096 5096 

5097 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`5097 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`

5098 5098 

Details

1145 1145 

1146 - `"find_in_page"`1146 - `"find_in_page"`

1147 1147 

1148 - `url: string`1148 - `url: optional string or null`

1149 1149 

1150 The URL of the page searched for the pattern.1150 The URL of the page searched for the pattern, when available.

1151 1151 

1152 - `FunctionCall object { arguments, call_id, name, 6 more }`1152 - `FunctionCall object { arguments, call_id, name, 6 more }`

1153 1153 


7518 7518 

7519 - `"find_in_page"`7519 - `"find_in_page"`

7520 7520 

7521 - `url: string`7521 - `url: optional string or null`

7522 7522 

7523 The URL of the page searched for the pattern.7523 The URL of the page searched for the pattern, when available.

7524 7524 

7525 - `ImageGenerationCall object { id, result, status, 8 more }`7525 - `ImageGenerationCall object { id, result, status, 8 more }`

7526 7526 

Details

1007 1007 

1008 - `"find_in_page"`1008 - `"find_in_page"`

1009 1009 

1010 - `url: string`1010 - `url: optional string or null`

1011 1011 

1012 The URL of the page searched for the pattern.1012 The URL of the page searched for the pattern, when available.

1013 1013 

1014 - `FunctionCall object { arguments, call_id, name, 6 more }`1014 - `FunctionCall object { arguments, call_id, name, 6 more }`

1015 1015 


7216 7216 

7217 - `"find_in_page"`7217 - `"find_in_page"`

7218 7218 

7219 - `url: string`7219 - `url: optional string or null`

7220 7220 

7221 The URL of the page searched for the pattern.7221 The URL of the page searched for the pattern, when available.

7222 7222 

7223 - `FunctionCall object { arguments, call_id, name, 6 more }`7223 - `FunctionCall object { arguments, call_id, name, 6 more }`

7224 7224 


11240 11240 

11241 - `"find_in_page"`11241 - `"find_in_page"`

11242 11242 

11243 - `url: string`11243 - `url: optional string or null`

11244 11244 

11245 The URL of the page searched for the pattern.11245 The URL of the page searched for the pattern, when available.

11246 11246 

11247 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`11247 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`

11248 11248 

Details

1110 1110 

1111 - `"find_in_page"`1111 - `"find_in_page"`

1112 1112 

1113 - `url: string`1113 - `url: optional string or null`

1114 1114 

1115 The URL of the page searched for the pattern.1115 The URL of the page searched for the pattern, when available.

1116 1116 

1117 - `FunctionCall object { arguments, call_id, name, 6 more }`1117 - `FunctionCall object { arguments, call_id, name, 6 more }`

1118 1118 


5134 5134 

5135 - `"find_in_page"`5135 - `"find_in_page"`

5136 5136 

5137 - `url: string`5137 - `url: optional string or null`

5138 5138 

5139 The URL of the page searched for the pattern.5139 The URL of the page searched for the pattern, when available.

5140 5140 

5141 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`5141 - `ComputerCall object { id, call_id, pending_safety_checks, 4 more }`

5142 5142 

Details

913 913 

914 - `"find_in_page"`914 - `"find_in_page"`

915 915 

916 - `url: string`916 - `url: optional string or null`

917 917 

918 The URL of the page searched for the pattern.918 The URL of the page searched for the pattern, when available.

919 919 

920 - `FunctionCall object { id, arguments, call_id, 7 more }`920 - `FunctionCall object { id, arguments, call_id, 7 more }`

921 921 

Details

936 936 

937 - `"find_in_page"`937 - `"find_in_page"`

938 938 

939 - `url: string`939 - `url: optional string or null`

940 940 

941 The URL of the page searched for the pattern.941 The URL of the page searched for the pattern, when available.

942 942 

943 - `FunctionCall object { arguments, call_id, name, 6 more }`943 - `FunctionCall object { arguments, call_id, name, 6 more }`

944 944