SpyBara
Go Premium

Reference 2026-09-27 23:58 UTC to 2026-09-28 22:57 UTC

47 files changed +1,039 −1,053. View all changes and history on the product overview
2026
Wed 30 22:59 Tue 29 22:57 Mon 28 22:57 Sun 27 23:58 Sat 26 23:59 Fri 25 23:58 Thu 24 23:58 Wed 23 23:58 Tue 22 23:57 Mon 21 23:00 Sat 19 23:00 Fri 18 22:59 Wed 16 22:58 Fri 11 20:00 Thu 10 18:01 Wed 9 16:02 Fri 4 23:59 Thu 3 23:00 Wed 2 01:58 Tue 1 01:57
Details

500{500{

501 "task": "transcribe",501 "task": "transcribe",

502 "language": "english",502 "language": "english",

503 "duration": 8.470000267028809,503 "duration": 3.32,

504 "text": "The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.",504 "text": "The beach was a popular spot on a hot summer day.",

505 "segments": [505 "segments": [

506 {506 {

507 "id": 0,507 "id": 0,


516 "avg_logprob": -0.2860786020755768,516 "avg_logprob": -0.2860786020755768,

517 "compression_ratio": 1.2363636493682861,517 "compression_ratio": 1.2363636493682861,

518 "no_speech_prob": 0.00985979475080967518 "no_speech_prob": 0.00985979475080967

519 },519 }

520 ...

521 ],520 ],

522 "usage": {521 "usage": {

523 "type": "duration",522 "type": "duration",

524 "seconds": 9523 "seconds": 4

525 }524 }

526}525}

527```526```


623{622{

624 "task": "transcribe",623 "task": "transcribe",

625 "language": "english",624 "language": "english",

626 "duration": 8.470000267028809,625 "duration": 0.5,

627 "text": "The beach was a popular spot on a hot summer day. People were swimming in the ocean, building sandcastles, and playing beach volleyball.",626 "text": "Hello.",

628 "words": [627 "words": [

629 {628 {

630 "word": "The",629 "word": "Hello",

631 "start": 0.0,630 "start": 0.0,

632 "end": 0.23999999463558197631 "end": 0.5

633 },

634 ...

635 {

636 "word": "volleyball",

637 "start": 7.400000095367432,

638 "end": 7.900000095367432

639 }632 }

640 ],633 ],

641 "usage": {634 "usage": {

642 "type": "duration",635 "type": "duration",

643 "seconds": 9636 "seconds": 1

644 }637 }

645}638}

646```639```

Details

58 58 

59 - `"cancelled"`59 - `"cancelled"`

60 60 

61 - `cancelled_at: optional number`61 - `cancelled_at: optional number or null`

62 62 

63 The Unix timestamp (in seconds) for when the batch was cancelled.63 The Unix timestamp (in seconds) for when the batch was cancelled.

64 64 

65 - `cancelling_at: optional number`65 - `cancelling_at: optional number or null`

66 66 

67 The Unix timestamp (in seconds) for when the batch started cancelling.67 The Unix timestamp (in seconds) for when the batch started cancelling.

68 68 

69 - `completed_at: optional number`69 - `completed_at: optional number or null`

70 70 

71 The Unix timestamp (in seconds) for when the batch was completed.71 The Unix timestamp (in seconds) for when the batch was completed.

72 72 

73 - `error_file_id: optional string`73 - `error_file_id: optional string or null`

74 74 

75 The ID of the file containing the outputs of requests with errors.75 The ID of the file containing the outputs of requests with errors.

76 76 

77 - `errors: optional object { data, object }`77 - `errors: optional object { data, object } or null`

78 78 

79 - `data: optional array of BatchError`79 - `data: optional array of BatchError`

80 80 


98 98 

99 The object type, which is always `list`.99 The object type, which is always `list`.

100 100 

101 - `expired_at: optional number`101 - `expired_at: optional number or null`

102 102 

103 The Unix timestamp (in seconds) for when the batch expired.103 The Unix timestamp (in seconds) for when the batch expired.

104 104 

105 - `expires_at: optional number`105 - `expires_at: optional number or null`

106 106 

107 The Unix timestamp (in seconds) for when the batch will expire.107 The Unix timestamp (in seconds) for when the batch will expire.

108 108 

109 - `failed_at: optional number`109 - `failed_at: optional number or null`

110 110 

111 The Unix timestamp (in seconds) for when the batch failed.111 The Unix timestamp (in seconds) for when the batch failed.

112 112 

113 - `finalizing_at: optional number`113 - `finalizing_at: optional number or null`

114 114 

115 The Unix timestamp (in seconds) for when the batch started finalizing.115 The Unix timestamp (in seconds) for when the batch started finalizing.

116 116 

117 - `in_progress_at: optional number`117 - `in_progress_at: optional number or null`

118 118 

119 The Unix timestamp (in seconds) for when the batch started processing.119 The Unix timestamp (in seconds) for when the batch started processing.

120 120 


134 characteristics, and price points. Refer to the [model134 characteristics, and price points. Refer to the [model

135 guide](/api/docs/models) to browse and compare available models.135 guide](/api/docs/models) to browse and compare available models.

136 136 

137 - `output_file_id: optional string`137 - `output_file_id: optional string or null`

138 138 

139 The ID of the file containing the outputs of successfully executed requests.139 The ID of the file containing the outputs of successfully executed requests.

140 140 

Details

113 113 

114 - `"cancelled"`114 - `"cancelled"`

115 115 

116 - `cancelled_at: optional number`116 - `cancelled_at: optional number or null`

117 117 

118 The Unix timestamp (in seconds) for when the batch was cancelled.118 The Unix timestamp (in seconds) for when the batch was cancelled.

119 119 

120 - `cancelling_at: optional number`120 - `cancelling_at: optional number or null`

121 121 

122 The Unix timestamp (in seconds) for when the batch started cancelling.122 The Unix timestamp (in seconds) for when the batch started cancelling.

123 123 

124 - `completed_at: optional number`124 - `completed_at: optional number or null`

125 125 

126 The Unix timestamp (in seconds) for when the batch was completed.126 The Unix timestamp (in seconds) for when the batch was completed.

127 127 

128 - `error_file_id: optional string`128 - `error_file_id: optional string or null`

129 129 

130 The ID of the file containing the outputs of requests with errors.130 The ID of the file containing the outputs of requests with errors.

131 131 

132 - `errors: optional object { data, object }`132 - `errors: optional object { data, object } or null`

133 133 

134 - `data: optional array of BatchError`134 - `data: optional array of BatchError`

135 135 


153 153 

154 The object type, which is always `list`.154 The object type, which is always `list`.

155 155 

156 - `expired_at: optional number`156 - `expired_at: optional number or null`

157 157 

158 The Unix timestamp (in seconds) for when the batch expired.158 The Unix timestamp (in seconds) for when the batch expired.

159 159 

160 - `expires_at: optional number`160 - `expires_at: optional number or null`

161 161 

162 The Unix timestamp (in seconds) for when the batch will expire.162 The Unix timestamp (in seconds) for when the batch will expire.

163 163 

164 - `failed_at: optional number`164 - `failed_at: optional number or null`

165 165 

166 The Unix timestamp (in seconds) for when the batch failed.166 The Unix timestamp (in seconds) for when the batch failed.

167 167 

168 - `finalizing_at: optional number`168 - `finalizing_at: optional number or null`

169 169 

170 The Unix timestamp (in seconds) for when the batch started finalizing.170 The Unix timestamp (in seconds) for when the batch started finalizing.

171 171 

172 - `in_progress_at: optional number`172 - `in_progress_at: optional number or null`

173 173 

174 The Unix timestamp (in seconds) for when the batch started processing.174 The Unix timestamp (in seconds) for when the batch started processing.

175 175 


189 characteristics, and price points. Refer to the [model189 characteristics, and price points. Refer to the [model

190 guide](/api/docs/models) to browse and compare available models.190 guide](/api/docs/models) to browse and compare available models.

191 191 

192 - `output_file_id: optional string`192 - `output_file_id: optional string or null`

193 193 

194 The ID of the file containing the outputs of successfully executed requests.194 The ID of the file containing the outputs of successfully executed requests.

195 195 

Details

64 64 

65 - `"cancelled"`65 - `"cancelled"`

66 66 

67 - `cancelled_at: optional number`67 - `cancelled_at: optional number or null`

68 68 

69 The Unix timestamp (in seconds) for when the batch was cancelled.69 The Unix timestamp (in seconds) for when the batch was cancelled.

70 70 

71 - `cancelling_at: optional number`71 - `cancelling_at: optional number or null`

72 72 

73 The Unix timestamp (in seconds) for when the batch started cancelling.73 The Unix timestamp (in seconds) for when the batch started cancelling.

74 74 

75 - `completed_at: optional number`75 - `completed_at: optional number or null`

76 76 

77 The Unix timestamp (in seconds) for when the batch was completed.77 The Unix timestamp (in seconds) for when the batch was completed.

78 78 

79 - `error_file_id: optional string`79 - `error_file_id: optional string or null`

80 80 

81 The ID of the file containing the outputs of requests with errors.81 The ID of the file containing the outputs of requests with errors.

82 82 

83 - `errors: optional object { data, object }`83 - `errors: optional object { data, object } or null`

84 84 

85 - `data: optional array of BatchError`85 - `data: optional array of BatchError`

86 86 


104 104 

105 The object type, which is always `list`.105 The object type, which is always `list`.

106 106 

107 - `expired_at: optional number`107 - `expired_at: optional number or null`

108 108 

109 The Unix timestamp (in seconds) for when the batch expired.109 The Unix timestamp (in seconds) for when the batch expired.

110 110 

111 - `expires_at: optional number`111 - `expires_at: optional number or null`

112 112 

113 The Unix timestamp (in seconds) for when the batch will expire.113 The Unix timestamp (in seconds) for when the batch will expire.

114 114 

115 - `failed_at: optional number`115 - `failed_at: optional number or null`

116 116 

117 The Unix timestamp (in seconds) for when the batch failed.117 The Unix timestamp (in seconds) for when the batch failed.

118 118 

119 - `finalizing_at: optional number`119 - `finalizing_at: optional number or null`

120 120 

121 The Unix timestamp (in seconds) for when the batch started finalizing.121 The Unix timestamp (in seconds) for when the batch started finalizing.

122 122 

123 - `in_progress_at: optional number`123 - `in_progress_at: optional number or null`

124 124 

125 The Unix timestamp (in seconds) for when the batch started processing.125 The Unix timestamp (in seconds) for when the batch started processing.

126 126 


140 characteristics, and price points. Refer to the [model140 characteristics, and price points. Refer to the [model

141 guide](/api/docs/models) to browse and compare available models.141 guide](/api/docs/models) to browse and compare available models.

142 142 

143 - `output_file_id: optional string`143 - `output_file_id: optional string or null`

144 144 

145 The ID of the file containing the outputs of successfully executed requests.145 The ID of the file containing the outputs of successfully executed requests.

146 146 


315 },315 },

316 "metadata": {316 "metadata": {

317 "customer_id": "user_123456789",317 "customer_id": "user_123456789",

318 "batch_description": "Nightly job",318 "batch_description": "Nightly job"

319 }

319 }320 }

320 },

321 { ... },

322 ],321 ],

323 "first_id": "batch_abc123",322 "first_id": "batch_abc123",

324 "last_id": "batch_abc456",323 "last_id": "batch_abc123",

325 "has_more": true324 "has_more": false

326}325}

327```326```

Details

58 58 

59 - `"cancelled"`59 - `"cancelled"`

60 60 

61 - `cancelled_at: optional number`61 - `cancelled_at: optional number or null`

62 62 

63 The Unix timestamp (in seconds) for when the batch was cancelled.63 The Unix timestamp (in seconds) for when the batch was cancelled.

64 64 

65 - `cancelling_at: optional number`65 - `cancelling_at: optional number or null`

66 66 

67 The Unix timestamp (in seconds) for when the batch started cancelling.67 The Unix timestamp (in seconds) for when the batch started cancelling.

68 68 

69 - `completed_at: optional number`69 - `completed_at: optional number or null`

70 70 

71 The Unix timestamp (in seconds) for when the batch was completed.71 The Unix timestamp (in seconds) for when the batch was completed.

72 72 

73 - `error_file_id: optional string`73 - `error_file_id: optional string or null`

74 74 

75 The ID of the file containing the outputs of requests with errors.75 The ID of the file containing the outputs of requests with errors.

76 76 

77 - `errors: optional object { data, object }`77 - `errors: optional object { data, object } or null`

78 78 

79 - `data: optional array of BatchError`79 - `data: optional array of BatchError`

80 80 


98 98 

99 The object type, which is always `list`.99 The object type, which is always `list`.

100 100 

101 - `expired_at: optional number`101 - `expired_at: optional number or null`

102 102 

103 The Unix timestamp (in seconds) for when the batch expired.103 The Unix timestamp (in seconds) for when the batch expired.

104 104 

105 - `expires_at: optional number`105 - `expires_at: optional number or null`

106 106 

107 The Unix timestamp (in seconds) for when the batch will expire.107 The Unix timestamp (in seconds) for when the batch will expire.

108 108 

109 - `failed_at: optional number`109 - `failed_at: optional number or null`

110 110 

111 The Unix timestamp (in seconds) for when the batch failed.111 The Unix timestamp (in seconds) for when the batch failed.

112 112 

113 - `finalizing_at: optional number`113 - `finalizing_at: optional number or null`

114 114 

115 The Unix timestamp (in seconds) for when the batch started finalizing.115 The Unix timestamp (in seconds) for when the batch started finalizing.

116 116 

117 - `in_progress_at: optional number`117 - `in_progress_at: optional number or null`

118 118 

119 The Unix timestamp (in seconds) for when the batch started processing.119 The Unix timestamp (in seconds) for when the batch started processing.

120 120 


134 characteristics, and price points. Refer to the [model134 characteristics, and price points. Refer to the [model

135 guide](/api/docs/models) to browse and compare available models.135 guide](/api/docs/models) to browse and compare available models.

136 136 

137 - `output_file_id: optional string`137 - `output_file_id: optional string or null`

138 138 

139 The ID of the file containing the outputs of successfully executed requests.139 The ID of the file containing the outputs of successfully executed requests.

140 140 

Details

167 {167 {

168 "id": "cthr_abc123",168 "id": "cthr_abc123",

169 "object": "chatkit.thread",169 "object": "chatkit.thread",

170 "title": "Customer escalation"170 "title": "Customer escalation",

171 "created_at": 1712345600,

172 "status": {

173 "type": "active"

174 },

175 "user": "user_123"

171 },176 },

172 {177 {

173 "id": "cthr_def456",178 "id": "cthr_def456",

174 "object": "chatkit.thread",179 "object": "chatkit.thread",

175 "title": "Demo feedback"180 "title": "Demo feedback",

181 "created_at": 1712345600,

182 "status": {

183 "type": "active"

184 },

185 "user": "user_456"

176 }186 }

177 ],187 ],

178 "has_more": false,188 "has_more": false,

179 "object": "list"189 "object": "list",

190 "first_id": "cthr_abc123",

191 "last_id": "cthr_def456"

180}192}

181```193```

Details

497 {497 {

498 "id": "cthi_user_001",498 "id": "cthi_user_001",

499 "object": "chatkit.thread_item",499 "object": "chatkit.thread_item",

500 "type": "user_message",500 "type": "chatkit.user_message",

501 "content": [501 "content": [

502 {502 {

503 "type": "input_text",503 "type": "input_text",

504 "text": "I need help debugging an onboarding issue."504 "text": "I need help debugging an onboarding issue."

505 }505 }

506 ],506 ],

507 "attachments": []507 "attachments": [],

508 "created_at": 1712345600,

509 "thread_id": "cthr_abc123",

510 "inference_options": null

508 },511 },

