SpyBara
Go Premium

Documentation 2026-11-07 22:59 UTC to 2026-11-08 22:59 UTC

2 files changed +16 −25. View all changes and history on the product overview
2026
Fri 13 23:58 Thu 12 22:57 Wed 11 23:57 Tue 10 23:02 Mon 9 23:02 Sun 8 22:59 Sat 7 22:59 Fri 6 23:00 Thu 5 23:00 Wed 4 22:58 Tue 3 22:58 Mon 2 23:58 Sun 1 23:00
Details

12 12 

13The `model` field selects the model. The `access_programs.cyber` field selects a supported access program for that request: `standard`, `daybreak_blue`, or `daybreak_red`.13The `model` field selects the model. The `access_programs.cyber` field selects a supported access program for that request: `standard`, `daybreak_blue`, or `daybreak_red`.

14 14 

15Only organizations with existing access can use `gpt-5.5-cyber-preview`. It

16 retires on **February 1, 2027**. Requests that use this model will fail after

17 retirement. If you use it, change the `model` field to `gpt-5.6-cyber` before

18 that date. If your organization has approval for `gpt-6-cyber`, follow the

19 [setup instructions](#set-up-gpt-6-cyber) to switch to it instead. Confirm

20 your project has access to the replacement before switching. See [API

21 deprecations](https://developers.openai.com/api/docs/deprecations#2026-11-05-gpt-55-cyber).

22 

15 23 

16 24 

17 <table>25 <table>


43GPT-6 Astra51GPT-6 Astra

44 52 

45 53

46GPT-5.5-Cyber54GPT-5.5-Cyber (existing access only)

47 55 

48 56

49GPT-5.6-Cyber57GPT-5.6-Cyber

Details

2229 formatted_results = ""2229 formatted_results = ""

2230 for result in results.data:2230 for result in results.data:

2231 formatted_result = (2231 formatted_result = (

2232 f"<result file_id='{result.file_id}' file_name='{result.file_name}'>"2232 f"<result file_id='{result.file_id}' file_name='{result.filename}'>"

2233 )2233 )

2234 for part in result.content:2234 for part in result.content:

2235 formatted_result += f"<content>{part.text}</content>"2235 formatted_result += f"<content>{part.text}</content>"


2247 "github.com/openai/openai-go/v3"2247 "github.com/openai/openai-go/v3"

2248)2248)

2249 2249 

2250func main() {

2251 results := []openai.VectorStoreSearchResponse{{

2252 FileID: "file-12345",

2253 Filename: "woodchuck_policy.txt",

2254 Content: []openai.VectorStoreSearchResponseContent{{Text: "Each passenger may carry up to two woodchucks."}},

2255 }}

2256 fmt.Println(formatResults(results))

2257}

2258 

2259func formatResults(results []openai.VectorStoreSearchResponse) string {2250func formatResults(results []openai.VectorStoreSearchResponse) string {

2260 var sources strings.Builder2251 var sources strings.Builder

2261 sources.WriteString("<sources>")2252 sources.WriteString("<sources>")


2275import com.openai.models.vectorstores.VectorStoreSearchResponse;2266import com.openai.models.vectorstores.VectorStoreSearchResponse;

2276import java.util.List;2267import java.util.List;

2277 2268 

2278System.out.println(formatResults(results.data()));

2279 

2280static String formatResults(List<VectorStoreSearchResponse> results) {2269static String formatResults(List<VectorStoreSearchResponse> results) {

2281 var formatted = new StringBuilder("<sources>");2270 var formatted = new StringBuilder("<sources>");

2282 for (var result : results) {2271 for (var result : results) {


2296```2285```

2297 2286 

2298```ruby2287```ruby

2299results = [2288def format_results(results)

2300 {2289 sources = results.map do |result|

2301 file_id: "file-12345",2290 content = result.content.map { |part| "<content>#{part.text}</content>" }.join

2302 filename: "woodchuck_policy.txt",2291 "<result file_id=\"#{result.file_id}\" file_name=\"#{result.filename}\">#{content}</result>"

2303 content: [{ text: "Each passenger may carry up to two woodchucks." }]2292 end

2304 }

2305]

2306 2293 

2307sources = results.map do |result|2294 "<sources>#{sources.join}</sources>"

2308 content = result.fetch(:content).map { |part| "<content>#{part.fetch(:text)}</content>" }.join

2309 "<result file_id=\"#{result.fetch(:file_id)}\" file_name=\"#{result.fetch(:filename)}\">#{content}</result>"

2310end2295end

2311 

2312puts("<sources>#{sources.join}</sources>")

2313```2296```