14 14
15### Body Parameters15### Body Parameters
16 16
17- `access_programs: optional object { cyber }`
18
19 Domain-specific access programs to use for this request.
20
21 - `cyber: optional "standard" or "daybreak_blue" or "daybreak_red"`
22
23 The Cyber access program to use for this request. Supported values are `standard`, `daybreak_blue`, and `daybreak_red`. If omitted, the API resolves the program from the model's Cyber tier and your organization and project access, subject to model-specific eligibility restrictions. By default, models without a Cyber tier use Standard. Blue-tier models use Daybreak Blue when authorized; otherwise they fall back to Standard unless the model requires Daybreak access. Red-tier models use Daybreak Red and require authorization. Requests that require unavailable Daybreak access return 403. An implicit Standard fallback is represented by null in the response's access_programs field, rather than an explicit Standard selection.
24
25 - `"standard"`
26
27 - `"daybreak_blue"`
28
29 - `"daybreak_red"`
30
17- `background: optional boolean or null`31- `background: optional boolean or null`
18 32
19 Whether to run the model response in the background.33 Whether to run the model response in the background.
1532 1546
1533 - `user_location: optional object { city, country, region, 2 more } or null`1547 - `user_location: optional object { city, country, region, 2 more } or null`
1534 1548
1535 The approximate location of the user.1549 The approximate location of the user. If omitted or null, defaults to the
1550 United States. To avoid this fallback, pass `{"type": "approximate"}` without
1551 location fields. To localize results, provide the relevant location fields.
1536 1552
1537 - `city: optional string or null`1553 - `city: optional string or null`
1538 1554
2352 2368
2353 - `user_location: optional object { type, city, country, 2 more } or null`2369 - `user_location: optional object { type, city, country, 2 more } or null`
2354 2370
2355 The user's location.2371 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
2356 2372
2357 - `type: "approximate"`2373 - `type: "approximate"`
2358 2374
2622 2638
2623 - `user_location: optional object { city, country, region, 2 more } or null`2639 - `user_location: optional object { city, country, region, 2 more } or null`
2624 2640
2625 The approximate location of the user.2641 The approximate location of the user. If omitted or null, defaults to the
2642 United States. To avoid this fallback, pass `{"type": "approximate"}` without
2643 location fields. To localize results, provide the relevant location fields.
2626 2644
2627 - `city: optional string or null`2645 - `city: optional string or null`
2628 2646
3260 3278
3261 - `user_location: optional object { type, city, country, 2 more } or null`3279 - `user_location: optional object { type, city, country, 2 more } or null`
3262 3280
3263 The user's location.3281 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
3264 3282
3265 - `type: "approximate"`3283 - `type: "approximate"`
3266 3284
5382 5400
5383 - `user_location: optional object { city, country, region, 2 more } or null`5401 - `user_location: optional object { city, country, region, 2 more } or null`
5384 5402
5385 The approximate location of the user.5403 The approximate location of the user. If omitted or null, defaults to the
5404 United States. To avoid this fallback, pass `{"type": "approximate"}` without
5405 location fields. To localize results, provide the relevant location fields.
5386 5406
5387 - `city: optional string or null`5407 - `city: optional string or null`
5388 5408
6020 6040
6021 - `user_location: optional object { type, city, country, 2 more } or null`6041 - `user_location: optional object { type, city, country, 2 more } or null`
6022 6042
6023 The user's location.6043 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
6024 6044
6025 - `type: "approximate"`6045 - `type: "approximate"`
6026 6046
6100 6120
6101### Returns6121### Returns
6102 6122
6103- `Response object { id, created_at, error, 33 more }`6123- `Response object { id, access_programs, created_at, 34 more }`
6104 6124
6105 - `id: string`6125 - `id: string`
6106 6126
6107 Unique identifier for this Response.6127 Unique identifier for this Response.
6108 6128
6129 - `access_programs: object { cyber } or null`
6130
6131 - `cyber: "standard" or "daybreak_blue" or "daybreak_red"`
6132
6133 The effective Cyber access program used for this response.
6134
6135 - `"standard"`
6136
6137 - `"daybreak_blue"`
6138
6139 - `"daybreak_red"`
6140
6109 - `created_at: number`6141 - `created_at: number`
6110 6142
6111 Unix timestamp (in seconds) of when this Response was created.6143 Unix timestamp (in seconds) of when this Response was created.
7667 7699
7668 - `user_location: optional object { city, country, region, 2 more } or null`7700 - `user_location: optional object { city, country, region, 2 more } or null`
7669 7701
7670 The approximate location of the user.7702 The approximate location of the user. If omitted or null, defaults to the
7703 United States. To avoid this fallback, pass `{"type": "approximate"}` without
7704 location fields. To localize results, provide the relevant location fields.
7671 7705
7672 - `city: optional string or null`7706 - `city: optional string or null`
7673 7707
8487 8521
8488 - `user_location: optional object { type, city, country, 2 more } or null`8522 - `user_location: optional object { type, city, country, 2 more } or null`
8489 8523
8490 The user's location.8524 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
8491 8525
8492 - `type: "approximate"`8526 - `type: "approximate"`
8493 8527
8757 8791
8758 - `user_location: optional object { city, country, region, 2 more } or null`8792 - `user_location: optional object { city, country, region, 2 more } or null`
8759 8793
8760 The approximate location of the user.8794 The approximate location of the user. If omitted or null, defaults to the
8795 United States. To avoid this fallback, pass `{"type": "approximate"}` without
8796 location fields. To localize results, provide the relevant location fields.
8761 8797
8762 - `city: optional string or null`8798 - `city: optional string or null`
8763 8799
9395 9431
9396 - `user_location: optional object { type, city, country, 2 more } or null`9432 - `user_location: optional object { type, city, country, 2 more } or null`
9397 9433
9398 The user's location.9434 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
9399 9435
9400 - `type: "approximate"`9436 - `type: "approximate"`
9401 9437
11593 11629
11594 - `user_location: optional object { city, country, region, 2 more } or null`11630 - `user_location: optional object { city, country, region, 2 more } or null`
11595 11631
11596 The approximate location of the user.11632 The approximate location of the user. If omitted or null, defaults to the
11633 United States. To avoid this fallback, pass `{"type": "approximate"}` without
11634 location fields. To localize results, provide the relevant location fields.
11597 11635
11598 - `city: optional string or null`11636 - `city: optional string or null`
11599 11637
12231 12269
12232 - `user_location: optional object { type, city, country, 2 more } or null`12270 - `user_location: optional object { type, city, country, 2 more } or null`
12233 12271
12234 The user's location.12272 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
12235 12273
12236 - `type: "approximate"`12274 - `type: "approximate"`
12237 12275
12497 12535
12498 - `user_location: optional object { city, country, region, 2 more } or null`12536 - `user_location: optional object { city, country, region, 2 more } or null`
12499 12537
12500 The approximate location of the user.12538 The approximate location of the user. If omitted or null, defaults to the
12539 United States. To avoid this fallback, pass `{"type": "approximate"}` without
12540 location fields. To localize results, provide the relevant location fields.
12501 12541
12502 - `city: optional string or null`12542 - `city: optional string or null`
12503 12543
13135 13175
13136 - `user_location: optional object { type, city, country, 2 more } or null`13176 - `user_location: optional object { type, city, country, 2 more } or null`
13137 13177
13138 The user's location.13178 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
13139 13179
13140 - `type: "approximate"`13180 - `type: "approximate"`
13141 13181
14470 14510
14471 - `user_location: optional object { city, country, region, 2 more } or null`14511 - `user_location: optional object { city, country, region, 2 more } or null`
14472 14512
14473 The approximate location of the user.14513 The approximate location of the user. If omitted or null, defaults to the
14514 United States. To avoid this fallback, pass `{"type": "approximate"}` without
14515 location fields. To localize results, provide the relevant location fields.
14474 14516
14475 - `city: optional string or null`14517 - `city: optional string or null`
14476 14518
15108 15150
15109 - `user_location: optional object { type, city, country, 2 more } or null`15151 - `user_location: optional object { type, city, country, 2 more } or null`
15110 15152
15111 The user's location.15153 The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{"type": "approximate"}` without location fields. To localize results, provide the relevant location fields.
15112 15154
15113 - `type: "approximate"`15155 - `type: "approximate"`
15114 15156
15760```json15802```json
15761{15803{
15762 "id": "id",15804 "id": "id",
15805 "access_programs": {
15806 "cyber": "standard"
15807 },
15763 "created_at": 0,15808 "created_at": 0,
15764 "error": {15809 "error": {
15765 "code": "server_error",15810 "code": "server_error",
15972{16017{
15973 "id": "resp_686eef60237881a2bd1180bb8b13de430e34c516d176ff86",16018 "id": "resp_686eef60237881a2bd1180bb8b13de430e34c516d176ff86",
15974 "object": "response",16019 "object": "response",
16020 "access_programs": null,
15975 "created_at": 1752100704,16021 "created_at": 1752100704,
15976 "status": "completed",16022 "status": "completed",
15977 "completed_at": 1752100705,16023 "completed_at": 1752100705,
16057{16103{
16058 "id": "resp_67ccf4c55fc48190b71bd0463ad3306d09504fb6872380d7",16104 "id": "resp_67ccf4c55fc48190b71bd0463ad3306d09504fb6872380d7",
16059 "object": "response",16105 "object": "response",
16106 "access_programs": null,
16060 "created_at": 1741485253,16107 "created_at": 1741485253,
16061 "status": "completed",16108 "status": "completed",
16062 "completed_at": 1741485254,16109 "completed_at": 1741485254,
16225{16272{
16226 "id": "resp_67ca09c5efe0819096d0511c92b8c890096610f474011cc0",16273 "id": "resp_67ca09c5efe0819096d0511c92b8c890096610f474011cc0",
16227 "object": "response",16274 "object": "response",
16275 "access_programs": null,
16228 "created_at": 1741294021,16276 "created_at": 1741294021,
16229 "status": "completed",16277 "status": "completed",
16230 "completed_at": 1741294022,16278 "completed_at": 1741294022,
16329{16377{
16330 "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",16378 "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41",
16331 "object": "response",16379 "object": "response",
16380 "access_programs": null,
16332 "created_at": 1741476777,16381 "created_at": 1741476777,
16333 "status": "completed",16382 "status": "completed",
16334 "completed_at": 1741476778,16383 "completed_at": 1741476778,
16407{16456{
16408 "id": "resp_67ccd7eca01881908ff0b5146584e408072912b2993db808",16457 "id": "resp_67ccd7eca01881908ff0b5146584e408072912b2993db808",
16409 "object": "response",16458 "object": "response",
16459 "access_programs": null,
16410 "created_at": 1741477868,16460 "created_at": 1741477868,
16411 "status": "completed",16461 "status": "completed",
16412 "completed_at": 1741477869,16462 "completed_at": 1741477869,
16482 16532
16483```json16533```json
16484event: response.created16534event: response.created
16485data: {"type":"response.created","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","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":{}}}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":{}}}
16486 16536
16487event: response.in_progress16537event: response.in_progress
16488data: {"type":"response.in_progress","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","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":{}}}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":{}}}
16489 16539
16490event: response.output_item.added16540event: response.output_item.added
16491data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}16541data: {"type":"response.output_item.added","output_index":0,"item":{"id":"msg_67c9fdcf37fc8190ba82116e33fb28c507b8b0ad4e5eb654","type":"message","status":"in_progress","role":"assistant","content":[]}}
16508data: {"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":[]}]}}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":[]}]}}
16509 16559
16510event: response.completed16560event: response.completed
16511data: {"type":"response.completed","response":{"id":"resp_67c9fdcecf488190bdd9a0409de3a1ec07b8b0ad4e5eb654","object":"response","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":{}}}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":{}}}
16512```16562```
16513 16563
16514### Text input16564### Text input
16529{16579{
16530 "id": "resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b",16580 "id": "resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b",
16531 "object": "response",16581 "object": "response",
16582 "access_programs": null,
16532 "created_at": 1741476542,16583 "created_at": 1741476542,
16533 "status": "completed",16584 "status": "completed",
16534 "completed_at": 1741476543,16585 "completed_at": 1741476543,
16605{16656{
16606 "id": "resp_67ccf18ef5fc8190b16dbee19bc54e5f087bb177ab789d5c",16657 "id": "resp_67ccf18ef5fc8190b16dbee19bc54e5f087bb177ab789d5c",
16607 "object": "response",16658 "object": "response",
16659 "access_programs": null,
16608 "created_at": 1741484430,16660 "created_at": 1741484430,
16609 "status": "completed",16661 "status": "completed",
16610 "completed_at": 1741484431,16662 "completed_at": 1741484431,