509 {512 {

510 "id": "cthi_assistant_002",513 "id": "cthi_assistant_002",

511 "object": "chatkit.thread_item",514 "object": "chatkit.thread_item",

512 "type": "assistant_message",515 "type": "chatkit.assistant_message",

513 "content": [516 "content": [

514 {517 {

515 "type": "output_text",518 "type": "output_text",

516 "text": "Let's start by confirming the workflow version you deployed."519 "text": "Let's start by confirming the workflow version you deployed.",

520 "annotations": []

517 }521 }

518 ]522 ],

523 "created_at": 1712345601,

524 "thread_id": "cthr_abc123"

519 }525 }

520 ],526 ],

521 "has_more": false,527 "has_more": false,

522 "object": "list"528 "object": "list",

529 "first_id": "cthi_user_001",

530 "last_id": "cthi_assistant_002"

523}531}

524```532```

Details

118 "id": "cthr_abc123",118 "id": "cthr_abc123",

119 "object": "chatkit.thread",119 "object": "chatkit.thread",

120 "title": "Customer escalation",120 "title": "Customer escalation",

121 "items": {121 "created_at": 1712345600,

122 "data": [122 "status": {

123 {123 "type": "active"

124 "id": "cthi_user_001",

125 "object": "chatkit.thread_item",

126 "type": "user_message",

127 "content": [

128 {

129 "type": "input_text",

130 "text": "I need help debugging an onboarding issue."

131 }

132 ],

133 "attachments": []

134 },124 },

135 {125 "user": "user_123"

136 "id": "cthi_assistant_002",

137 "object": "chatkit.thread_item",

138 "type": "assistant_message",

139 "content": [

140 {

141 "type": "output_text",

142 "text": "Let's start by confirming the workflow version you deployed."

143 }

144 ]

145 }

146 ],

147 "has_more": false

148 }

149}126}

150```127```

Details

440 440 

441```json441```json

442{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"obfuscation":"r4N7vQ2m"}442{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"obfuscation":"r4N7vQ2m"}

443 

444{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{"content":"Hello"},"logprobs":null,"finish_reason":null}],"obfuscation":"p9K3xT6w"}

445 

446....

447 

448{"id":"chatcmpl-123","object":"chat.completion.chunk","created":1694268190,"model":"gpt-6-astra", "system_fingerprint": "fp_44709d6fcb", "choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop"}],"obfuscation":""}

449```443```

Details

10 10 

11- `container_id: string`11- `container_id: string`

12 12 

13### Returns

14 

15- `id: string`

16 

17- `deleted: boolean`

18 

19- `object: "container.deleted"`

20 

21 - `"container.deleted"`

22 

13### Example23### Example

14 24 

15```http25```http


18 -H "Authorization: Bearer $OPENAI_API_KEY"28 -H "Authorization: Bearer $OPENAI_API_KEY"

19```29```

20 30 

31#### Response

32 

33```json

34{

35 "id": "id",

36 "deleted": true,

37 "object": "container.deleted"

38}

39```

40 

21### Example41### Example

22 42 

23```http43```http

Details

12 12 

13- `file_id: string`13- `file_id: string`

14 14 

15### Returns

16 

17- `id: string`

18 

19- `deleted: boolean`

20 

21- `object: "container.file.deleted"`

22 

23 - `"container.file.deleted"`

24 

15### Example25### Example

16 26 

17```http27```http


20 -H "Authorization: Bearer $OPENAI_API_KEY"30 -H "Authorization: Bearer $OPENAI_API_KEY"

21```31```

22 32 

33#### Response

34 

35```json

36{

37 "id": "id",

38 "deleted": true,

39 "object": "container.file.deleted"

40}

41```

42 

23### Example43### Example

24 44 

25```http45```http

Details

245 245 

246 - `index: number`246 - `index: number`

247 247 

248 The index of the file in the list of files.248 The index in the output text at which to insert the file citation.

249 249 

250 - `type: "file_citation"`250 - `type: "file_citation"`

251 251 


813 813 

814 - `"incomplete"`814 - `"incomplete"`

815 815 

816 - `WebSearchCall object { id, action, status, type }`816 - `WebSearchCall object { id, status, type, action }`

817 817 

818 The results of a web search tool call. See the818 The results of a web search tool call. See the

819 [web search guide](/api/docs/guides/tools-web-search) for more information.819 [web search guide](/api/docs/guides/tools-web-search) for more information.


822 822 

823 The unique ID of the web search tool call.823 The unique ID of the web search tool call.

824 824 

825 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`825 - `status: "in_progress" or "searching" or "completed" or 2 more`

826 

827 The status of the web search tool call.

828 

829 - `"in_progress"`

830 

831 - `"searching"`

832 

833 - `"completed"`

834 

835 - `"failed"`

836 

837 - `"incomplete"`

838 

839 - `type: "web_search_call"`

840 

841 The type of the web search tool call. Always `web_search_call`.

842 

843 - `"web_search_call"`

844 

845 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

826 846 

827 An object describing the specific action taken in this web search call.847 An object describing the specific action taken in this web search call.

828 Includes details on how the model used the web (search, open_page, find_in_page).848 Includes details on how the model used the web (search, open_page, find_in_page).


891 911 

892 The URL of the page searched for the pattern.912 The URL of the page searched for the pattern.

893 913 

894 - `status: "in_progress" or "searching" or "completed" or 2 more`

895 

896 The status of the web search tool call.

897 

898 - `"in_progress"`

899 

900 - `"searching"`

901 

902 - `"completed"`

903 

904 - `"failed"`

905 

906 - `"incomplete"`

907 

908 - `type: "web_search_call"`

909 

910 The type of the web search tool call. Always `web_search_call`.

911 

912 - `"web_search_call"`

913 

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

915 915 

916 A tool call to run a function. See the916 A tool call to run a function. See the


1314 1314 

1315 Combine multiple filters using `and` or `or`.1315 Combine multiple filters using `and` or `or`.

1316 1316 

1317 - `filters: array of ComparisonFilter or unknown`1317 - `filters: array of ComparisonFilter or CompoundFilter`

1318 1318 

1319 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1319 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1320 1320 


1322 1322 

1323 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1323 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1324 1324 

1325 - `unknown`1325 - `CompoundFilter object { filters, type }`

1326 

1327 Combine multiple filters using `and` or `or`.

1326 1328 

1327 - `type: "and" or "or"`1329 - `type: "and" or "or"`

1328 1330 

Details

128 128 

129 - `index: number`129 - `index: number`

130 130 

131 The index of the file in the list of files.131 The index in the output text at which to insert the file citation.

132 132 

133 - `type: "file_citation"`133 - `type: "file_citation"`

134 134 


673 673 

674 The text that was retrieved from the file.674 The text that was retrieved from the file.

675 675 

676 - `WebSearchCall object { id, action, status, type }`676 - `WebSearchCall object { id, status, type, action }`

677 677 

678 The results of a web search tool call. See the678 The results of a web search tool call. See the

679 [web search guide](/api/docs/guides/tools-web-search) for more information.679 [web search guide](/api/docs/guides/tools-web-search) for more information.


682 682 

683 The unique ID of the web search tool call.683 The unique ID of the web search tool call.

684 684 

685 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`685 - `status: "in_progress" or "searching" or "completed" or 2 more`

686 

687 The status of the web search tool call.

688 

689 - `"in_progress"`

690 

691 - `"searching"`

692 

693 - `"completed"`

694 

695 - `"failed"`

696 

697 - `"incomplete"`

698 

699 - `type: "web_search_call"`

700 

701 The type of the web search tool call. Always `web_search_call`.

702 

703 - `"web_search_call"`

704 

705 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

686 706 

687 An object describing the specific action taken in this web search call.707 An object describing the specific action taken in this web search call.

688 Includes details on how the model used the web (search, open_page, find_in_page).708 Includes details on how the model used the web (search, open_page, find_in_page).


751 771 

752 The URL of the page searched for the pattern.772 The URL of the page searched for the pattern.

753 773 

754 - `status: "in_progress" or "searching" or "completed" or 2 more`

755 

756 The status of the web search tool call.

757 

758 - `"in_progress"`

759 

760 - `"searching"`

761 

762 - `"completed"`

763 

764 - `"failed"`

765 

766 - `"incomplete"`

767 

768 - `type: "web_search_call"`

769 

770 The type of the web search tool call. Always `web_search_call`.

771 

772 - `"web_search_call"`

773 

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

775 775 

776 An image generation request made by the model.776 An image generation request made by the model.


1411 1411 

1412 Combine multiple filters using `and` or `or`.1412 Combine multiple filters using `and` or `or`.

1413 1413 

1414 - `filters: array of ComparisonFilter or unknown`1414 - `filters: array of ComparisonFilter or CompoundFilter`

1415 1415 

1416 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1416 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1417 1417 


1419 1419 

1420 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1420 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1421 1421 

1422 - `unknown`1422 - `CompoundFilter object { filters, type }`

1423 

1424 Combine multiple filters using `and` or `or`.

1423 1425 

1424 - `type: "and" or "or"`1426 - `type: "and" or "or"`

1425 1427 

Details

66 66 

67 The list of embeddings generated by the model.67 The list of embeddings generated by the model.

68 68 

69 - `embedding: array of number`69 - `embedding: array of number or string`

70 70 

71 The embedding vector, which is a list of floats. The length of vector depends on the model as listed in the [embedding guide](/api/docs/guides/embeddings).71 The embedding vector, returned as a list of floats when `encoding_format` is `float` (the default), or as a base64-encoded string when `encoding_format` is `base64`. The length of the vector depends on the model as listed in the [embedding guide](/api/docs/guides/embeddings).

72 

73 - `array of number`

74 

75 - `string`

72 76 

73 - `index: number`77 - `index: number`

74 78 


145 -H "Authorization: Bearer $OPENAI_API_KEY" \149 -H "Authorization: Bearer $OPENAI_API_KEY" \

146 -H "Content-Type: application/json" \150 -H "Content-Type: application/json" \

147 -d '{151 -d '{

148 "input": "The food was delicious and the waiter...",152 "input": "Hello world",

149 "model": "text-embedding-ada-002",153 "model": "text-embedding-3-small",

150 "encoding_format": "float"154 "encoding_format": "float",

155 "dimensions": 3

151 }'156 }'

152```157```

153 158 


160 {165 {

161 "object": "embedding",166 "object": "embedding",

162 "embedding": [167 "embedding": [

163 0.0023064255,168 0.26726124,

164 -0.009327292,169 0.53452248,

165 .... (1536 floats total for ada-002)170 0.80178373

166 -0.0028842222,

167 ],171 ],

168 "index": 0172 "index": 0

169 }173 }

170 ],174 ],

171 "model": "text-embedding-ada-002",175 "model": "text-embedding-3-small",

172 "usage": {176 "usage": {

173 "prompt_tokens": 8,177 "prompt_tokens": 2,

174 "total_tokens": 8178 "total_tokens": 2

175 }179 }

176}180}

177```181```

Details

1076 1076 

1077 Combine multiple filters using `and` or `or`.1077 Combine multiple filters using `and` or `or`.

1078 1078 

1079 - `filters: array of ComparisonFilter or unknown`1079 - `filters: array of ComparisonFilter or CompoundFilter`

1080 1080 

1081 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1081 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1082 1082 


1084 1084 

1085 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1085 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1086 1086 

1087 - `unknown`1087 - `CompoundFilter object { filters, type }`

1088 

1089 Combine multiple filters using `and` or `or`.

1088 1090 

1089 - `type: "and" or "or"`1091 - `type: "and" or "or"`

1090 1092 

Details

128curl https://api.openai.com/v1/files \128curl https://api.openai.com/v1/files \

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

130 -F purpose="fine-tune" \130 -F purpose="fine-tune" \

131 -F file="@mydata.jsonl"131 -F file="@mydata.jsonl" \

132 -F expires_after[anchor]="created_at"132 -F 'expires_after[anchor]=created_at' \

133 -F expires_after[seconds]=2592000133 -F 'expires_after[seconds]=2592000'

134```134```

135 135 

136#### Response136#### Response


141 "object": "file",141 "object": "file",

142 "bytes": 120000,142 "bytes": 120000,

143 "created_at": 1677610602,143 "created_at": 1677610602,

144 "expires_at": 1677614202,144 "expires_at": 1680202602,

145 "filename": "mydata.jsonl",145 "filename": "mydata.jsonl",

146 "purpose": "fine-tune"146 "purpose": "fine-tune",

147 "status": "processed"

147}148}

148```149```

Details

151 "created_at": 1613677385,151 "created_at": 1613677385,

152 "expires_at": 1677614202,152 "expires_at": 1677614202,

153 "filename": "salesOverview.pdf",153 "filename": "salesOverview.pdf",

154 "purpose": "assistants"154 "purpose": "assistants",

155 "status": "processed"

155 },156 },

156 {157 {

157 "id": "file-abc456",158 "id": "file-abc456",


160 "created_at": 1613779121,161 "created_at": 1613779121,

161 "expires_at": 1677614202,162 "expires_at": 1677614202,

162 "filename": "puppy.jsonl",163 "filename": "puppy.jsonl",

163 "purpose": "fine-tune"164 "purpose": "fine-tune",

165 "status": "processed"

164 }166 }

165 ],167 ],

166 "first_id": "file-abc123",168 "first_id": "file-abc123",

Details

114 "object": "file",114 "object": "file",

115 "bytes": 120000,115 "bytes": 120000,

116 "created_at": 1677610602,116 "created_at": 1677610602,

117 "expires_at": 1677614202,117 "expires_at": 1680202602,

118 "filename": "mydata.jsonl",118 "filename": "mydata.jsonl",

119 "purpose": "fine-tune"119 "purpose": "fine-tune",

120 "status": "processed"

120}121}

121```122```

Details

32 32 

33 The Unix timestamp (in seconds) for when the fine-tuning job was created.33 The Unix timestamp (in seconds) for when the fine-tuning job was created.

34 34 

35 - `error: object { code, message, param } or null`35 - `error: object { code, message, param } or unknown or null`

36 

37 For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.

38 

39 - `object { code, message, param }`

36 40 

37 For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.41 For fine-tuning jobs that have `failed`, this will contain more information on the cause of the failure.

38 42 


48 52 

49 The parameter that was invalid, usually `training_file` or `validation_file`. This field will be null if the failure was not parameter-specific.53 The parameter that was invalid, usually `training_file` or `validation_file`. This field will be null if the failure was not parameter-specific.

50 54 

55 - `unknown`

56 

51 - `fine_tuned_model: string or null`57 - `fine_tuned_model: string or null`

52 58 

53 The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.59 The name of the fine-tuned model that is being created. The value will be null if the fine-tuning job is still running.


56 62 

57 The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.63 The Unix timestamp (in seconds) for when the fine-tuning job was finished. The value will be null if the fine-tuning job is still running.

58 64 

59 - `hyperparameters: object { batch_size, learning_rate_multiplier, n_epochs }`

60 

61 The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs.

62 

63 - `batch_size: optional "auto" or number or null`

64 

65 Number of examples in each batch. A larger batch size means that model parameters

66 are updated less frequently, but with lower variance.

67 

68 - `"auto"`

69 

70 - `"auto"`

71 

72 - `number`

73 

74 - `learning_rate_multiplier: optional "auto" or number`

75 

76 Scaling factor for the learning rate. A smaller learning rate may be useful to avoid

77 overfitting.

78 

79 - `"auto"`

80 

81 - `"auto"`

82 

83 - `number`

84 

85 - `n_epochs: optional "auto" or number`

86 

87 The number of epochs to train the model for. An epoch refers to one full cycle

88 through the training dataset.

89 

90 - `"auto"`

91 

92 - `"auto"`

93 

94 - `number`

95 

96 - `model: string`65 - `model: string`

97 66 

98 The base model that is being fine-tuned.67 The base model that is being fine-tuned.


