SpyBara
Go Premium

Reference 2026-10-03 22:58 UTC to 2026-10-04 22:58 UTC

10 files changed +44 −20. View all changes and history on the product overview
2026
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

30 - `delta: object { content, function_call, refusal, 2 more }`30 - `delta: object { content, function_call, refusal, 2 more }`

31 31 

32 A chat completion delta generated by streamed model responses.32 A chat completion delta generated by streamed model responses.

33 Streamed audio can arrive in partial updates with an ID, base64 data, or

34 transcript text. The final audio update contains only its expiry timestamp.

33 35 

34 - `content: optional string or null`36 - `content: optional string or null`

35 37 


95 `length` if the maximum number of tokens specified in the request was reached,97 `length` if the maximum number of tokens specified in the request was reached,

96 `content_filter` if content was omitted due to a flag from our content filters,98 `content_filter` if content was omitted due to a flag from our content filters,

97 `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.99 `tool_calls` if the model called a tool, or `function_call` (deprecated) if the model called a function.

100 Omitted from the final audio update containing only `delta.audio.expires_at`.

98 101 

99 - `"stop"`102 - `"stop"`

100 103 

Details

42 42 

43 - `bytes: number`43 - `bytes: number`

44 44 

45 The size of the file, in bytes.45 The size of the file, in bytes. In a completed file upload response, this can

46 be null when the file size is not yet available.

46 47 

47 - `created_at: number`48 - `created_at: number`

48 49 


90 91 

91 - `expires_at: optional number`92 - `expires_at: optional number`

92 93 

93 The Unix timestamp (in seconds) for when the file will expire.94 The Unix timestamp (in seconds) for when the file will expire. In a

95 completed file upload response, this can be null when no expiry is set.

94 96 

95 - `status_details: optional string`97 - `status_details: optional string`

96 98 

97 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.99 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset.

98 100 

99### Example101### Example

100 102 

Details

38 38 

39 - `bytes: number`39 - `bytes: number`

40 40 

41 The size of the file, in bytes.41 The size of the file, in bytes. In a completed file upload response, this can

42 be null when the file size is not yet available.

42 43 

43 - `created_at: number`44 - `created_at: number`

44 45 


86 87 

87 - `expires_at: optional number`88 - `expires_at: optional number`

88 89 

89 The Unix timestamp (in seconds) for when the file will expire.90 The Unix timestamp (in seconds) for when the file will expire. In a

91 completed file upload response, this can be null when no expiry is set.

90 92 

91 - `status_details: optional string`93 - `status_details: optional string`

92 94 

93 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.95 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset.

94 96 

95- `first_id: string`97- `first_id: string`

96 98 

Details

22 22 

23 - `bytes: number`23 - `bytes: number`

24 24 

25 The size of the file, in bytes.25 The size of the file, in bytes. In a completed file upload response, this can

26 be null when the file size is not yet available.

26 27 

27 - `created_at: number`28 - `created_at: number`

28 29 


70 71 

71 - `expires_at: optional number`72 - `expires_at: optional number`

72 73 

73 The Unix timestamp (in seconds) for when the file will expire.74 The Unix timestamp (in seconds) for when the file will expire. In a

75 completed file upload response, this can be null when no expiry is set.

74 76 

75 - `status_details: optional string`77 - `status_details: optional string`

76 78 

77 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.79 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset.

78 80 

79### Example81### Example

80 82 

Details

18 18 

19- `metadata: optional map[string] or null`19- `metadata: optional map[string] or null`

20 20 

21 Optional metadata filter. To filter, use the syntax `metadata[k]=v`. Alternatively, set `metadata=null` to indicate no metadata.21 Optional metadata filter. To filter, use the syntax `metadata[k]=v`. Omitting the parameter or passing an empty object applies no metadata filter. An empty value, such as `metadata[k]=`, filters for that key with an empty string value.

22 To select jobs with null metadata, send the literal query string `metadata=null`. Nullable caller types do not specify how a client serializes null for a deep-object parameter. Use a raw query parameter if the client omits null. Do not combine the two query forms.

22 23 

23### Returns24### Returns

24 25 


557 558 

558 - `range: optional array of number`559 - `range: optional array of number`

559 560 

560 The range of the score. Defaults to `[0, 1]`.561 The service requires two numbers for the score range. Defaults to `[0, 1]`.

561 562 

562 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`563 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`

563 564 

Details

585 585 

586 - `range: optional array of number`586 - `range: optional array of number`

587 587 

588 The range of the score. Defaults to `[0, 1]`.588 The service requires two numbers for the score range. Defaults to `[0, 1]`.

589 589 

590 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`590 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`

591 591 


949 949 

950 - `range: optional array of number`950 - `range: optional array of number`

951 951 

952 The range of the score. Defaults to `[0, 1]`.952 The service requires two numbers for the score range. Defaults to `[0, 1]`.

953 953 

954 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`954 - `sampling_params: optional object { max_completions_tokens, reasoning_effort, seed, 2 more }`