111 80 

112 The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the [Files API](/api/reference/resources/files/methods/content).81 The compiled results file ID(s) for the fine-tuning job. You can retrieve the results with the [Files API](/api/reference/resources/files/methods/content).

113 82 

114 - `seed: number`83 - `seed: number or null`

115 84 

116 The seed used for the fine-tuning job.85 The seed used for the fine-tuning job.

117 86 

118 - `status: "validating_files" or "queued" or "running" or 3 more`87 - `status: "validating_files" or "queued" or "running" or 5 more`

119 88 

120 The current status of the fine-tuning job, which can be either `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.89 The current status of the fine-tuning job, which can be `validating_files`, `queued`, `running`, `pausing`, `paused`, `succeeded`, `failed`, or `cancelled`.

121 90 

122 - `"validating_files"`91 - `"validating_files"`

123 92 


131 100 

132 - `"cancelled"`101 - `"cancelled"`

133 102 

103 - `"pausing"`

104 

105 - `"paused"`

106 

134 - `trained_tokens: number or null`107 - `trained_tokens: number or null`

135 108 

136 The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.109 The total number of billable tokens processed by this fine-tuning job. The value will be null if the fine-tuning job is still running.


147 120 

148 The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.121 The Unix timestamp (in seconds) for when the fine-tuning job is estimated to finish. The value will be null if the fine-tuning job is not running.

149 122 

123 - `hyperparameters: optional object { batch_size, learning_rate_multiplier, n_epochs } or null`

124 

125 The hyperparameters used for the fine-tuning job. This value will only be returned when running `supervised` jobs.

126 

127 - `batch_size: optional "auto" or number or null`

128 

129 Number of examples in each batch. A larger batch size means that model parameters

130 are updated less frequently, but with lower variance.

131 

132 - `"auto"`

133 

134 - `"auto"`

135 

136 - `number`

137 

138 - `learning_rate_multiplier: optional "auto" or number`

139 

140 Scaling factor for the learning rate. A smaller learning rate may be useful to avoid

141 overfitting.

142 

143 - `"auto"`

144 

145 - `"auto"`

146 

147 - `number`

148 

149 - `n_epochs: optional "auto" or number`

150 

151 The number of epochs to train the model for. An epoch refers to one full cycle

152 through the training dataset.

153 

154 - `"auto"`

155 

156 - `"auto"`

157 

158 - `number`

159 

150 - `integrations: optional array of FineTuningJobWandbIntegrationObject or null`160 - `integrations: optional array of FineTuningJobWandbIntegrationObject or null`

151 161 

152 A list of integrations to enable for this fine-tuning job.162 A list of integrations to enable for this fine-tuning job.


190 Keys are strings with a maximum length of 64 characters. Values are strings200 Keys are strings with a maximum length of 64 characters. Values are strings

191 with a maximum length of 512 characters.201 with a maximum length of 512 characters.

192 202 

193 - `method: optional object { type, dpo, reinforcement, supervised }`203 - `method: optional object { type, dpo, reinforcement, supervised } or null`

194 204 

195 The method used for fine-tuning.205 The method used for fine-tuning.

196 206 


874 },884 },

875 "fine_tuned_model": "fine_tuned_model",885 "fine_tuned_model": "fine_tuned_model",

876 "finished_at": 0,886 "finished_at": 0,

877 "hyperparameters": {

878 "batch_size": "auto",

879 "learning_rate_multiplier": "auto",

880 "n_epochs": "auto"

881 },

882 "model": "model",887 "model": "model",

883 "object": "fine_tuning.job",888 "object": "fine_tuning.job",

884 "organization_id": "organization_id",889 "organization_id": "organization_id",


891 "training_file": "training_file",896 "training_file": "training_file",

892 "validation_file": "validation_file",897 "validation_file": "validation_file",

893 "estimated_finish": 0,898 "estimated_finish": 0,

899 "hyperparameters": {

900 "batch_size": "auto",

901 "learning_rate_multiplier": "auto",

902 "n_epochs": "auto"

903 },

894 "integrations": [904 "integrations": [

895 {905 {

896 "type": "wandb",906 "type": "wandb",


953### Example963### Example

954 964 

955```http965```http

956curl https://api.openai.com/v1/fine_tuning/jobs?limit=2&metadata[key]=value \966curl "https://api.openai.com/v1/fine_tuning/jobs?limit=2&metadata[key]=value" \

957 -H "Authorization: Bearer $OPENAI_API_KEY"967 -H "Authorization: Bearer $OPENAI_API_KEY"

958```968```

959 969 


974 "status": "queued",984 "status": "queued",

975 "validation_file": null,985 "validation_file": null,

976 "training_file": "file-abc123",986 "training_file": "file-abc123",

987 "error": null,

988 "finished_at": null,

989 "trained_tokens": null,

990 "seed": 42,

991 "hyperparameters": {

992 "batch_size": "auto",

993 "learning_rate_multiplier": "auto",

994 "n_epochs": "auto"

995 },

996 "method": {

997 "type": "supervised",

998 "supervised": {

999 "hyperparameters": {

1000 "batch_size": "auto",

1001 "learning_rate_multiplier": "auto",

1002 "n_epochs": "auto"

1003 }

1004 }

1005 },

977 "metadata": {1006 "metadata": {

978 "key": "value"1007 "key": "value"

979 }1008 }

980 },1009 }

981 { ... },1010 ],

982 { ... }1011 "has_more": false

983 ], "has_more": true

984}1012}

985```1013```

Details

1016 1016 

1017 - `index: number`1017 - `index: number`

1018 1018 

1019 The index of the file in the list of files.1019 The index in the output text at which to insert the file citation.

1020 1020 

1021 - `type: "file_citation"`1021 - `type: "file_citation"`

1022 1022 


1584 1584 

1585 - `"incomplete"`1585 - `"incomplete"`

1586 1586 

1587 - `WebSearchCall object { id, action, status, type }`1587 - `WebSearchCall object { id, status, type, action }`

1588 1588 

1589 The results of a web search tool call. See the1589 The results of a web search tool call. See the

1590 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.1590 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.


1593 1593 

1594 The unique ID of the web search tool call.1594 The unique ID of the web search tool call.

1595 1595 

1596 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`1596 - `status: "in_progress" or "searching" or "completed" or 2 more`

1597 

1598 The status of the web search tool call.

1599 

1600 - `"in_progress"`

1601 

1602 - `"searching"`

1603 

1604 - `"completed"`

1605 

1606 - `"failed"`

1607 

1608 - `"incomplete"`

1609 

1610 - `type: "web_search_call"`

1611 

1612 The type of the web search tool call. Always `web_search_call`.

1613 

1614 - `"web_search_call"`

1615 

1616 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

1597 1617 

1598 An object describing the specific action taken in this web search call.1618 An object describing the specific action taken in this web search call.

1599 Includes details on how the model used the web (search, open_page, find_in_page).1619 Includes details on how the model used the web (search, open_page, find_in_page).


1662 1682 

1663 The URL of the page searched for the pattern.1683 The URL of the page searched for the pattern.

1664 1684 

1665 - `status: "in_progress" or "searching" or "completed" or 2 more`

1666 

1667 The status of the web search tool call.

1668 

1669 - `"in_progress"`

1670 

1671 - `"searching"`

1672 

1673 - `"completed"`

1674 

1675 - `"failed"`

1676 

1677 - `"incomplete"`

1678 

1679 - `type: "web_search_call"`

1680 

1681 The type of the web search tool call. Always `web_search_call`.

1682 

1683 - `"web_search_call"`

1684 

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

1686 1686 

1687 A tool call to run a function. See the1687 A tool call to run a function. See the


2085 2085 

2086 Combine multiple filters using `and` or `or`.2086 Combine multiple filters using `and` or `or`.

2087 2087 

2088 - `filters: array of ComparisonFilter or unknown`2088 - `filters: array of ComparisonFilter or CompoundFilter`

2089 2089 

2090 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.2090 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

2091 2091 


2093 2093 

2094 A filter used to compare a specified attribute key to a given value using a defined comparison operation.2094 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

2095 2095 

2096 - `unknown`2096 - `CompoundFilter object { filters, type }`

2097 

2098 Combine multiple filters using `and` or `or`.

2097 2099 

2098 - `type: "and" or "or"`2100 - `type: "and" or "or"`

2099 2101 


7590 7592 

7591### transport.dtmf.send7593### transport.dtmf.send

7592 7594 

7593A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to sideband observers; this is not a client command.7595A SIP DTMF keypress successfully sent to the SIP trunk. Delivered only to sideband observers; this is not a client command.

7594 7596 

7595#### Schema7597#### Schema

7596 7598 


7604 7606 

7605 - `"transport.dtmf.send"`7607 - `"transport.dtmf.send"`

7606 7608 

7609- `client_event_id: optional string`

7610 

7611 The event_id of the client command, when supplied.

7612 

7607#### Example7613#### Example

7608 7614 

7609```json7615```json

Details

1286 1286 

1287 - `index: number`1287 - `index: number`

1288 1288 

1289 The index of the file in the list of files.1289 The index in the output text at which to insert the file citation.

1290 1290 

1291 - `type: "file_citation"`1291 - `type: "file_citation"`

1292 1292 


1854 1854 

1855 - `"incomplete"`1855 - `"incomplete"`

1856 1856 

1857 - `WebSearchCall object { id, action, status, type }`1857 - `WebSearchCall object { id, status, type, action }`

1858 1858 

1859 The results of a web search tool call. See the1859 The results of a web search tool call. See the

1860 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.1860 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.


1863 1863 

1864 The unique ID of the web search tool call.1864 The unique ID of the web search tool call.

1865 1865 

1866 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`1866 - `status: "in_progress" or "searching" or "completed" or 2 more`

1867 

1868 The status of the web search tool call.

1869 

1870 - `"in_progress"`

1871 

1872 - `"searching"`

1873 

1874 - `"completed"`

1875 

1876 - `"failed"`

1877 

1878 - `"incomplete"`

1879 

1880 - `type: "web_search_call"`

1881 

1882 The type of the web search tool call. Always `web_search_call`.

1883 

1884 - `"web_search_call"`

1885 

1886 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

1867 1887 

1868 An object describing the specific action taken in this web search call.1888 An object describing the specific action taken in this web search call.

1869 Includes details on how the model used the web (search, open_page, find_in_page).1889 Includes details on how the model used the web (search, open_page, find_in_page).


1932 1952 

1933 The URL of the page searched for the pattern.1953 The URL of the page searched for the pattern.

1934 1954 

1935 - `status: "in_progress" or "searching" or "completed" or 2 more`

1936 

1937 The status of the web search tool call.

1938 

1939 - `"in_progress"`

1940 

1941 - `"searching"`

1942 

1943 - `"completed"`

1944 

1945 - `"failed"`

1946 

1947 - `"incomplete"`

1948 

1949 - `type: "web_search_call"`

1950 

1951 The type of the web search tool call. Always `web_search_call`.

1952 

1953 - `"web_search_call"`

1954 

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

1956 1956 

1957 A tool call to run a function. See the1957 A tool call to run a function. See the


2355 2355 

2356 Combine multiple filters using `and` or `or`.2356 Combine multiple filters using `and` or `or`.

2357 2357 

2358 - `filters: array of ComparisonFilter or unknown`2358 - `filters: array of ComparisonFilter or CompoundFilter`

2359 2359 

2360 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.2360 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

2361 2361 


2363 2363 

2364 A filter used to compare a specified attribute key to a given value using a defined comparison operation.2364 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

2365 2365 

2366 - `unknown`2366 - `CompoundFilter object { filters, type }`

2367 

2368 Combine multiple filters using `and` or `or`.

2367 2369 

2368 - `type: "and" or "or"`2370 - `type: "and" or "or"`

2369 2371 


7860 7862 

7861### transport.dtmf.send7863### transport.dtmf.send

7862 7864 

7863A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to sideband observers; this is not a client command.7865A SIP DTMF keypress successfully sent to the SIP trunk. Delivered only to sideband observers; this is not a client command.

7864 7866 

7865#### Schema7867#### Schema

7866 7868 


7874 7876 

7875 - `"transport.dtmf.send"`7877 - `"transport.dtmf.send"`

7876 7878 

7879- `client_event_id: optional string`

7880 

7881 The event_id of the client command, when supplied.

7882 

7877#### Example7883#### Example

7878 7884 

7879```json7885```json

Details

705 705 

706 - `index: number`706 - `index: number`

707 707 

708 The index of the file in the list of files.708 The index in the output text at which to insert the file citation.

709 709 

710 - `type: "file_citation"`710 - `type: "file_citation"`

711 711 


1273 1273 

1274 - `"incomplete"`1274 - `"incomplete"`

1275 1275 

1276 - `WebSearchCall object { id, action, status, type }`1276 - `WebSearchCall object { id, status, type, action }`

1277 1277 

1278 The results of a web search tool call. See the1278 The results of a web search tool call. See the

1279 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.1279 [web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.


1282 1282 

1283 The unique ID of the web search tool call.1283 The unique ID of the web search tool call.

1284 1284 

1285 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`1285 - `status: "in_progress" or "searching" or "completed" or 2 more`

1286 

1287 The status of the web search tool call.

1288 

1289 - `"in_progress"`

1290 

1291 - `"searching"`

1292 

1293 - `"completed"`

1294 

1295 - `"failed"`

1296 

1297 - `"incomplete"`

1298 

1299 - `type: "web_search_call"`

1300 

1301 The type of the web search tool call. Always `web_search_call`.

1302 

1303 - `"web_search_call"`

1304 

1305 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

1286 1306 

1287 An object describing the specific action taken in this web search call.1307 An object describing the specific action taken in this web search call.

1288 Includes details on how the model used the web (search, open_page, find_in_page).1308 Includes details on how the model used the web (search, open_page, find_in_page).


1351 1371 

1352 The URL of the page searched for the pattern.1372 The URL of the page searched for the pattern.

1353 1373 

1354 - `status: "in_progress" or "searching" or "completed" or 2 more`

1355 

1356 The status of the web search tool call.

1357 

1358 - `"in_progress"`

1359 

1360 - `"searching"`

1361 

1362 - `"completed"`

1363 

1364 - `"failed"`

1365 

1366 - `"incomplete"`

1367 

1368 - `type: "web_search_call"`

1369 

1370 The type of the web search tool call. Always `web_search_call`.

1371 

1372 - `"web_search_call"`

1373 

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

1375 1375 

1376 A tool call to run a function. See the1376 A tool call to run a function. See the


1774 1774 

1775 Combine multiple filters using `and` or `or`.1775 Combine multiple filters using `and` or `or`.

1776 1776 

1777 - `filters: array of ComparisonFilter or unknown`1777 - `filters: array of ComparisonFilter or CompoundFilter`

1778 1778 

1779 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1779 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1780 1780 


1782 1782 

1783 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1783 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1784 1784 

1785 - `unknown`1785 - `CompoundFilter object { filters, type }`

1786 

1787 Combine multiple filters using `and` or `or`.

1786 1788 

1787 - `type: "and" or "or"`1789 - `type: "and" or "or"`

1788 1790 


7279 7281 

7280### transport.dtmf.send7282### transport.dtmf.send

7281 7283 

7282A SIP DTMF keypress successfully sent by the hosted tool. Delivered only to sideband observers; this is not a client command.7284A SIP DTMF keypress successfully sent to the SIP trunk. Delivered only to sideband observers; this is not a client command.

7283 7285 

7284#### Schema7286#### Schema

7285 7287 


7293 7295 

7294 - `"transport.dtmf.send"`7296 - `"transport.dtmf.send"`

7295 7297 

7298- `client_event_id: optional string`

7299 

7300 The event_id of the client command, when supplied.

7301 

7296#### Example7302#### Example

7297 7303 

7298```json7304```json

Details

515 -H "Content-Type: application/json" \515 -H "Content-Type: application/json" \

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

517 -d '{517 -d '{

518 "model": "omni-moderation-latest",

518 "input": "I want to kill them."519 "input": "I want to kill them."

519 }'520 }'

520```521```


524```json525```json

525{526{

526 "id": "modr-AB8CjOTu2jiq12hp1AQPfeqFWaORR",527 "id": "modr-AB8CjOTu2jiq12hp1AQPfeqFWaORR",

527 "model": "text-moderation-007",528 "model": "omni-moderation-latest",

528 "results": [529 "results": [

529 {530 {

530 "flagged": true,531 "flagged": true,


539 "self-harm/intent": false,540 "self-harm/intent": false,

540 "self-harm/instructions": false,541 "self-harm/instructions": false,

541 "harassment/threatening": true,542 "harassment/threatening": true,

542 "violence": true543 "violence": true,

544 "illicit": false,

545 "illicit/violent": false

543 },546 },

544 "category_scores": {547 "category_scores": {

545 "sexual": 0.000011726012417057063,548 "sexual": 1.1726012417057063e-05,

546 "hate": 0.22706663608551025,549 "hate": 0.22706663608551025,

547 "harassment": 0.5215635299682617,550 "harassment": 0.5215635299682617,

548 "self-harm": 2.227119921371923e-6,551 "self-harm": 2.227119921371923e-06,

549 "sexual/minors": 7.107352217872176e-8,552 "sexual/minors": 7.107352217872176e-08,

550 "hate/threatening": 0.023547329008579254,553 "hate/threatening": 0.023547329008579254,

551 "violence/graphic": 0.00003391829886822961,554 "violence/graphic": 3.391829886822961e-05,

552 "self-harm/intent": 1.646940972932498e-6,555 "self-harm/intent": 1.646940972932498e-06,

553 "self-harm/instructions": 1.1198755256458526e-9,556 "self-harm/instructions": 1.1198755256458526e-09,

554 "harassment/threatening": 0.5694745779037476,557 "harassment/threatening": 0.5694745779037476,

555 "violence": 0.9971134662628174558 "violence": 0.9971134662628174,

559 "illicit": 0.001,

560 "illicit/violent": 0.001

561 },

562 "category_applied_input_types": {

563 "sexual": [

564 "text"

565 ],

566 "hate": [

567 "text"

568 ],

569 "harassment": [

570 "text"

571 ],

572 "self-harm": [

573 "text"

574 ],

575 "sexual/minors": [

576 "text"

577 ],

578 "hate/threatening": [

579 "text"

580 ],

581 "violence/graphic": [

582 "text"

583 ],

584 "self-harm/intent": [

585 "text"

586 ],

587 "self-harm/instructions": [

588 "text"

589 ],

590 "harassment/threatening": [

591 "text"

592 ],

593 "violence": [

594 "text"

595 ],

596 "illicit": [

597 "text"

598 ],

599 "illicit/violent": [

600 "text"

601 ]

556 }602 }

557 }603 }

558 ]604 ]

Details

152 152 

153 - `"audio/pcma"`153 - `"audio/pcma"`

154 154 

155 - `noise_reduction: optional object { type }`155 - `noise_reduction: optional object { type } or null`

156 156 

157 Configuration for input audio noise reduction. This can be set to `null` to turn off.157 Configuration for input audio noise reduction. This can be set to `null` to turn off.

158 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.158 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.


166 166 

167 - `"far_field"`167 - `"far_field"`

168 168 

169 - `transcription: optional object { language, languages, model, prompt }`169 - `transcription: optional object { language, languages, model, prompt } or null`

170 170 

171 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.171 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.

172 172 

173 - `language: optional string`173 - `language: optional string or null`

174 174 

175 The language of the input audio.175 The language of the input audio.

176 176 


360 360 

361 Expiration timestamp for the session, in seconds since epoch.361 Expiration timestamp for the session, in seconds since epoch.

362 362 

363 - `include: optional array of "item.input_audio_transcription.logprobs"`363 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

364 364 

365 Additional fields to include in server outputs.365 Additional fields to include in server outputs.

366 366 


935 935 

936 The PCM audio format. Only a 24kHz sample rate is supported.936 The PCM audio format. Only a 24kHz sample rate is supported.

937 937 

938 - `noise_reduction: optional object { type }`938 - `noise_reduction: optional object { type } or null`

939 939 

940 Configuration for input audio noise reduction.940 Configuration for input audio noise reduction.

941 941 


943 943 

944 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.944 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.

945 945 

946 - `transcription: optional object { language, languages, model, prompt }`946 - `transcription: optional object { language, languages, model, prompt } or null`

947 947 

948 Configuration of the transcription model.948 Configuration of the transcription model.

949 949 

950 - `language: optional string`950 - `language: optional string or null`

951 951 

952 The language of the input audio.952 The language of the input audio.

953 953 


1016 1016 

1017 Expiration timestamp for the session, in seconds since epoch.1017 Expiration timestamp for the session, in seconds since epoch.

1018 1018 

1019 - `include: optional array of "item.input_audio_transcription.logprobs"`1019 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

1020 1020 

1021 Additional fields to include in server outputs.1021 Additional fields to include in server outputs.

1022 1022 


1168 1168 

1169 - `"audio/pcma"`1169 - `"audio/pcma"`

1170 1170 

1171 - `noise_reduction: optional object { type }`1171 - `noise_reduction: optional object { type } or null`

1172 1172 

1173 Configuration for input audio noise reduction. This can be set to `null` to turn off.1173 Configuration for input audio noise reduction. This can be set to `null` to turn off.

1174 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.1174 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.


1182 1182 

1183 - `"far_field"`1183 - `"far_field"`

1184 1184 

1185 - `transcription: optional object { language, languages, model, prompt }`1185 - `transcription: optional object { language, languages, model, prompt } or null`

1186 1186 

1187 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.1187 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.

1188 1188 

1189 - `language: optional string`1189 - `language: optional string or null`

1190 1190 

1191 The language of the input audio.1191 The language of the input audio.

1192 1192 


1376 1376 

1377 Expiration timestamp for the session, in seconds since epoch.1377 Expiration timestamp for the session, in seconds since epoch.

1378 1378 

1379 - `include: optional array of "item.input_audio_transcription.logprobs"`1379 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

1380 1380 

1381 Additional fields to include in server outputs.1381 Additional fields to include in server outputs.

1382 1382 


1951 1951 

1952 The PCM audio format. Only a 24kHz sample rate is supported.1952 The PCM audio format. Only a 24kHz sample rate is supported.

1953 1953 

1954 - `noise_reduction: optional object { type }`1954 - `noise_reduction: optional object { type } or null`

1955 1955 

1956 Configuration for input audio noise reduction.1956 Configuration for input audio noise reduction.

1957 1957 


1959 1959 

1960 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.1960 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.

1961 1961 

1962 - `transcription: optional object { language, languages, model, prompt }`1962 - `transcription: optional object { language, languages, model, prompt } or null`

1963 1963 

1964 Configuration of the transcription model.1964 Configuration of the transcription model.

1965 1965 

1966 - `language: optional string`1966 - `language: optional string or null`

1967 1967 

1968 The language of the input audio.1968 The language of the input audio.

1969 1969 


2032 2032 

2033 Expiration timestamp for the session, in seconds since epoch.2033 Expiration timestamp for the session, in seconds since epoch.

2034 2034 

2035 - `include: optional array of "item.input_audio_transcription.logprobs"`2035 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

2036 2036 

2037 Additional fields to include in server outputs.2037 Additional fields to include in server outputs.

2038 2038 

Details

1097 1097 

1098 - `"audio/pcma"`1098 - `"audio/pcma"`

1099 1099 

1100 - `noise_reduction: optional object { type }`1100 - `noise_reduction: optional object { type } or null`

1101 1101 

1102 Configuration for input audio noise reduction. This can be set to `null` to turn off.1102 Configuration for input audio noise reduction. This can be set to `null` to turn off.

1103 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.1103 Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.


1111 1111 

1112 - `"far_field"`1112 - `"far_field"`

1113 1113 

1114 - `transcription: optional object { language, languages, model, prompt }`1114 - `transcription: optional object { language, languages, model, prompt } or null`

1115 1115 

1116 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.1116 Configuration for input audio transcription, defaults to off and can be set to `null` to turn off once on. Input audio transcription is not native to the model, since the model consumes audio directly. Transcription runs asynchronously through [the /audio/transcriptions endpoint](/api/reference/resources/audio/subresources/transcriptions/methods/create) and should be treated as guidance of input audio content rather than precisely what the model heard. The client can optionally set the language and prompt for transcription, these offer additional guidance to the transcription service.

1117 1117 

1118 - `language: optional string`1118 - `language: optional string or null`

1119 1119 

1120 The language of the input audio.1120 The language of the input audio.

1121 1121 


1305 1305 

1306 Expiration timestamp for the session, in seconds since epoch.1306 Expiration timestamp for the session, in seconds since epoch.

1307 1307 

1308 - `include: optional array of "item.input_audio_transcription.logprobs"`1308 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

1309 1309 

1310 Additional fields to include in server outputs.1310 Additional fields to include in server outputs.

1311 1311 


1880 1880 

1881 The PCM audio format. Only a 24kHz sample rate is supported.1881 The PCM audio format. Only a 24kHz sample rate is supported.

1882 1882 

1883 - `noise_reduction: optional object { type }`1883 - `noise_reduction: optional object { type } or null`

1884 1884 

1885 Configuration for input audio noise reduction.1885 Configuration for input audio noise reduction.

1886 1886 


1888 1888 

1889 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.1889 Type of noise reduction. `near_field` is for close-talking microphones such as headphones, `far_field` is for far-field microphones such as laptop or conference room microphones.

1890 1890 

1891 - `transcription: optional object { language, languages, model, prompt }`1891 - `transcription: optional object { language, languages, model, prompt } or null`

1892 1892 

1893 Configuration of the transcription model.1893 Configuration of the transcription model.

1894 1894 

1895 - `language: optional string`1895 - `language: optional string or null`

1896 1896 

1897 The language of the input audio.1897 The language of the input audio.

1898 1898 


1961 1961 

1962 Expiration timestamp for the session, in seconds since epoch.1962 Expiration timestamp for the session, in seconds since epoch.

1963 1963 

1964 - `include: optional array of "item.input_audio_transcription.logprobs"`1964 - `include: optional array of "item.input_audio_transcription.logprobs" or null`

1965 1965 

1966 Additional fields to include in server outputs.1966 Additional fields to include in server outputs.

1967 1967 

Details

392 392 

393 - `index: number`393 - `index: number`

394 394 

395 The index of the file in the list of files.395 The index in the output text at which to insert the file citation.

396 396 

397 - `type: "file_citation"`397 - `type: "file_citation"`

398 398 


960 960 

961 - `"incomplete"`961 - `"incomplete"`

962 962 

963 - `WebSearchCall object { id, action, status, type }`963 - `WebSearchCall object { id, status, type, action }`

964 964 

965 The results of a web search tool call. See the965 The results of a web search tool call. See the

966 [web search guide](/api/docs/guides/tools-web-search) for more information.966 [web search guide](/api/docs/guides/tools-web-search) for more information.


969 969 

970 The unique ID of the web search tool call.970 The unique ID of the web search tool call.

971 971 

972 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`972 - `status: "in_progress" or "searching" or "completed" or 2 more`

973 

974 The status of the web search tool call.

975 

976 - `"in_progress"`

977 

978 - `"searching"`

979 

980 - `"completed"`

981 

982 - `"failed"`

983 

984 - `"incomplete"`

985 

986 - `type: "web_search_call"`

987 

988 The type of the web search tool call. Always `web_search_call`.

989 

990 - `"web_search_call"`

991 

992 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

973 993 

974 An object describing the specific action taken in this web search call.994 An object describing the specific action taken in this web search call.

975 Includes details on how the model used the web (search, open_page, find_in_page).995 Includes details on how the model used the web (search, open_page, find_in_page).


1038 1058 

1039 The URL of the page searched for the pattern.1059 The URL of the page searched for the pattern.

1040 1060 

1041 - `status: "in_progress" or "searching" or "completed" or 2 more`

1042 

1043 The status of the web search tool call.

1044 

1045 - `"in_progress"`

1046 

1047 - `"searching"`

1048 

1049 - `"completed"`

1050 

1051 - `"failed"`

1052 

1053 - `"incomplete"`

1054 

1055 - `type: "web_search_call"`

1056 

1057 The type of the web search tool call. Always `web_search_call`.

1058 

1059 - `"web_search_call"`

1060 

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

1062 1062 

1063 A tool call to run a function. See the1063 A tool call to run a function. See the


1461 1461 

1462 Combine multiple filters using `and` or `or`.1462 Combine multiple filters using `and` or `or`.

1463 1463 

1464 - `filters: array of ComparisonFilter or unknown`1464 - `filters: array of ComparisonFilter or CompoundFilter`

1465 1465 

1466 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1466 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1467 1467 


1469 1469 

1470 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1470 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1471 1471 

1472 - `unknown`1472 - `CompoundFilter object { filters, type }`

1473 

1474 Combine multiple filters using `and` or `or`.

1473 1475 

1474 - `type: "and" or "or"`1476 - `type: "and" or "or"`

1475 1477 


4940 4942 

4941 The namespace of the tool that produced the output.4943 The namespace of the tool that produced the output.

4942 4944 

4943 - `WebSearchCall object { id, action, status, type }`4945 - `WebSearchCall object { id, status, type, action }`

4944 4946 

4945 The results of a web search tool call. See the4947 The results of a web search tool call. See the

4946 [web search guide](/api/docs/guides/tools-web-search) for more information.4948 [web search guide](/api/docs/guides/tools-web-search) for more information.


4949 4951 

4950 The unique ID of the web search tool call.4952 The unique ID of the web search tool call.

4951 4953 

4952 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`4954 - `status: "in_progress" or "searching" or "completed" or 2 more`

4955 

4956 The status of the web search tool call.

4957 

4958 - `"in_progress"`

4959 

4960 - `"searching"`

4961 

4962 - `"completed"`

4963 

4964 - `"failed"`

4965 

4966 - `"incomplete"`

4967 

4968 - `type: "web_search_call"`

4969 

4970 The type of the web search tool call. Always `web_search_call`.

4971 

4972 - `"web_search_call"`

4973 

4974 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

4953 4975 

4954 An object describing the specific action taken in this web search call.4976 An object describing the specific action taken in this web search call.

4955 Includes details on how the model used the web (search, open_page, find_in_page).4977 Includes details on how the model used the web (search, open_page, find_in_page).


5018 5040 

5019 The URL of the page searched for the pattern.5041 The URL of the page searched for the pattern.

5020 5042 

5021 - `status: "in_progress" or "searching" or "completed" or 2 more`

5022 

5023 The status of the web search tool call.

5024 

5025 - `"in_progress"`

5026 

5027 - `"searching"`

5028 

5029 - `"completed"`

5030 

5031 - `"failed"`

5032 

5033 - `"incomplete"`

5034 

5035 - `type: "web_search_call"`

5036 

5037 The type of the web search tool call. Always `web_search_call`.

5038 

5039 - `"web_search_call"`

5040 

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

5042 5044 

5043 A tool call to a computer use tool. See the5045 A tool call to a computer use tool. See the


9626 9628 

9627 - `"disabled"`9629 - `"disabled"`

9628 9630 

9629 - `usage: optional ResponseUsage`9631 - `usage: optional ResponseUsage or null`

9630 9632 

9631 Represents token usage details including input tokens, output tokens,9633 Represents token usage details including input tokens, output tokens,

9632 a breakdown of output tokens, and the total tokens used.9634 a breakdown of output tokens, and the total tokens used.


9664 9666 

9665 The total number of tokens used.9667 The total number of tokens used.

9666 9668 