955 955 

Details

307 -H 'Content-Type: application/json' \307 -H 'Content-Type: application/json' \

308 -H "Authorization: Bearer $OPENAI_API_KEY" \308 -H "Authorization: Bearer $OPENAI_API_KEY" \

309 -d '{309 -d '{

310 "input": "I want to kill them."310 "input": "I want to kill them.",

311 "model": "omni-moderation-2024-09-26"

311 }'312 }'

312```313```

313 314 

Details

18`instructions`, pass an empty string. To clear a field like `tools`, pass an empty array.18`instructions`, pass an empty string. To clear a field like `tools`, pass an empty array.

19To clear a field like `turn_detection`, pass `null`.19To clear a field like `turn_detection`, pass `null`.

20 20 

21To turn off input audio noise reduction, send this Realtime event:

22 

23```json

24{"type":"session.update","session":{"type":"realtime","audio":{"input":{"noise_reduction":null}}}}

25```

26 

27For a transcription session, use `"type":"transcription"` inside `session`.

28Omitting `audio.input.noise_reduction` from an update leaves its current setting unchanged.

29 

21### Schema30### Schema

22 31 

23Schema name: `RealtimeClientEventSessionUpdate`32Schema name: `RealtimeClientEventSessionUpdate`

Details

64 64 

65 - `bytes: number`65 - `bytes: number`

66 66 

67 The size of the file, in bytes.67 The size of the file, in bytes. In a completed file upload response, this can

68 be null when the file size is not yet available.

68 69 

69 - `created_at: number`70 - `created_at: number`

70 71 


112 113 

113 - `expires_at: optional number`114 - `expires_at: optional number`

114 115 

115 The Unix timestamp (in seconds) for when the file will expire.116 The Unix timestamp (in seconds) for when the file will expire. In a

117 completed file upload response, this can be null when no expiry is set.

116 118 

117 - `status_details: optional string`119 - `status_details: optional string`

118 120 

119 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.121 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset.

120 122 

121 - `object: optional "upload"`123 - `object: optional "upload"`

122 124 

Details

122 122 

123 - `bytes: number`123 - `bytes: number`

124 124 

125 The size of the file, in bytes.125 The size of the file, in bytes. In a completed file upload response, this can

126 be null when the file size is not yet available.

126 127 

127 - `created_at: number`128 - `created_at: number`

128 129 


170 171 

171 - `expires_at: optional number`172 - `expires_at: optional number`

172 173 

173 The Unix timestamp (in seconds) for when the file will expire.174 The Unix timestamp (in seconds) for when the file will expire. In a

175 completed file upload response, this can be null when no expiry is set.

174 176 

175 - `status_details: optional string`177 - `status_details: optional string`

176 178 

177 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`.179 Deprecated. For details on why a fine-tuning training file failed validation, see the `error` field on `fine_tuning.job`. Completed file upload responses can return null when these details are unset.

178 180 

179 - `object: optional "upload"`181 - `object: optional "upload"`

180 182