9667 - `user: optional string`9669 - `user: optional string or null`

9668 9670 

9669 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.9671 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.

9670 A stable identifier for your end-users.9672 A stable identifier for your end-users.


9682 9684 

9683```json9685```json

9684{9686{

9685 "id": "id",9687 "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",

9686 "access_programs": {

9687 "cyber": "standard"

9688 },

9689 "created_at": 0,

9690 "error": {

9691 "code": "server_error",

9692 "message": "message",

9693 "misalignment": {

9694 "detailed_explanation": "detailed_explanation",

9695 "error_type": "potentially_unintended_data_transfer",

9696 "steer": {

9697 "message": "message"

9698 }

9699 }

9700 },

9701 "incomplete_details": {

9702 "reason": "max_output_tokens"

9703 },

9704 "instructions": "string",

9705 "metadata": {

9706 "foo": "string"

9707 },

9708 "model": "gpt-6-astra",

9709 "object": "response",9688 "object": "response",

9689 "access_programs": null,

9690 "created_at": 1741476777,

9691 "status": "completed",

9692 "completed_at": 1741476778,

9693 "error": null,

9694 "incomplete_details": null,

9695 "instructions": null,

9696 "max_output_tokens": null,

9697 "model": "gpt-6-astra",

9710 "output": [9698 "output": [

9711 {9699 {

9712 "id": "id",9700 "type": "message",

9701 "id": "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41",

9702 "status": "completed",

9703 "role": "assistant",

9713 "content": [9704 "content": [

9714 {9705 {

9715 "annotations": [9706 "type": "output_text",

9716 {9707 "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",

9717 "file_id": "file_id",9708 "annotations": [],

9718 "filename": "filename",9709 "logprobs": []

9719 "index": 0,

9720 "type": "file_citation"

9721 }

9722 ],

9723 "logprobs": [

9724 {

9725 "token": "token",

9726 "bytes": [

9727 0

9728 ],

9729 "logprob": 0,

9730 "top_logprobs": [

9731 {

9732 "token": "token",

9733 "bytes": [

9734 0

9735 ],

9736 "logprob": 0

9737 }9710 }

9738 ]9711 ]

9739 }9712 }

9740 ],9713 ],

9741 "text": "text",

9742 "type": "output_text"

9743 }

9744 ],

9745 "role": "assistant",

9746 "status": "in_progress",

9747 "type": "message",

9748 "phase": "commentary"

9749 }

9750 ],

9751 "parallel_tool_calls": true,9714 "parallel_tool_calls": true,

9752 "temperature": 1,9715 "previous_response_id": null,

9753 "tool_choice": "none",9716 "reasoning": {

9754 "tools": [9717 "effort": null,

9755 {9718 "summary": null,

9756 "name": "name",9719 "context": null

9757 "parameters": {

9758 "foo": "bar"

9759 },9720 },

9760 "strict": true,9721 "store": true,

9761 "type": "function",9722 "temperature": 1,

9762 "allowed_callers": [9723 "text": {

9763 "direct"9724 "format": {

9764 ],9725 "type": "text"

9765 "async": true,

9766 "defer_loading": true,

9767 "description": "description",

9768 "output_schema": {

9769 "foo": "bar"

9770 }

9771 }9726 }

9772 ],9727 },

9728 "tool_choice": "auto",

9729 "tools": [],

9773 "top_p": 1,9730 "top_p": 1,

9774 "background": true,9731 "truncation": "disabled",

9775 "completed_at": 0,9732 "usage": {

9733 "input_tokens": 328,

9734 "input_tokens_details": {

9735 "cached_tokens": 0,

9736 "cache_write_tokens": 0

9737 },

9738 "output_tokens": 52,

9739 "output_tokens_details": {

9740 "reasoning_tokens": 0

9741 },

9742 "total_tokens": 380

9743 },

9744 "user": null,

9745 "metadata": {},

9776 "conversation": {9746 "conversation": {

9777 "id": "id"9747 "id": "id"

9778 },9748 },

9779 "max_output_tokens": 0,

9780 "max_tool_calls": 0,

9781 "moderation": {9749 "moderation": {

9782 "input": {9750 "input": {

9783 "categories": {9751 "categories": {


9813 }9781 }

9814 },9782 },

9815 "output_text": "output_text",9783 "output_text": "output_text",

9816 "previous_response_id": "previous_response_id",

9817 "prompt": {

9818 "id": "id",

9819 "variables": {

9820 "foo": "string"

9821 },

9822 "version": "version"

9823 },

9824 "prompt_cache_diagnostics": {9784 "prompt_cache_diagnostics": {

9825 "cache_missed_tokens": 0,9785 "cache_missed_tokens": 0,

9826 "reason": "model_changed",9786 "reason": "model_changed",

9827 "type": "cache_miss",9787 "type": "cache_miss",

9828 "comparison_reusable_tokens": 09788 "comparison_reusable_tokens": 0

9829 },9789 },

9830 "prompt_cache_key": "prompt-cache-key-1234",

9831 "prompt_cache_options": {9790 "prompt_cache_options": {

9832 "mode": "implicit",9791 "mode": "implicit",

9833 "ttl": "30m",9792 "ttl": "30m",

9834 "comparison_response_id": "comparison_response_id"9793 "comparison_response_id": "comparison_response_id"

9835 },9794 },

9836 "prompt_cache_retention": "in_memory",9795 "service_tier": "auto"

9837 "reasoning": {

9838 "context": "auto",

9839 "effort": "none",

9840 "generate_summary": "auto",

9841 "mode": "standard",

9842 "summary": "auto"

9843 },

9844 "safety_identifier": "safety-identifier-1234",

9845 "service_tier": "auto",

9846 "status": "completed",

9847 "text": {

9848 "format": {

9849 "type": "text"

9850 },

9851 "verbosity": "low"

9852 },

9853 "top_logprobs": 0,

9854 "truncation": "auto",

9855 "usage": {

9856 "input_tokens": 0,

9857 "input_tokens_details": {

9858 "cache_write_tokens": 0,

9859 "cached_tokens": 0

9860 },

9861 "output_tokens": 0,

9862 "output_tokens_details": {

9863 "reasoning_tokens": 0

9864 },

9865 "total_tokens": 0

9866 },

9867 "user": "user-1234"

9868}9796}

9869```9797```

9870 9798 


9902 {9830 {

9903 "type": "output_text",9831 "type": "output_text",

9904 "text": "Silent circuits hum, \nThoughts emerge in data streams— \nDigital dawn breaks.",9832 "text": "Silent circuits hum, \nThoughts emerge in data streams— \nDigital dawn breaks.",

9905 "annotations": []9833 "annotations": [],

9834 "logprobs": []

9906 }9835 }

9907 ]9836 ]

9908 }9837 }

Details

481 481 

482 - `index: number`482 - `index: number`

483 483 

484 The index of the file in the list of files.484 The index in the output text at which to insert the file citation.

485 485 

486 - `type: "file_citation"`486 - `type: "file_citation"`

487 487 


1049 1049 

1050 - `"incomplete"`1050 - `"incomplete"`

1051 1051 

1052 - `WebSearchCall object { id, action, status, type }`1052 - `WebSearchCall object { id, status, type, action }`

1053 1053 

1054 The results of a web search tool call. See the1054 The results of a web search tool call. See the

1055 [web search guide](/api/docs/guides/tools-web-search) for more information.1055 [web search guide](/api/docs/guides/tools-web-search) for more information.


1058 1058 

1059 The unique ID of the web search tool call.1059 The unique ID of the web search tool call.

1060 1060 

1061 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`1061 - `status: "in_progress" or "searching" or "completed" or 2 more`

1062 

1063 The status of the web search tool call.

1064 

1065 - `"in_progress"`

1066 

1067 - `"searching"`

1068 

1069 - `"completed"`

1070 

1071 - `"failed"`

1072 

1073 - `"incomplete"`

1074 

1075 - `type: "web_search_call"`

1076 

1077 The type of the web search tool call. Always `web_search_call`.

1078 

1079 - `"web_search_call"`

1080 

1081 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

1062 1082 

1063 An object describing the specific action taken in this web search call.1083 An object describing the specific action taken in this web search call.

1064 Includes details on how the model used the web (search, open_page, find_in_page).1084 Includes details on how the model used the web (search, open_page, find_in_page).


1127 1147 

1128 The URL of the page searched for the pattern.1148 The URL of the page searched for the pattern.

1129 1149 

1130 - `status: "in_progress" or "searching" or "completed" or 2 more`

1131 

1132 The status of the web search tool call.

1133 

1134 - `"in_progress"`

1135 

1136 - `"searching"`

1137 

1138 - `"completed"`

1139 

1140 - `"failed"`

1141 

1142 - `"incomplete"`

1143 

1144 - `type: "web_search_call"`

1145 

1146 The type of the web search tool call. Always `web_search_call`.

1147 

1148 - `"web_search_call"`

1149 

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

1151 1151 

1152 A tool call to run a function. See the1152 A tool call to run a function. See the


1550 1550 

1551 Combine multiple filters using `and` or `or`.1551 Combine multiple filters using `and` or `or`.

1552 1552 

1553 - `filters: array of ComparisonFilter or unknown`1553 - `filters: array of ComparisonFilter or CompoundFilter`

1554 1554 

1555 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1555 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1556 1556 


1558 1558 

1559 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1559 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1560 1560 

1561 - `unknown`1561 - `CompoundFilter object { filters, type }`

1562 

1563 Combine multiple filters using `and` or `or`.

1562 1564 

1563 - `type: "and" or "or"`1565 - `type: "and" or "or"`

1564 1566 


4682 4684 

4683 - `index: number`4685 - `index: number`

4684 4686 

4685 The index of the file in the list of files.4687 The index in the output text at which to insert the file citation.

4686 4688 

4687 - `type: "file_citation"`4689 - `type: "file_citation"`

4688 4690 


5315 5317 

5316 Combine multiple filters using `and` or `or`.5318 Combine multiple filters using `and` or `or`.

5317 5319 

5318 - `filters: array of ComparisonFilter or unknown`5320 - `filters: array of ComparisonFilter or CompoundFilter`

5319 5321 

5320 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.5322 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

5321 5323 


5323 5325 

5324 A filter used to compare a specified attribute key to a given value using a defined comparison operation.5326 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

5325 5327 

5326 - `unknown`5328 - `CompoundFilter object { filters, type }`

5329 

5330 Combine multiple filters using `and` or `or`.

5327 5331 

5328 - `type: "and" or "or"`5332 - `type: "and" or "or"`

5329 5333 


7378 7382 

7379 The text that was retrieved from the file.7383 The text that was retrieved from the file.

7380 7384 

7381 - `WebSearchCall object { id, action, status, type }`7385 - `WebSearchCall object { id, status, type, action }`

7382 7386 

7383 The results of a web search tool call. See the7387 The results of a web search tool call. See the

7384 [web search guide](/api/docs/guides/tools-web-search) for more information.7388 [web search guide](/api/docs/guides/tools-web-search) for more information.


7387 7391 

7388 The unique ID of the web search tool call.7392 The unique ID of the web search tool call.

7389 7393 

7390 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`7394 - `status: "in_progress" or "searching" or "completed" or 2 more`

7395 

7396 The status of the web search tool call.

7397 

7398 - `"in_progress"`

7399 

7400 - `"searching"`

7401 

7402 - `"completed"`

7403 

7404 - `"failed"`

7405 

7406 - `"incomplete"`

7407 

7408 - `type: "web_search_call"`

7409 

7410 The type of the web search tool call. Always `web_search_call`.

7411 

7412 - `"web_search_call"`

7413 

7414 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

7391 7415 

7392 An object describing the specific action taken in this web search call.7416 An object describing the specific action taken in this web search call.

7393 Includes details on how the model used the web (search, open_page, find_in_page).7417 Includes details on how the model used the web (search, open_page, find_in_page).


7456 7480 

7457 The URL of the page searched for the pattern.7481 The URL of the page searched for the pattern.

7458 7482 

7459 - `status: "in_progress" or "searching" or "completed" or 2 more`

7460 

7461 The status of the web search tool call.

7462 

7463 - `"in_progress"`

7464 

7465 - `"searching"`

7466 

7467 - `"completed"`

7468 

7469 - `"failed"`

7470 

7471 - `"incomplete"`

7472 

7473 - `type: "web_search_call"`

7474 

7475 The type of the web search tool call. Always `web_search_call`.

7476 

7477 - `"web_search_call"`

7478 

7479 - `ImageGenerationCall object { id, result, status, 7 more }`7483 - `ImageGenerationCall object { id, result, status, 7 more }`

7480 7484 

7481 An image generation request made by the model.7485 An image generation request made by the model.

Details

345 345 

346 - `index: number`346 - `index: number`

347 347 

348 The index of the file in the list of files.348 The index in the output text at which to insert the file citation.

349 349 

350 - `type: "file_citation"`350 - `type: "file_citation"`

351 351 


913 913 

914 - `"incomplete"`914 - `"incomplete"`

915 915 

916 - `WebSearchCall object { id, action, status, type }`916 - `WebSearchCall object { id, status, type, action }`

917 917 

918 The results of a web search tool call. See the918 The results of a web search tool call. See the

919 [web search guide](/api/docs/guides/tools-web-search) for more information.919 [web search guide](/api/docs/guides/tools-web-search) for more information.


922 922 

923 The unique ID of the web search tool call.923 The unique ID of the web search tool call.

924 924 

925 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`925 - `status: "in_progress" or "searching" or "completed" or 2 more`

926 

927 The status of the web search tool call.

928 

929 - `"in_progress"`

930 

931 - `"searching"`

932 

933 - `"completed"`

934 

935 - `"failed"`

936 

937 - `"incomplete"`

938 

939 - `type: "web_search_call"`

940 

941 The type of the web search tool call. Always `web_search_call`.

942 

943 - `"web_search_call"`

944 

945 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

926 946 

927 An object describing the specific action taken in this web search call.947 An object describing the specific action taken in this web search call.

928 Includes details on how the model used the web (search, open_page, find_in_page).948 Includes details on how the model used the web (search, open_page, find_in_page).


991 1011 

992 The URL of the page searched for the pattern.1012 The URL of the page searched for the pattern.

993 1013 

994 - `status: "in_progress" or "searching" or "completed" or 2 more`

995 

996 The status of the web search tool call.

997 

998 - `"in_progress"`

999 

1000 - `"searching"`

1001 

1002 - `"completed"`

1003 

1004 - `"failed"`

1005 

1006 - `"incomplete"`

1007 

1008 - `type: "web_search_call"`

1009 

1010 The type of the web search tool call. Always `web_search_call`.

1011 

1012 - `"web_search_call"`

1013 

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

1015 1015 

1016 A tool call to run a function. See the1016 A tool call to run a function. See the


1414 1414 

1415 Combine multiple filters using `and` or `or`.1415 Combine multiple filters using `and` or `or`.

1416 1416 

1417 - `filters: array of ComparisonFilter or unknown`1417 - `filters: array of ComparisonFilter or CompoundFilter`

1418 1418 

1419 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1419 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1420 1420 


1422 1422 

1423 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1423 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1424 1424 

1425 - `unknown`1425 - `CompoundFilter object { filters, type }`

1426 

1427 Combine multiple filters using `and` or `or`.

1426 1428 

1427 - `type: "and" or "or"`1429 - `type: "and" or "or"`

1428 1430 


6112 6114 

6113 - `"disabled"`6115 - `"disabled"`

6114 6116 

6115- `user: optional string`6117- `user: optional string or null`

6116 6118 

6117 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.6119 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.

6118 A stable identifier for your end-users.6120 A stable identifier for your end-users.


6498 6500 

6499 - `index: number`6501 - `index: number`

6500 6502 

6501 The index of the file in the list of files.6503 The index in the output text at which to insert the file citation.

6502 6504 

6503 - `type: "file_citation"`6505 - `type: "file_citation"`

6504 6506 


7066 7068 

7067 - `"incomplete"`7069 - `"incomplete"`

7068 7070 

7069 - `WebSearchCall object { id, action, status, type }`7071 - `WebSearchCall object { id, status, type, action }`

7070 7072 

7071 The results of a web search tool call. See the7073 The results of a web search tool call. See the

7072 [web search guide](/api/docs/guides/tools-web-search) for more information.7074 [web search guide](/api/docs/guides/tools-web-search) for more information.


7075 7077 

7076 The unique ID of the web search tool call.7078 The unique ID of the web search tool call.

7077 7079 

7078 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`7080 - `status: "in_progress" or "searching" or "completed" or 2 more`

7081 

7082 The status of the web search tool call.

7083 

7084 - `"in_progress"`

7085 

7086 - `"searching"`

7087 

7088 - `"completed"`

7089 

7090 - `"failed"`

7091 

7092 - `"incomplete"`

7093 

7094 - `type: "web_search_call"`

7095 

7096 The type of the web search tool call. Always `web_search_call`.

7097 

7098 - `"web_search_call"`

7099 

7100 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

7079 7101 

7080 An object describing the specific action taken in this web search call.7102 An object describing the specific action taken in this web search call.

7081 Includes details on how the model used the web (search, open_page, find_in_page).7103 Includes details on how the model used the web (search, open_page, find_in_page).


7144 7166 

7145 The URL of the page searched for the pattern.7167 The URL of the page searched for the pattern.

7146 7168 

7147 - `status: "in_progress" or "searching" or "completed" or 2 more`

7148 

7149 The status of the web search tool call.

7150 

7151 - `"in_progress"`

7152 

7153 - `"searching"`

7154 

7155 - `"completed"`

7156 

7157 - `"failed"`

7158 

7159 - `"incomplete"`

7160 

7161 - `type: "web_search_call"`

7162 

7163 The type of the web search tool call. Always `web_search_call`.

7164 

7165 - `"web_search_call"`

7166 

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

7168 7170 

7169 A tool call to run a function. See the7171 A tool call to run a function. See the


7567 7569 

7568 Combine multiple filters using `and` or `or`.7570 Combine multiple filters using `and` or `or`.

7569 7571 

7570 - `filters: array of ComparisonFilter or unknown`7572 - `filters: array of ComparisonFilter or CompoundFilter`

7571 7573 

7572 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.7574 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

7573 7575 


7575 7577 

7576 A filter used to compare a specified attribute key to a given value using a defined comparison operation.7578 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

7577 7579 

7578 - `unknown`7580 - `CompoundFilter object { filters, type }`

7581 

7582 Combine multiple filters using `and` or `or`.

7579 7583 

7580 - `type: "and" or "or"`7584 - `type: "and" or "or"`

7581 7585 


11046 11050 

11047 The namespace of the tool that produced the output.11051 The namespace of the tool that produced the output.

11048 11052 

11049 - `WebSearchCall object { id, action, status, type }`11053 - `WebSearchCall object { id, status, type, action }`

11050 11054 

11051 The results of a web search tool call. See the11055 The results of a web search tool call. See the

11052 [web search guide](/api/docs/guides/tools-web-search) for more information.11056 [web search guide](/api/docs/guides/tools-web-search) for more information.


11055 11059 

11056 The unique ID of the web search tool call.11060 The unique ID of the web search tool call.

11057 11061 

11058 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`11062 - `status: "in_progress" or "searching" or "completed" or 2 more`

11063 

11064 The status of the web search tool call.

11065 

11066 - `"in_progress"`

11067 

11068 - `"searching"`

11069 

11070 - `"completed"`

11071 

11072 - `"failed"`

11073 

11074 - `"incomplete"`

11075 

11076 - `type: "web_search_call"`

11077 

11078 The type of the web search tool call. Always `web_search_call`.

11079 

11080 - `"web_search_call"`

11081 

11082 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

11059 11083 

11060 An object describing the specific action taken in this web search call.11084 An object describing the specific action taken in this web search call.

11061 Includes details on how the model used the web (search, open_page, find_in_page).11085 Includes details on how the model used the web (search, open_page, find_in_page).


11124 11148 

11125 The URL of the page searched for the pattern.11149 The URL of the page searched for the pattern.

11126 11150 

11127 - `status: "in_progress" or "searching" or "completed" or 2 more`

11128 

11129 The status of the web search tool call.

11130 

11131 - `"in_progress"`

11132 

11133 - `"searching"`

11134 

11135 - `"completed"`

11136 

11137 - `"failed"`

11138 

11139 - `"incomplete"`

11140 

11141 - `type: "web_search_call"`

11142 

11143 The type of the web search tool call. Always `web_search_call`.

11144 

11145 - `"web_search_call"`

11146 

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

11148 11152 

11149 A tool call to a computer use tool. See the11153 A tool call to a computer use tool. See the


15732 15736 

15733 - `"disabled"`15737 - `"disabled"`

15734 15738 

15735 - `usage: optional ResponseUsage`15739 - `usage: optional ResponseUsage or null`

15736 15740 

15737 Represents token usage details including input tokens, output tokens,15741 Represents token usage details including input tokens, output tokens,

15738 a breakdown of output tokens, and the total tokens used.15742 a breakdown of output tokens, and the total tokens used.


15770 15774 

15771 The total number of tokens used.15775 The total number of tokens used.

15772 15776 

15773 - `user: optional string`15777 - `user: optional string or null`

15774 15778 

15775 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.15779 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.

15776 A stable identifier for your end-users.15780 A stable identifier for your end-users.


15782curl https://api.openai.com/v1/responses \15786curl https://api.openai.com/v1/responses \

15783 -H 'Content-Type: application/json' \15787 -H 'Content-Type: application/json' \

15784 -H "Authorization: Bearer $OPENAI_API_KEY" \15788 -H "Authorization: Bearer $OPENAI_API_KEY" \

15785 -d '{15789 -d '"string"'

15786 "context_management": [

15787 {

15788 "type": "type"

15789 }

15790 ],

15791 "model": "gpt-6-astra",

15792 "prompt_cache_key": "prompt-cache-key-1234",

15793 "safety_identifier": "safety-identifier-1234",

15794 "temperature": 1,

15795 "top_p": 1,

15796 "user": "user-1234"

15797 }'

15798```15790```

15799 15791 

15800#### Response15792#### Response

15801 15793 

15802```json15794```json

15803{15795{

15804 "id": "id",15796 "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",

15805 "access_programs": {

15806 "cyber": "standard"

15807 },

15808 "created_at": 0,

15809 "error": {

15810 "code": "server_error",

15811 "message": "message",

15812 "misalignment": {

15813 "detailed_explanation": "detailed_explanation",

15814 "error_type": "potentially_unintended_data_transfer",

15815 "steer": {

15816 "message": "message"

15817 }

15818 }

15819 },

15820 "incomplete_details": {

15821 "reason": "max_output_tokens"

15822 },

15823 "instructions": "string",

15824 "metadata": {

15825 "foo": "string"

15826 },

15827 "model": "gpt-6-astra",

15828 "object": "response",15797 "object": "response",

15798 "access_programs": null,

15799 "created_at": 1741476777,

15800 "status": "completed",

15801 "completed_at": 1741476778,

15802 "error": null,

15803 "incomplete_details": null,

15804 "instructions": null,

15805 "max_output_tokens": null,

15806 "model": "gpt-6-astra",

15829 "output": [15807 "output": [

15830 {15808 {

15831 "id": "id",15809 "type": "message",

15810 "id": "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41",

15811 "status": "completed",

15812 "role": "assistant",

15832 "content": [15813 "content": [

15833 {15814 {

15834 "annotations": [15815 "type": "output_text",

15835 {15816 "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",

15836 "file_id": "file_id",15817 "annotations": [],

15837 "filename": "filename",15818 "logprobs": []

15838 "index": 0,

15839 "type": "file_citation"

15840 }

15841 ],

15842 "logprobs": [

15843 {

15844 "token": "token",

15845 "bytes": [

15846 0

15847 ],

15848 "logprob": 0,

15849 "top_logprobs": [

15850 {

15851 "token": "token",

15852 "bytes": [

15853 0

15854 ],

15855 "logprob": 0

15856 }15819 }

15857 ]15820 ]

15858 }15821 }

15859 ],15822 ],

15860 "text": "text",

15861 "type": "output_text"

15862 }

15863 ],

15864 "role": "assistant",

15865 "status": "in_progress",

15866 "type": "message",

15867 "phase": "commentary"

15868 }

15869 ],

15870 "parallel_tool_calls": true,15823 "parallel_tool_calls": true,

15871 "temperature": 1,15824 "previous_response_id": null,

15872 "tool_choice": "none",15825 "reasoning": {

15873 "tools": [15826 "effort": null,

15874 {15827 "summary": null,

15875 "name": "name",15828 "context": null

15876 "parameters": {

15877 "foo": "bar"

15878 },15829 },

15879 "strict": true,15830 "store": true,

15880 "type": "function",15831 "temperature": 1,

15881 "allowed_callers": [15832 "text": {

15882 "direct"15833 "format": {

15883 ],15834 "type": "text"

15884 "async": true,

15885 "defer_loading": true,

15886 "description": "description",

15887 "output_schema": {

15888 "foo": "bar"

15889 }

15890 }15835 }

15891 ],15836 },

15837 "tool_choice": "auto",

15838 "tools": [],

15892 "top_p": 1,15839 "top_p": 1,

15893 "background": true,15840 "truncation": "disabled",

15894 "completed_at": 0,15841 "usage": {

15842 "input_tokens": 328,

15843 "input_tokens_details": {

15844 "cached_tokens": 0,

15845 "cache_write_tokens": 0

15846 },

15847 "output_tokens": 52,

15848 "output_tokens_details": {

15849 "reasoning_tokens": 0

15850 },

15851 "total_tokens": 380

15852 },

15853 "user": null,

15854 "metadata": {},

15895 "conversation": {15855 "conversation": {

15896 "id": "id"15856 "id": "id"

15897 },15857 },

15898 "max_output_tokens": 0,

15899 "max_tool_calls": 0,

15900 "moderation": {15858 "moderation": {

15901 "input": {15859 "input": {

15902 "categories": {15860 "categories": {


15932 }15890 }

15933 },15891 },

15934 "output_text": "output_text",15892 "output_text": "output_text",

15935 "previous_response_id": "previous_response_id",

15936 "prompt": {

15937 "id": "id",

15938 "variables": {

15939 "foo": "string"

15940 },

15941 "version": "version"

15942 },

15943 "prompt_cache_diagnostics": {15893 "prompt_cache_diagnostics": {

15944 "cache_missed_tokens": 0,15894 "cache_missed_tokens": 0,

15945 "reason": "model_changed",15895 "reason": "model_changed",

15946 "type": "cache_miss",15896 "type": "cache_miss",

15947 "comparison_reusable_tokens": 015897 "comparison_reusable_tokens": 0

15948 },15898 },

15949 "prompt_cache_key": "prompt-cache-key-1234",

15950 "prompt_cache_options": {15899 "prompt_cache_options": {

15951 "mode": "implicit",15900 "mode": "implicit",

15952 "ttl": "30m",15901 "ttl": "30m",

15953 "comparison_response_id": "comparison_response_id"15902 "comparison_response_id": "comparison_response_id"

15954 },15903 },

15955 "prompt_cache_retention": "in_memory",15904 "service_tier": "auto"

15956 "reasoning": {

15957 "context": "auto",

15958 "effort": "none",

15959 "generate_summary": "auto",

15960 "mode": "standard",

15961 "summary": "auto"

15962 },

15963 "safety_identifier": "safety-identifier-1234",

15964 "service_tier": "auto",

15965 "status": "completed",

15966 "text": {

15967 "format": {

15968 "type": "text"

15969 },

15970 "verbosity": "low"

15971 },

15972 "top_logprobs": 0,

15973 "truncation": "auto",

15974 "usage": {

15975 "input_tokens": 0,

15976 "input_tokens_details": {

15977 "cache_write_tokens": 0,

15978 "cached_tokens": 0

15979 },

15980 "output_tokens": 0,

15981 "output_tokens_details": {

15982 "reasoning_tokens": 0

15983 },

15984 "total_tokens": 0

15985 },

15986 "user": "user-1234"

15987}15905}

15988```15906```

15989 15907 


16180 "file_id": "file-4wDz5b167pAf72nx1h9eiN",16098 "file_id": "file-4wDz5b167pAf72nx1h9eiN",

16181 "filename": "dragons.pdf"16099 "filename": "dragons.pdf"

16182 }16100 }

16183 ]16101 ],

16102 "logprobs": []

16184 }16103 }

16185 ]16104 ]

16186 }16105 }


16341 "output_tokens_details": {16260 "output_tokens_details": {

16342 "reasoning_tokens": 016261 "reasoning_tokens": 0

16343 },16262 },

16344 "total_tokens": 31416263 "total_tokens": 314,

16264 "input_tokens_details": {

16265 "cached_tokens": 0,

16266 "cache_write_tokens": 0

16267 }

16345 },16268 },

16346 "user": null,16269 "user": null,

16347 "metadata": {}16270 "metadata": {}


16396 {16319 {

16397 "type": "output_text",16320 "type": "output_text",

16398 "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",16321 "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",

16399 "annotations": []16322 "annotations": [],

16323 "logprobs": []

16400 }16324 }

16401 ]16325 ]

16402 }16326 }


16475 {16399 {

16476 "type": "output_text",16400 "type": "output_text",

16477 "text": "The classic tongue twister...",16401 "text": "The classic tongue twister...",

16478 "annotations": []16402 "annotations": [],

16403 "logprobs": []

16479 }16404 }

16480 ]16405 ]

16481 }16406 }


16532 16457 

16533```json16458```json

16534event: response.created16459event: response.created

16535data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}16460data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}

16536 16461 

16537event: response.in_progress16462event: response.in_progress

16538data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}}}16463data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"in_progress","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}

16539 16464 

16540event: response.output_item.added16465event: response.output_item.added

16541data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}16466data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]},"sequence_number":2}

16542 16467 

16543event: response.content_part.added16468event: response.content_part.added

16544data: {"type":"response.content_part.added","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"part":{"type":"output_text","text":"","annotations":[]}}16469data: {"type":"response.content_part.added","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"part":{"type":"output_text","text":"","annotations":[],"logprobs":[]},"sequence_number":3}

16545 16470 

16546event: response.output_text.delta16471event: response.output_text.delta

16547data: {"type":"response.output_text.delta","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"delta":"Hi"}16472data: {"type":"response.output_text.delta","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"delta":"Hi","sequence_number":4,"logprobs":[]}

16548 16473 

16549...16474: Intermediate response events omitted.

16550 16475 

16551event: response.output_text.done16476event: response.output_text.done

16552data: {"type":"response.output_text.done","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"text":"Hi there! How can I assist you today?"}16477data: {"type":"response.output_text.done","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"text":"Hi there! How can I assist you today?","sequence_number":10,"logprobs":[]}

16553 16478 

16554event: response.content_part.done16479event: response.content_part.done

16555data: {"type":"response.content_part.done","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"part":{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}}16480data: {"type":"response.content_part.done","item_id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","output_index":0,"content_index":0,"part":{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[],"logprobs":[]},"sequence_number":11}

16556 16481 

16557event: response.output_item.done16482event: response.output_item.done

16558data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}}16483data: {"type":"response.output_item.done","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[],"logprobs":[]}]},"sequence_number":12}

16559 16484 

16560event: response.completed16485event: response.completed

16561data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48},"user":null,"metadata":{}}}16486data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","access_programs":null,"created_at":1741290958,"status":"completed","error":null,"incomplete_details":null,"instructions":"You are a helpful assistant.","max_output_tokens":null,"model":"gpt-6-astra","output":[{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"completed","role":"assistant","content":[{"type":"output_text","text":"Hi there! How can I assist you today?","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null},"store":true,"temperature":1.0,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1.0,"truncation":"disabled","usage":{"input_tokens":37,"output_tokens":11,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":48,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0}},"user":null,"metadata":{}},"sequence_number":13}

16487 

16562```16488```

16563 16489 

16564### Text input16490### Text input


16598 {16524 {

16599 "type": "output_text",16525 "type": "output_text",

16600 "text": "In a peaceful grove beneath a silver moon, a unicorn named Lumina discovered a hidden pool that reflected the stars. As she dipped her horn into the water, the pool began to shimmer, revealing a pathway to a magical realm of endless night skies. Filled with wonder, Lumina whispered a wish for all who dream to find their own hidden magic, and as she glanced back, her hoofprints sparkled like stardust.",16526 "text": "In a peaceful grove beneath a silver moon, a unicorn named Lumina discovered a hidden pool that reflected the stars. As she dipped her horn into the water, the pool began to shimmer, revealing a pathway to a magical realm of endless night skies. Filled with wonder, Lumina whispered a wish for all who dream to find their own hidden magic, and as she glanced back, her hoofprints sparkled like stardust.",

16601 "annotations": []16527 "annotations": [],

16528 "logprobs": []

16602 }16529 }

16603 ]16530 ]

16604 }16531 }


16702 "url": "https://.../?utm_source=chatgpt.com",16629 "url": "https://.../?utm_source=chatgpt.com",

16703 "title": "..."16630 "title": "..."

16704 }16631 }

16705 ]16632 ],

16633 "logprobs": []

16706 }16634 }

16707 ]16635 ]

16708 }16636 }

Details

10 10 

11- `response_id: string`11- `response_id: string`

12 12 

13### Returns

14 

15- `id: string`

16 

17- `deleted: boolean`

18 

19- `object: "response.deleted"`

20 

21 - `"response.deleted"`

22 

13### Example23### Example

14 24 

15```http25```http


18 -H "Authorization: Bearer $OPENAI_API_KEY"28 -H "Authorization: Bearer $OPENAI_API_KEY"

19```29```

20 30 

31#### Response

32 

33```json

34{

35 "id": "id",

36 "deleted": true,

37 "object": "response.deleted"

38}

39```

40 

21### Example41### Example

22 42 

23```http43```http


30 50 

31```json51```json

32{52{

33 "id": "resp_6786a1bec27481909a17d673315b29f6",53 "id": "resp_123",

34 "object": "response",54 "object": "response.deleted",

35 "deleted": true55 "deleted": true

36}56}

37```57```

Details

436 436 

437 - `index: number`437 - `index: number`

438 438 

439 The index of the file in the list of files.439 The index in the output text at which to insert the file citation.

440 440 

441 - `type: "file_citation"`441 - `type: "file_citation"`

442 442 


1004 1004 

1005 - `"incomplete"`1005 - `"incomplete"`

1006 1006 

1007 - `WebSearchCall object { id, action, status, type }`1007 - `WebSearchCall object { id, status, type, action }`

1008 1008 

1009 The results of a web search tool call. See the1009 The results of a web search tool call. See the

1010 [web search guide](/api/docs/guides/tools-web-search) for more information.1010 [web search guide](/api/docs/guides/tools-web-search) for more information.


1013 1013 

1014 The unique ID of the web search tool call.1014 The unique ID of the web search tool call.

1015 1015 

1016 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`1016 - `status: "in_progress" or "searching" or "completed" or 2 more`

1017 

1018 The status of the web search tool call.

1019 

1020 - `"in_progress"`

1021 

1022 - `"searching"`

1023 

1024 - `"completed"`

1025 

1026 - `"failed"`

1027 

1028 - `"incomplete"`

1029 

1030 - `type: "web_search_call"`

1031 

1032 The type of the web search tool call. Always `web_search_call`.

1033 

1034 - `"web_search_call"`

1035 

1036 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

1017 1037 

1018 An object describing the specific action taken in this web search call.1038 An object describing the specific action taken in this web search call.

1019 Includes details on how the model used the web (search, open_page, find_in_page).1039 Includes details on how the model used the web (search, open_page, find_in_page).


1082 1102 

1083 The URL of the page searched for the pattern.1103 The URL of the page searched for the pattern.

1084 1104 

1085 - `status: "in_progress" or "searching" or "completed" or 2 more`

1086 

1087 The status of the web search tool call.

1088 

1089 - `"in_progress"`

1090 

1091 - `"searching"`

1092 

1093 - `"completed"`

1094 

1095 - `"failed"`

1096 

1097 - `"incomplete"`

1098 

1099 - `type: "web_search_call"`

1100 

1101 The type of the web search tool call. Always `web_search_call`.

1102 

1103 - `"web_search_call"`

1104 

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

1106 1106 

1107 A tool call to run a function. See the1107 A tool call to run a function. See the


1505 1505 

1506 Combine multiple filters using `and` or `or`.1506 Combine multiple filters using `and` or `or`.

1507 1507 

1508 - `filters: array of ComparisonFilter or unknown`1508 - `filters: array of ComparisonFilter or CompoundFilter`

1509 1509 

1510 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1510 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1511 1511 


1513 1513 

1514 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1514 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1515 1515 

1516 - `unknown`1516 - `CompoundFilter object { filters, type }`

1517 

1518 Combine multiple filters using `and` or `or`.

1517 1519 

1518 - `type: "and" or "or"`1520 - `type: "and" or "or"`

1519 1521 


4984 4986 

4985 The namespace of the tool that produced the output.4987 The namespace of the tool that produced the output.

4986 4988 

4987 - `WebSearchCall object { id, action, status, type }`4989 - `WebSearchCall object { id, status, type, action }`

4988 4990 

4989 The results of a web search tool call. See the4991 The results of a web search tool call. See the

4990 [web search guide](/api/docs/guides/tools-web-search) for more information.4992 [web search guide](/api/docs/guides/tools-web-search) for more information.


4993 4995 

4994 The unique ID of the web search tool call.4996 The unique ID of the web search tool call.

4995 4997 

4996 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`4998 - `status: "in_progress" or "searching" or "completed" or 2 more`

4999 

5000 The status of the web search tool call.

5001 

5002 - `"in_progress"`

5003 

5004 - `"searching"`

5005 

5006 - `"completed"`

5007 

5008 - `"failed"`

5009 

5010 - `"incomplete"`

5011 

5012 - `type: "web_search_call"`

5013 

5014 The type of the web search tool call. Always `web_search_call`.

5015 

5016 - `"web_search_call"`

5017 

5018 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

4997 5019 

4998 An object describing the specific action taken in this web search call.5020 An object describing the specific action taken in this web search call.

4999 Includes details on how the model used the web (search, open_page, find_in_page).5021 Includes details on how the model used the web (search, open_page, find_in_page).


5062 5084 

5063 The URL of the page searched for the pattern.5085 The URL of the page searched for the pattern.

5064 5086 

5065 - `status: "in_progress" or "searching" or "completed" or 2 more`

5066 

5067 The status of the web search tool call.

5068 

5069 - `"in_progress"`

5070 

5071 - `"searching"`

5072 

5073 - `"completed"`

5074 

5075 - `"failed"`

5076 

5077 - `"incomplete"`

5078 

5079 - `type: "web_search_call"`

5080 

5081 The type of the web search tool call. Always `web_search_call`.

5082 

5083 - `"web_search_call"`

5084 

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

5086 5088 

5087 A tool call to a computer use tool. See the5089 A tool call to a computer use tool. See the


9670 9672 

9671 - `"disabled"`9673 - `"disabled"`

9672 9674 

9673 - `usage: optional ResponseUsage`9675 - `usage: optional ResponseUsage or null`

9674 9676 

9675 Represents token usage details including input tokens, output tokens,9677 Represents token usage details including input tokens, output tokens,

9676 a breakdown of output tokens, and the total tokens used.9678 a breakdown of output tokens, and the total tokens used.


9708 9710 

9709 The total number of tokens used.9711 The total number of tokens used.

9710 9712 

9711 - `user: optional string`9713 - `user: optional string or null`

9712 9714 

9713 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.9715 This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.

9714 A stable identifier for your end-users.9716 A stable identifier for your end-users.


9725 9727 

9726```json9728```json

9727{9729{

9728 "id": "id",9730 "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",

9729 "access_programs": {

9730 "cyber": "standard"

9731 },

9732 "created_at": 0,

9733 "error": {

9734 "code": "server_error",

9735 "message": "message",

9736 "misalignment": {

9737 "detailed_explanation": "detailed_explanation",

9738 "error_type": "potentially_unintended_data_transfer",

9739 "steer": {

9740 "message": "message"

9741 }

9742 }

9743 },

9744 "incomplete_details": {

9745 "reason": "max_output_tokens"

9746 },

9747 "instructions": "string",

9748 "metadata": {

9749 "foo": "string"

9750 },

9751 "model": "gpt-6-astra",

9752 "object": "response",9731 "object": "response",

9732 "access_programs": null,

9733 "created_at": 1741476777,

9734 "status": "completed",

9735 "completed_at": 1741476778,

9736 "error": null,

9737 "incomplete_details": null,

9738 "instructions": null,

9739 "max_output_tokens": null,

9740 "model": "gpt-6-astra",

9753 "output": [9741 "output": [

9754 {9742 {

9755 "id": "id",9743 "type": "message",

9744 "id": "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41",

9745 "status": "completed",

9746 "role": "assistant",

9756 "content": [9747 "content": [

9757 {9748 {

9758 "annotations": [9749 "type": "output_text",

9759 {9750 "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.",

9760 "file_id": "file_id",9751 "annotations": [],

9761 "filename": "filename",9752 "logprobs": []

9762 "index": 0,

9763 "type": "file_citation"

9764 }

9765 ],

9766 "logprobs": [

9767 {

9768 "token": "token",

9769 "bytes": [

9770 0

9771 ],

9772 "logprob": 0,

9773 "top_logprobs": [

9774 {

9775 "token": "token",

9776 "bytes": [

9777 0

9778 ],

9779 "logprob": 0

9780 }9753 }

9781 ]9754 ]

9782 }9755 }

9783 ],9756 ],

9784 "text": "text",

9785 "type": "output_text"

9786 }

9787 ],

9788 "role": "assistant",

9789 "status": "in_progress",

9790 "type": "message",

9791 "phase": "commentary"

9792 }

9793 ],

9794 "parallel_tool_calls": true,9757 "parallel_tool_calls": true,

9795 "temperature": 1,9758 "previous_response_id": null,

9796 "tool_choice": "none",9759 "reasoning": {

9797 "tools": [9760 "effort": null,

9798 {9761 "summary": null,

9799 "name": "name",9762 "context": null

9800 "parameters": {

9801 "foo": "bar"

9802 },9763 },

9803 "strict": true,9764 "store": true,

9804 "type": "function",9765 "temperature": 1,

9805 "allowed_callers": [9766 "text": {

9806 "direct"9767 "format": {

9807 ],9768 "type": "text"

9808 "async": true,

9809 "defer_loading": true,

9810 "description": "description",

9811 "output_schema": {

9812 "foo": "bar"

9813 }

9814 }9769 }

9815 ],9770 },

9771 "tool_choice": "auto",

9772 "tools": [],

9816 "top_p": 1,9773 "top_p": 1,

9817 "background": true,9774 "truncation": "disabled",

9818 "completed_at": 0,9775 "usage": {

9776 "input_tokens": 328,

9777 "input_tokens_details": {

9778 "cached_tokens": 0,

9779 "cache_write_tokens": 0

9780 },

9781 "output_tokens": 52,

9782 "output_tokens_details": {

9783 "reasoning_tokens": 0

9784 },

9785 "total_tokens": 380

9786 },

9787 "user": null,

9788 "metadata": {},

9819 "conversation": {9789 "conversation": {

9820 "id": "id"9790 "id": "id"

9821 },9791 },

9822 "max_output_tokens": 0,

9823 "max_tool_calls": 0,

9824 "moderation": {9792 "moderation": {

9825 "input": {9793 "input": {

9826 "categories": {9794 "categories": {


9856 }9824 }

9857 },9825 },

9858 "output_text": "output_text",9826 "output_text": "output_text",

9859 "previous_response_id": "previous_response_id",

9860 "prompt": {

9861 "id": "id",

9862 "variables": {

9863 "foo": "string"

9864 },

9865 "version": "version"

9866 },

9867 "prompt_cache_diagnostics": {9827 "prompt_cache_diagnostics": {

9868 "cache_missed_tokens": 0,9828 "cache_missed_tokens": 0,

9869 "reason": "model_changed",9829 "reason": "model_changed",

9870 "type": "cache_miss",9830 "type": "cache_miss",

9871 "comparison_reusable_tokens": 09831 "comparison_reusable_tokens": 0

9872 },9832 },

9873 "prompt_cache_key": "prompt-cache-key-1234",

9874 "prompt_cache_options": {9833 "prompt_cache_options": {

9875 "mode": "implicit",9834 "mode": "implicit",

9876 "ttl": "30m",9835 "ttl": "30m",

9877 "comparison_response_id": "comparison_response_id"9836 "comparison_response_id": "comparison_response_id"

9878 },9837 },

9879 "prompt_cache_retention": "in_memory",9838 "service_tier": "auto"

9880 "reasoning": {

9881 "context": "auto",

9882 "effort": "none",

9883 "generate_summary": "auto",

9884 "mode": "standard",

9885 "summary": "auto"

9886 },

9887 "safety_identifier": "safety-identifier-1234",

9888 "service_tier": "auto",

9889 "status": "completed",

9890 "text": {

9891 "format": {

9892 "type": "text"

9893 },

9894 "verbosity": "low"

9895 },

9896 "top_logprobs": 0,

9897 "truncation": "auto",

9898 "usage": {

9899 "input_tokens": 0,

9900 "input_tokens_details": {

9901 "cache_write_tokens": 0,

9902 "cached_tokens": 0

9903 },

9904 "output_tokens": 0,

9905 "output_tokens_details": {

9906 "reasoning_tokens": 0

9907 },

9908 "total_tokens": 0

9909 },

9910 "user": "user-1234"

9911}9839}

9912```9840```

9913 9841 


9944 {9872 {

9945 "type": "output_text",9873 "type": "output_text",

9946 "text": "Silent circuits hum, \nThoughts emerge in data streams— \nDigital dawn breaks.",9874 "text": "Silent circuits hum, \nThoughts emerge in data streams— \nDigital dawn breaks.",

9947 "annotations": []9875 "annotations": [],

9876 "logprobs": []

9948 }9877 }

9949 ]9878 ]

9950 }9879 }

Details

245 245 

246 - `index: number`246 - `index: number`

247 247 

248 The index of the file in the list of files.248 The index in the output text at which to insert the file citation.

249 249 

250 - `type: "file_citation"`250 - `type: "file_citation"`

251 251 


819 819 

820 The identifier of the actor that created the item.820 The identifier of the actor that created the item.

821 821 

822 - `WebSearchCall object { id, action, status, type }`822 - `WebSearchCall object { id, status, type, action }`

823 823 

824 The results of a web search tool call. See the824 The results of a web search tool call. See the

825 [web search guide](/api/docs/guides/tools-web-search) for more information.825 [web search guide](/api/docs/guides/tools-web-search) for more information.


828 828 

829 The unique ID of the web search tool call.829 The unique ID of the web search tool call.

830 830 

831 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`831 - `status: "in_progress" or "searching" or "completed" or 2 more`

832 

833 The status of the web search tool call.

834 

835 - `"in_progress"`

836 

837 - `"searching"`

838 

839 - `"completed"`

840 

841 - `"failed"`

842 

843 - `"incomplete"`

844 

845 - `type: "web_search_call"`

846 

847 The type of the web search tool call. Always `web_search_call`.

848 

849 - `"web_search_call"`

850 

851 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

832 852 

833 An object describing the specific action taken in this web search call.853 An object describing the specific action taken in this web search call.

834 Includes details on how the model used the web (search, open_page, find_in_page).854 Includes details on how the model used the web (search, open_page, find_in_page).


897 917 

898 The URL of the page searched for the pattern.918 The URL of the page searched for the pattern.

899 919 

900 - `status: "in_progress" or "searching" or "completed" or 2 more`

901 

902 The status of the web search tool call.

903 

904 - `"in_progress"`

905 

906 - `"searching"`

907 

908 - `"completed"`

909 

910 - `"failed"`

911 

912 - `"incomplete"`

913 

914 - `type: "web_search_call"`

915 

916 The type of the web search tool call. Always `web_search_call`.

917 

918 - `"web_search_call"`

919 

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

921 921 

922 - `id: string`922 - `id: string`


1265 1265 

1266 Combine multiple filters using `and` or `or`.1266 Combine multiple filters using `and` or `or`.

1267 1267 

1268 - `filters: array of ComparisonFilter or unknown`1268 - `filters: array of ComparisonFilter or CompoundFilter`

1269 1269 

1270 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1270 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1271 1271 


1273 1273 

1274 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1274 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1275 1275 

1276 - `unknown`1276 - `CompoundFilter object { filters, type }`

1277 

1278 Combine multiple filters using `and` or `or`.

1277 1279 

1278 - `type: "and" or "or"`1280 - `type: "and" or "or"`

1279 1281 

Details

274 274 

275 - `index: number`275 - `index: number`

276 276 

277 The index of the file in the list of files.277 The index in the output text at which to insert the file citation.

278 278 

279 - `type: "file_citation"`279 - `type: "file_citation"`

280 280 


842 842 

843 - `"incomplete"`843 - `"incomplete"`

844 844 

845 - `WebSearchCall object { id, action, status, type }`845 - `WebSearchCall object { id, status, type, action }`

846 846 

847 The results of a web search tool call. See the847 The results of a web search tool call. See the

848 [web search guide](/api/docs/guides/tools-web-search) for more information.848 [web search guide](/api/docs/guides/tools-web-search) for more information.


851 851 

852 The unique ID of the web search tool call.852 The unique ID of the web search tool call.

853 853 

854 - `action: object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`854 - `status: "in_progress" or "searching" or "completed" or 2 more`

855 

856 The status of the web search tool call.

857 

858 - `"in_progress"`

859 

860 - `"searching"`

861 

862 - `"completed"`

863 

864 - `"failed"`

865 

866 - `"incomplete"`

867 

868 - `type: "web_search_call"`

869 

870 The type of the web search tool call. Always `web_search_call`.

871 

872 - `"web_search_call"`

873 

874 - `action: optional object { type, queries, query, sources } or object { type, url } or object { pattern, type, url }`

855 875 

856 An object describing the specific action taken in this web search call.876 An object describing the specific action taken in this web search call.

857 Includes details on how the model used the web (search, open_page, find_in_page).877 Includes details on how the model used the web (search, open_page, find_in_page).


920 940 

921 The URL of the page searched for the pattern.941 The URL of the page searched for the pattern.

922 942 

923 - `status: "in_progress" or "searching" or "completed" or 2 more`

924 

925 The status of the web search tool call.

926 

927 - `"in_progress"`

928 

929 - `"searching"`

930 

931 - `"completed"`

932 

933 - `"failed"`

934 

935 - `"incomplete"`

936 

937 - `type: "web_search_call"`

938 

939 The type of the web search tool call. Always `web_search_call`.

940 

941 - `"web_search_call"`

942 

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

944 944 

945 A tool call to run a function. See the945 A tool call to run a function. See the


1343 1343 

1344 Combine multiple filters using `and` or `or`.1344 Combine multiple filters using `and` or `or`.

1345 1345 

1346 - `filters: array of ComparisonFilter or unknown`1346 - `filters: array of ComparisonFilter or CompoundFilter`

1347 1347 

1348 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.1348 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

1349 1349 


1351 1351 

1352 A filter used to compare a specified attribute key to a given value using a defined comparison operation.1352 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

1353 1353 

1354 - `unknown`1354 - `CompoundFilter object { filters, type }`

1355 

1356 Combine multiple filters using `and` or `or`.

1355 1357 

1356 - `type: "and" or "or"`1358 - `type: "and" or "or"`

1357 1359 

Details

56 56 

57 - `file: optional FileObject or null`57 - `file: optional FileObject or null`

58 58 

59 The `File` object represents a document that has been uploaded to OpenAI.59 The ready File object after the Upload is completed.

60 60 

61 - `id: string`61 - `id: string`

62 62 

Details

114 114 

115 - `file: optional FileObject or null`115 - `file: optional FileObject or null`

116 116 

117 The `File` object represents a document that has been uploaded to OpenAI.117 The ready File object after the Upload is completed.

118 118 

119 - `id: string`119 - `id: string`

120 120 

Details

230 "created_at": 1699061776,230 "created_at": 1699061776,

231 "name": "Support FAQ",231 "name": "Support FAQ",

232 "description": "Contains commonly asked questions and answers, organized by topic.",232 "description": "Contains commonly asked questions and answers, organized by topic.",

233 "bytes": 139920,

234 "file_counts": {233 "file_counts": {

235 "in_progress": 0,234 "in_progress": 0,

236 "completed": 3,235 "completed": 0,

237 "failed": 0,236 "failed": 0,

238 "cancelled": 0,237 "cancelled": 0,

239 "total": 3238 "total": 0

240 }239 },

240 "usage_bytes": 0,

241 "status": "completed",

242 "last_active_at": null,

243 "metadata": {}

241}244}

242```245```

Details

191 "created_at": 1699061776,191 "created_at": 1699061776,

192 "name": "Support FAQ",192 "name": "Support FAQ",

193 "description": "Contains commonly asked questions and answers, organized by topic.",193 "description": "Contains commonly asked questions and answers, organized by topic.",

194 "bytes": 139920,

195 "file_counts": {194 "file_counts": {

196 "in_progress": 0,195 "in_progress": 0,

197 "completed": 3,196 "completed": 3,

198 "failed": 0,197 "failed": 0,

199 "cancelled": 0,198 "cancelled": 0,

200 "total": 3199 "total": 3

201 }200 },

201 "usage_bytes": 139920,

202 "status": "completed",

203 "last_active_at": null,

204 "metadata": {}

202 },205 },

203 {206 {

204 "id": "vs_abc456",207 "id": "vs_abc456",

205 "object": "vector_store",208 "object": "vector_store",

206 "created_at": 1699061776,209 "created_at": 1699061776,

207 "name": "Support FAQ v2",210 "name": "Support FAQ v2",

208 "description": null,

209 "bytes": 139920,

210 "file_counts": {211 "file_counts": {

211 "in_progress": 0,212 "in_progress": 0,

212 "completed": 3,213 "completed": 3,

213 "failed": 0,214 "failed": 0,

214 "cancelled": 0,215 "cancelled": 0,

215 "total": 3216 "total": 3

216 }217 },

218 "usage_bytes": 139920,

219 "status": "completed",

220 "last_active_at": null,

221 "metadata": {}

217 }222 }

218 ],223 ],

219 "first_id": "vs_abc123",224 "first_id": "vs_abc123",

Details

153{153{

154 "id": "vs_abc123",154 "id": "vs_abc123",

155 "object": "vector_store",155 "object": "vector_store",

156 "created_at": 1699061776156 "created_at": 1699061776,

157 "name": "Support FAQ",

158 "file_counts": {

159 "in_progress": 0,

160 "completed": 3,

161 "failed": 0,

162 "cancelled": 0,

163 "total": 3

164 },

165 "usage_bytes": 139920,

166 "status": "completed",

167 "last_active_at": null,

168 "metadata": {}

157}169}

158```170```

Details

81 81 

82 Combine multiple filters using `and` or `or`.82 Combine multiple filters using `and` or `or`.

83 83 

84 - `filters: array of ComparisonFilter or unknown`84 - `filters: array of ComparisonFilter or CompoundFilter`

85 85 

86 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.86 Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.

87 87 


89 89 

90 A filter used to compare a specified attribute key to a given value using a defined comparison operation.90 A filter used to compare a specified attribute key to a given value using a defined comparison operation.

91 91 

92 - `unknown`92 - `CompoundFilter object { filters, type }`

93 

94 Combine multiple filters using `and` or `or`.

93 95 

94 - `type: "and" or "or"`96 - `type: "and" or "or"`

95 97 

Details

190 "created_at": 1699061776,190 "created_at": 1699061776,

191 "name": "Support FAQ",191 "name": "Support FAQ",

192 "description": "Contains commonly asked questions and answers, organized by topic.",192 "description": "Contains commonly asked questions and answers, organized by topic.",

193 "bytes": 139920,

194 "file_counts": {193 "file_counts": {

195 "in_progress": 0,194 "in_progress": 0,

196 "completed": 3,195 "completed": 3,

197 "failed": 0,196 "failed": 0,

198 "cancelled": 0,197 "cancelled": 0,

199 "total": 3198 "total": 3

200 }199 },

200 "usage_bytes": 139920,

201 "status": "completed",

202 "last_active_at": null,

203 "metadata": {}

201}204}

202```205```

Details

48 48 

49 The total number of files.49 The total number of files.

50 50 

51 - `object: "vector_store.files_batch"`51 - `object: "vector_store.file_batch"`

52 52 

53 The object type, which is always `vector_store.file_batch`.53 The object type, which is always `vector_store.file_batch`.

54 54 

55 - `"vector_store.files_batch"`55 - `"vector_store.file_batch"`

56 56 

57 - `status: "in_progress" or "completed" or "cancelled" or "failed"`57 - `status: "in_progress" or "completed" or "cancelled" or "failed"`

58 58 


92 "in_progress": 0,92 "in_progress": 0,

93 "total": 093 "total": 0

94 },94 },

95 "object": "vector_store.files_batch",95 "object": "vector_store.file_batch",

96 "status": "in_progress",96 "status": "in_progress",

97 "vector_store_id": "vector_store_id"97 "vector_store_id": "vector_store_id"

98}98}

Details

128 128 

129 The total number of files.129 The total number of files.

130 130 

131 - `object: "vector_store.files_batch"`131 - `object: "vector_store.file_batch"`

132 132 

133 The object type, which is always `vector_store.file_batch`.133 The object type, which is always `vector_store.file_batch`.

134 134 

135 - `"vector_store.files_batch"`135 - `"vector_store.file_batch"`

136 136 

137 - `status: "in_progress" or "completed" or "cancelled" or "failed"`137 - `status: "in_progress" or "completed" or "cancelled" or "failed"`

138 138 


173 "in_progress": 0,173 "in_progress": 0,

174 "total": 0174 "total": 0

175 },175 },

176 "object": "vector_store.files_batch",176 "object": "vector_store.file_batch",

177 "status": "in_progress",177 "status": "in_progress",

178 "vector_store_id": "vector_store_id"178 "vector_store_id": "vector_store_id"

179}179}

Details

220 "id": "file-abc123",220 "id": "file-abc123",

221 "object": "vector_store.file",221 "object": "vector_store.file",

222 "created_at": 1699061776,222 "created_at": 1699061776,

223 "vector_store_id": "vs_abc123"223 "vector_store_id": "vs_abc123",

224 "usage_bytes": 1234,

225 "status": "completed",

226 "last_error": null

224 },227 },

225 {228 {

226 "id": "file-abc456",229 "id": "file-abc456",

227 "object": "vector_store.file",230 "object": "vector_store.file",

228 "created_at": 1699061776,231 "created_at": 1699061776,

229 "vector_store_id": "vs_abc123"232 "vector_store_id": "vs_abc123",

233 "usage_bytes": 1234,

234 "status": "completed",

235 "last_error": null

230 }236 }

231 ],237 ],

232 "first_id": "file-abc123",238 "first_id": "file-abc123",

Details

48 48 

49 The total number of files.49 The total number of files.

50 50 

51 - `object: "vector_store.files_batch"`51 - `object: "vector_store.file_batch"`

52 52 

53 The object type, which is always `vector_store.file_batch`.53 The object type, which is always `vector_store.file_batch`.

54 54 

55 - `"vector_store.files_batch"`55 - `"vector_store.file_batch"`

56 56 

57 - `status: "in_progress" or "completed" or "cancelled" or "failed"`57 - `status: "in_progress" or "completed" or "cancelled" or "failed"`

58 58 


91 "in_progress": 0,91 "in_progress": 0,

92 "total": 092 "total": 0

93 },93 },

94 "object": "vector_store.files_batch",94 "object": "vector_store.file_batch",

95 "status": "in_progress",95 "status": "in_progress",

96 "vector_store_id": "vector_store_id"96 "vector_store_id": "vector_store_id"

97}97}

Details

76 76 

77```json77```json

78{78{

79 "file_id": "file-abc123",79 "object": "vector_store.file_content.page",

80 "filename": "example.txt",80 "data": [

81 "attributes": {"key": "value"},81 {"type": "text", "text": "file content"}

82 "content": [82 ],

83 {"type": "text", "text": "..."},83 "has_more": false,

84 ...84 "next_page": null

85 ]

86}85}

87```86```

Details

218 "id": "file-abc123",218 "id": "file-abc123",

219 "object": "vector_store.file",219 "object": "vector_store.file",

220 "created_at": 1699061776,220 "created_at": 1699061776,

221 "vector_store_id": "vs_abc123"221 "vector_store_id": "vs_abc123",

222 "usage_bytes": 1234,

223 "status": "completed",

224 "last_error": null

222 },225 },

223 {226 {

224 "id": "file-abc456",227 "id": "file-abc456",

225 "object": "vector_store.file",228 "object": "vector_store.file",

226 "created_at": 1699061776,229 "created_at": 1699061776,

227 "vector_store_id": "vs_abc123"230 "vector_store_id": "vs_abc123",

231 "usage_bytes": 1234,

232 "status": "completed",

233 "last_error": null

228 }234 }

229 ],235 ],

230 "first_id": "file-abc123",236 "first_id": "file-abc123",

Details

169 "id": "file-abc123",169 "id": "file-abc123",

170 "object": "vector_store.file",170 "object": "vector_store.file",

171 "created_at": 1699061776,171 "created_at": 1699061776,

172 "vector_store_id": "vs_abcd",172 "vector_store_id": "vs_abc123",

173 "status": "completed",173 "status": "completed",

174 "last_error": null174 "last_error": null,

175 "usage_bytes": 1234

175}176}

176```177```

Details

178### Example178### Example

179 179 

180```http180```http

181curl https://api.openai.com/v1/vector_stores/{vector_store_id}/files/{file_id} \181curl https://api.openai.com/v1/vector_stores/vs_abc123/files/file-abc123 \

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

183 -H "Content-Type: application/json" \183 -H "Content-Type: application/json" \

184 -d '{"attributes": {"key1": "value1", "key2": 2}}'184 -d '{"attributes": {"key1": "value1", "key2": 2}}'


192 "object": "vector_store.file",192 "object": "vector_store.file",

193 "usage_bytes": 1234,193 "usage_bytes": 1234,

194 "created_at": 1699061776,194 "created_at": 1699061776,

195 "vector_store_id": "vs_abcd",195 "vector_store_id": "vs_abc123",

196 "status": "completed",196 "status": "completed",

197 "last_error": null,197 "last_error": null,

198 "chunking_strategy": {...},198 "chunking_strategy": {

199 "type": "static",

200 "static": {

201 "max_chunk_size_tokens": 800,

202 "chunk_overlap_tokens": 400

203 }

204 },

199 "attributes": {"key1": "value1", "key2": 2}205 "attributes": {"key1": "value1", "key2": 2}

200}206}

201```207```