SpyBara
Go Premium

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

28 files changed +734 −133. View all changes and history on the product overview
2026
Wed 25 23:57 Tue 24 23:00 Sat 21 23:57 Fri 20 23:59 Thu 19 22:59 Wed 18 22:59 Tue 17 22:57 Mon 16 23:00 Fri 13 23:58 Thu 12 22:57 Wed 11 23:57 Tue 10 23:02 Mon 9 23:02 Sat 7 22:59 Fri 6 23:00 Thu 5 23:00 Wed 4 22:58 Tue 3 22:58
Details

6 6 

7### All Models7### All Models

8 8 

9- `AllModels = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`9- `AllModels = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

10 10 

11 - `string`11 - `string`

12 12 


192 192 

193 - `"gpt-3.5-turbo-16k-0613"`193 - `"gpt-3.5-turbo-16k-0613"`

194 194 

195 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`195 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

196 196 

197 - `"o1-pro"`197 - `"o1-pro"`

198 198 


234 234 

235 - `"gpt-rosalind-research"`235 - `"gpt-rosalind-research"`

236 236 

237 - `"gpt-6-rosalind"`

238 

237### Comparison Filter239### Comparison Filter

238 240 

239- `ComparisonFilter object { key, type, value }`241- `ComparisonFilter object { key, type, value }`


827 829 

828### Responses Model830### Responses Model

829 831 

830- `ResponsesModel = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`832- `ResponsesModel = string or "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 87 more or "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

831 833 

832 - `string`834 - `string`

833 835 


1013 1015 

1014 - `"gpt-3.5-turbo-16k-0613"`1016 - `"gpt-3.5-turbo-16k-0613"`

1015 1017 

1016 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`1018 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

1017 1019 

1018 - `"o1-pro"`1020 - `"o1-pro"`

1019 1021 


1054 - `"gpt-5.6-cyber"`1056 - `"gpt-5.6-cyber"`

1055 1057 

1056 - `"gpt-rosalind-research"`1058 - `"gpt-rosalind-research"`

1059 

1060 - `"gpt-6-rosalind"`

Details

182 182 

183 `minItems: 0`, `maxItems: 2000`183 `minItems: 0`, `maxItems: 2000`

184 184 

185 - `Function object { description, name, parameters, 2 more }`185 - `Function object { description, name, parameters, 3 more }`

186 186 

187 A function defined by the application.187 A function defined by the application.

188 188 


208 208 

209 - `"function"`209 - `"function"`

210 210 

211 - `async: optional boolean (default: false)`

212 

213 Whether the agent continues without waiting for the function result. Defaults to `false`.

214 

211 - `defer_loading: optional boolean (default: false)`215 - `defer_loading: optional boolean (default: false)`

212 216 

213 Whether this function is deferred and discovered through tool search. Defaults to `false`.217 Whether this function is deferred and discovered through tool search. Defaults to `false`.


598 602 

599 `minItems: 0`, `maxItems: 2000`603 `minItems: 0`, `maxItems: 2000`

600 604 

601 - `Function object { defer_loading, description, name, 2 more }`605 - `Function object { defer_loading, description, name, 3 more }`

602 606 

603 A function defined by the application.607 A function defined by the application.

604 608 


628 632 

629 - `"function"`633 - `"function"`

630 634 

635 - `async: optional boolean`

636 

637 Whether the agent continues without waiting for the function result.

638 

631 - `ToolSearch object { type }`639 - `ToolSearch object { type }`

632 640 

633 Discovers deferred function tools and loads them into the model context.641 Discovers deferred function tools and loads them into the model context.


912 "parameters": {920 "parameters": {

913 "foo": "bar"921 "foo": "bar"

914 },922 },

915 "type": "function"923 "type": "function",

924 "async": true

916 }925 }

917 ],926 ],

918 "updated_at": 0,927 "updated_at": 0,

Details

196 196 

197 `minItems: 0`, `maxItems: 2000`197 `minItems: 0`, `maxItems: 2000`

198 198 

199 - `Function object { defer_loading, description, name, 2 more }`199 - `Function object { defer_loading, description, name, 3 more }`

200 200 

201 A function defined by the application.201 A function defined by the application.

202 202 


226 226 

227 - `"function"`227 - `"function"`

228 228 

229 - `async: optional boolean`

230 

231 Whether the agent continues without waiting for the function result.

232 

229 - `ToolSearch object { type }`233 - `ToolSearch object { type }`

230 234 

231 Discovers deferred function tools and loads them into the model context.235 Discovers deferred function tools and loads them into the model context.


530 "parameters": {534 "parameters": {

531 "foo": "bar"535 "foo": "bar"

532 },536 },

533 "type": "function"537 "type": "function",

538 "async": true

534 }539 }

535 ],540 ],

536 "updated_at": 0,541 "updated_at": 0,

Details

176 176 

177 `minItems: 0`, `maxItems: 2000`177 `minItems: 0`, `maxItems: 2000`

178 178 

179 - `Function object { defer_loading, description, name, 2 more }`179 - `Function object { defer_loading, description, name, 3 more }`

180 180 

181 A function defined by the application.181 A function defined by the application.

182 182 


206 206 

207 - `"function"`207 - `"function"`

208 208 

209 - `async: optional boolean`

210 

211 Whether the agent continues without waiting for the function result.

212 

209 - `ToolSearch object { type }`213 - `ToolSearch object { type }`

210 214 

211 Discovers deferred function tools and loads them into the model context.215 Discovers deferred function tools and loads them into the model context.


486 "parameters": {490 "parameters": {

487 "foo": "bar"491 "foo": "bar"

488 },492 },

489 "type": "function"493 "type": "function",

494 "async": true

490 }495 }

491 ],496 ],

492 "updated_at": 0,497 "updated_at": 0,

Details

190 190 

191 `minItems: 0`, `maxItems: 2000`191 `minItems: 0`, `maxItems: 2000`

192 192 

193 - `Function object { description, name, parameters, 2 more }`193 - `Function object { description, name, parameters, 3 more }`

194 194 

195 A function defined by the application.195 A function defined by the application.

196 196 


216 216 

217 - `"function"`217 - `"function"`

218 218 

219 - `async: optional boolean (default: false)`

220 

221 Whether the agent continues without waiting for the function result. Defaults to `false`.

222 

219 - `defer_loading: optional boolean (default: false)`223 - `defer_loading: optional boolean (default: false)`

220 224 

221 Whether this function is deferred and discovered through tool search. Defaults to `false`.225 Whether this function is deferred and discovered through tool search. Defaults to `false`.


606 610 

607 `minItems: 0`, `maxItems: 2000`611 `minItems: 0`, `maxItems: 2000`

608 612 

609 - `Function object { defer_loading, description, name, 2 more }`613 - `Function object { defer_loading, description, name, 3 more }`

610 614 

611 A function defined by the application.615 A function defined by the application.

612 616 


636 640 

637 - `"function"`641 - `"function"`

638 642 

643 - `async: optional boolean`

644 

645 Whether the agent continues without waiting for the function result.

646 

639 - `ToolSearch object { type }`647 - `ToolSearch object { type }`

640 648 

641 Discovers deferred function tools and loads them into the model context.649 Discovers deferred function tools and loads them into the model context.


917 "parameters": {925 "parameters": {

918 "foo": "bar"926 "foo": "bar"

919 },927 },

920 "type": "function"928 "type": "function",

929 "async": true

921 }930 }

922 ],931 ],

923 "updated_at": 0,932 "updated_at": 0,

Details

106 106 

107 - `"agent.session.environment.ready"`107 - `"agent.session.environment.ready"`

108 108 

109- `obfuscation: optional string`

110 

111 Random alphanumeric padding. Present when stream obfuscation is enabled.

112 

113 `minLength: 0`

114 

109### Example115### Example

110 116 

111```json117```json


123 "code": "code",129 "code": "code",

124 "message": "message"130 "message": "message"

125 }131 }

126 }132 },

133 "obfuscation": "obfuscation"

127}134}

128```135```

129 136 


231 238 

232 - `"agent.session.environment.suspended"`239 - `"agent.session.environment.suspended"`

233 240 

241- `obfuscation: optional string`

242 

243 Random alphanumeric padding. Present when stream obfuscation is enabled.

244 

245 `minLength: 0`

246 

234### Example247### Example

235 248 

236```json249```json


248 "code": "code",261 "code": "code",

249 "message": "message"262 "message": "message"

250 }263 }

251 }264 },

265 "obfuscation": "obfuscation"

252}266}

253```267```

254 268 


356 370 

357 - `"agent.session.environment.expired"`371 - `"agent.session.environment.expired"`

358 372 

373- `obfuscation: optional string`

374 

375 Random alphanumeric padding. Present when stream obfuscation is enabled.

376 

377 `minLength: 0`

378 

359### Example379### Example

360 380 

361```json381```json


373 "code": "code",393 "code": "code",

374 "message": "message"394 "message": "message"

375 }395 }

376 }396 },

397 "obfuscation": "obfuscation"

377}398}

378```399```

379 400 


423 444 

424 - `"agent.session.environment.reset"`445 - `"agent.session.environment.reset"`

425 446 

447- `obfuscation: optional string`

448 

449 Random alphanumeric padding. Present when stream obfuscation is enabled.

450 

451 `minLength: 0`

452 

426### Example453### Example

427 454 

428```json455```json


432 "session_id": "session_id",459 "session_id": "session_id",

433 "turn_id": "turn_id",460 "turn_id": "turn_id",

434 "environment_id": "environment_id",461 "environment_id": "environment_id",

435 "reset_count": 0462 "reset_count": 0,

463 "obfuscation": "obfuscation"

436}464}

437```465```

438 466 


488 516 

489 - `"agent.output.command_execution_output.delta"`517 - `"agent.output.command_execution_output.delta"`

490 518 

519- `obfuscation: optional string`

520 

521 Random alphanumeric padding. Present when stream obfuscation is enabled.

522 

523 `minLength: 0`

524 

491### Example525### Example

492 526 

493```json527```json


498 "turn_id": "turn_id",532 "turn_id": "turn_id",

499 "item_id": "item_id",533 "item_id": "item_id",

500 "output_index": 0,534 "output_index": 0,

501 "delta": "delta"535 "delta": "delta",

536 "obfuscation": "obfuscation"

502}537}

503```538```

504 539 


672 707 

673 `minItems: 0`, `maxItems: 2000`708 `minItems: 0`, `maxItems: 2000`

674 709 

675 - `Function object { defer_loading, description, name, 2 more }`710 - `Function object { defer_loading, description, name, 3 more }`

676 711 

677 A function defined by the application.712 A function defined by the application.

678 713 


702 737 

703 - `"function"`738 - `"function"`

704 739 

740 - `async: optional boolean`

741 

742 Whether the agent continues without waiting for the function result.

743 

705 - `ProgrammaticToolCalling object { enabled, type }`744 - `ProgrammaticToolCalling object { enabled, type }`

706 745 

707 Enables calling tools from model-generated code.746 Enables calling tools from model-generated code.


1494 1533 

1495 - `"agent.session.created"`1534 - `"agent.session.created"`

1496 1535 

1536- `obfuscation: optional string`

1537 

1538 Random alphanumeric padding. Present when stream obfuscation is enabled.

1539 

1540 `minLength: 0`

1541 

1497### Example1542### Example

1498 1543 

1499```json1544```json


1564 "parameters": {1609 "parameters": {

1565 "foo": "bar"1610 "foo": "bar"

1566 },1611 },

1567 "defer_loading": true1612 "defer_loading": true,

1613 "async": true

1568 }1614 }

1569 ],1615 ],

1570 "multi_agent": {1616 "multi_agent": {


1595 },1641 },

1596 "total_tokens": 01642 "total_tokens": 0

1597 }1643 }

1598 }1644 },

1645 "obfuscation": "obfuscation"

1599}1646}

1600```1647```

1601 1648 


1865 1912 

1866 - `"agent.session.turn.created"`1913 - `"agent.session.turn.created"`

1867 1914 

1915- `obfuscation: optional string`

1916 

1917 Random alphanumeric padding. Present when stream obfuscation is enabled.

1918 

1919 `minLength: 0`

1920 

1868### Example1921### Example

1869 1922 

1870```json1923```json


1898 },1951 },

1899 "total_tokens": 01952 "total_tokens": 0

1900 }1953 }

1901 }1954 },

1955 "obfuscation": "obfuscation"

1902}1956}

1903```1957```

1904 1958 


2168 2222 

2169 - `"agent.session.turn.in_progress"`2223 - `"agent.session.turn.in_progress"`

2170 2224 

2225- `obfuscation: optional string`

2226 

2227 Random alphanumeric padding. Present when stream obfuscation is enabled.

2228 

2229 `minLength: 0`

2230 

2171### Example2231### Example

2172 2232 

2173```json2233```json


2201 },2261 },

2202 "total_tokens": 02262 "total_tokens": 0

2203 }2263 }

2204 }2264 },

2265 "obfuscation": "obfuscation"

2205}2266}

2206```2267```

2207 2268 


2475 2536 

2476 Token usage by the root agent during the turn, when available.2537 Token usage by the root agent during the turn, when available.

2477 2538 

2539- `obfuscation: optional string`

2540 

2541 Random alphanumeric padding. Present when stream obfuscation is enabled.

2542 

2543 `minLength: 0`

2544 

2478### Example2545### Example

2479 2546 

2480```json2547```json


2519 "reasoning_tokens": 02586 "reasoning_tokens": 0

2520 },2587 },

2521 "total_tokens": 02588 "total_tokens": 0

2522 }2589 },

2590 "obfuscation": "obfuscation"

2523}2591}

2524```2592```

2525 2593 


2793 2861 

2794 Token usage by the root agent during the turn, when available.2862 Token usage by the root agent during the turn, when available.

2795 2863 

2864- `obfuscation: optional string`

2865 

2866 Random alphanumeric padding. Present when stream obfuscation is enabled.

2867 

2868 `minLength: 0`

2869 

2796### Example2870### Example

2797 2871 

2798```json2872```json


2837 "reasoning_tokens": 02911 "reasoning_tokens": 0

2838 },2912 },

2839 "total_tokens": 02913 "total_tokens": 0

2840 }2914 },

2915 "obfuscation": "obfuscation"

2841}2916}

2842```2917```

2843 2918 


3111 3186 

3112 Token usage by the root agent during the turn, when available.3187 Token usage by the root agent during the turn, when available.

3113 3188 

3189- `obfuscation: optional string`

3190 

3191 Random alphanumeric padding. Present when stream obfuscation is enabled.

3192 

3193 `minLength: 0`

3194 

3114### Example3195### Example

3115 3196 

3116```json3197```json


3155 "reasoning_tokens": 03236 "reasoning_tokens": 0

3156 },3237 },

3157 "total_tokens": 03238 "total_tokens": 0

3158 }3239 },

3240 "obfuscation": "obfuscation"

3159}3241}

3160```3242```

3161 3243 


4241 4323 

4242 - `"agent.session.turn.item.added"`4324 - `"agent.session.turn.item.added"`

4243 4325 

4326- `obfuscation: optional string`

4327 

4328 Random alphanumeric padding. Present when stream obfuscation is enabled.

4329 

4330 `minLength: 0`

4331 

4244### Example4332### Example

4245 4333 

4246```json4334```json


4263 ],4351 ],

4264 "status": "in_progress",4352 "status": "in_progress",

4265 "phase": "commentary"4353 "phase": "commentary"

4266 }4354 },

4355 "obfuscation": "obfuscation"

4267}4356}

4268```4357```

4269 4358 


4437 4526 

4438 `minItems: 0`, `maxItems: 2000`4527 `minItems: 0`, `maxItems: 2000`

4439 4528 

4440 - `Function object { defer_loading, description, name, 2 more }`4529 - `Function object { defer_loading, description, name, 3 more }`

4441 4530 

4442 A function defined by the application.4531 A function defined by the application.

4443 4532 


4467 4556 

4468 - `"function"`4557 - `"function"`

4469 4558 

4559 - `async: optional boolean`

4560 

4561 Whether the agent continues without waiting for the function result.

4562 

4470 - `ProgrammaticToolCalling object { enabled, type }`4563 - `ProgrammaticToolCalling object { enabled, type }`

4471 4564 

4472 Enables calling tools from model-generated code.4565 Enables calling tools from model-generated code.


5259 5352 

5260 - `"agent.session.idle"`5353 - `"agent.session.idle"`

5261 5354 

5355- `obfuscation: optional string`

5356 

5357 Random alphanumeric padding. Present when stream obfuscation is enabled.

5358 

5359 `minLength: 0`

5360 

5262### Example5361### Example

5263 5362 

5264```json5363```json


5329 "parameters": {5428 "parameters": {

5330 "foo": "bar"5429 "foo": "bar"

5331 },5430 },

5332 "defer_loading": true5431 "defer_loading": true,

5432 "async": true

5333 }5433 }

5334 ],5434 ],

5335 "multi_agent": {5435 "multi_agent": {


5360 },5460 },

5361 "total_tokens": 05461 "total_tokens": 0

5362 }5462 }

5363 }5463 },

5464 "obfuscation": "obfuscation"

5364}5465}

5365```5466```

5366 5467 


5534 5635 

5535 `minItems: 0`, `maxItems: 2000`5636 `minItems: 0`, `maxItems: 2000`

5536 5637 

5537 - `Function object { defer_loading, description, name, 2 more }`5638 - `Function object { defer_loading, description, name, 3 more }`

5538 5639 

5539 A function defined by the application.5640 A function defined by the application.

5540 5641 


5564 5665 

5565 - `"function"`5666 - `"function"`

5566 5667 

5668 - `async: optional boolean`

5669 

5670 Whether the agent continues without waiting for the function result.

5671 

5567 - `ProgrammaticToolCalling object { enabled, type }`5672 - `ProgrammaticToolCalling object { enabled, type }`

5568 5673 

5569 Enables calling tools from model-generated code.5674 Enables calling tools from model-generated code.


6356 6461 

6357 - `"agent.session.in_progress"`6462 - `"agent.session.in_progress"`

6358 6463 

6464- `obfuscation: optional string`

6465 

6466 Random alphanumeric padding. Present when stream obfuscation is enabled.

6467 

6468 `minLength: 0`

6469 

6359### Example6470### Example

6360 6471 

6361```json6472```json


6426 "parameters": {6537 "parameters": {

6427 "foo": "bar"6538 "foo": "bar"

6428 },6539 },

6429 "defer_loading": true6540 "defer_loading": true,

6541 "async": true

6430 }6542 }

6431 ],6543 ],

6432 "multi_agent": {6544 "multi_agent": {


6457 },6569 },

6458 "total_tokens": 06570 "total_tokens": 0

6459 }6571 }

6460 }6572 },

6573 "obfuscation": "obfuscation"

6461}6574}

6462```6575```

6463 6576 


6631 6744 

6632 `minItems: 0`, `maxItems: 2000`6745 `minItems: 0`, `maxItems: 2000`

6633 6746 

6634 - `Function object { defer_loading, description, name, 2 more }`6747 - `Function object { defer_loading, description, name, 3 more }`

6635 6748 

6636 A function defined by the application.6749 A function defined by the application.

6637 6750 


6661 6774 

6662 - `"function"`6775 - `"function"`

6663 6776 

6777 - `async: optional boolean`

6778 

6779 Whether the agent continues without waiting for the function result.

6780 

6664 - `ProgrammaticToolCalling object { enabled, type }`6781 - `ProgrammaticToolCalling object { enabled, type }`

6665 6782 

6666 Enables calling tools from model-generated code.6783 Enables calling tools from model-generated code.


7453 7570 

7454 - `"agent.session.requires_action"`7571 - `"agent.session.requires_action"`

7455 7572 

7573- `obfuscation: optional string`

7574 

7575 Random alphanumeric padding. Present when stream obfuscation is enabled.

7576 

7577 `minLength: 0`

7578 

7456### Example7579### Example

7457 7580 

7458```json7581```json


7523 "parameters": {7646 "parameters": {

7524 "foo": "bar"7647 "foo": "bar"

7525 },7648 },

7526 "defer_loading": true7649 "defer_loading": true,

7650 "async": true

7527 }7651 }

7528 ],7652 ],

7529 "multi_agent": {7653 "multi_agent": {


7554 },7678 },

7555 "total_tokens": 07679 "total_tokens": 0

7556 }7680 }

7557 }7681 },

7682 "obfuscation": "obfuscation"

7558}7683}

7559```7684```

7560 7685 


7728 7853 

7729 `minItems: 0`, `maxItems: 2000`7854 `minItems: 0`, `maxItems: 2000`

7730 7855 

7731 - `Function object { defer_loading, description, name, 2 more }`7856 - `Function object { defer_loading, description, name, 3 more }`

7732 7857 

7733 A function defined by the application.7858 A function defined by the application.

7734 7859 


7758 7883 

7759 - `"function"`7884 - `"function"`

7760 7885 

7886 - `async: optional boolean`

7887 

7888 Whether the agent continues without waiting for the function result.

7889 

7761 - `ProgrammaticToolCalling object { enabled, type }`7890 - `ProgrammaticToolCalling object { enabled, type }`

7762 7891 

7763 Enables calling tools from model-generated code.7892 Enables calling tools from model-generated code.


8550 8679 

8551 - `"agent.session.failed"`8680 - `"agent.session.failed"`

8552 8681 

8682- `obfuscation: optional string`

8683 

8684 Random alphanumeric padding. Present when stream obfuscation is enabled.

8685 

8686 `minLength: 0`

8687 

8553### Example8688### Example

8554 8689 

8555```json8690```json


8620 "parameters": {8755 "parameters": {

8621 "foo": "bar"8756 "foo": "bar"

8622 },8757 },

8623 "defer_loading": true8758 "defer_loading": true,

8759 "async": true

8624 }8760 }

8625 ],8761 ],

8626 "multi_agent": {8762 "multi_agent": {


8651 },8787 },

8652 "total_tokens": 08788 "total_tokens": 0

8653 }8789 }

8654 }8790 },

8791 "obfuscation": "obfuscation"

8655}8792}

8656```8793```

8657 8794 


8759 8896 

8760 - `"agent.session.environment.pending"`8897 - `"agent.session.environment.pending"`

8761 8898 

8899- `obfuscation: optional string`

8900 

8901 Random alphanumeric padding. Present when stream obfuscation is enabled.

8902 

8903 `minLength: 0`

8904 

8762### Example8905### Example

8763 8906 

8764```json8907```json


8776 "code": "code",8919 "code": "code",

8777 "message": "message"8920 "message": "message"

8778 }8921 }

8779 }8922 },

8923 "obfuscation": "obfuscation"

8780}8924}

8781```8925```

8782 8926 


8884 9028 

8885 - `"agent.session.environment.connected"`9029 - `"agent.session.environment.connected"`

8886 9030 

9031- `obfuscation: optional string`

9032 

9033 Random alphanumeric padding. Present when stream obfuscation is enabled.

9034 

9035 `minLength: 0`

9036 

8887### Example9037### Example

8888 9038 

8889```json9039```json


8901 "code": "code",9051 "code": "code",

8902 "message": "message"9052 "message": "message"

8903 }9053 }

8904 }9054 },

9055 "obfuscation": "obfuscation"

8905}9056}

8906```9057```

8907 9058 


9009 9160 

9010 - `"agent.session.environment.disconnected"`9161 - `"agent.session.environment.disconnected"`

9011 9162 

9163- `obfuscation: optional string`

9164 

9165 Random alphanumeric padding. Present when stream obfuscation is enabled.

9166 

9167 `minLength: 0`

9168 

9012### Example9169### Example

9013 9170 

9014```json9171```json


9026 "code": "code",9183 "code": "code",

9027 "message": "message"9184 "message": "message"

9028 }9185 }

9029 }9186 },

9187 "obfuscation": "obfuscation"

9030}9188}

9031```9189```

9032 9190 


9134 9292 

9135 - `"agent.session.environment.failed"`9293 - `"agent.session.environment.failed"`

9136 9294 

9295- `obfuscation: optional string`

9296 

9297 Random alphanumeric padding. Present when stream obfuscation is enabled.

9298 

9299 `minLength: 0`

9300 

9137### Example9301### Example

9138 9302 

9139```json9303```json


9151 "code": "code",9315 "code": "code",

9152 "message": "message"9316 "message": "message"

9153 }9317 }

9154 }9318 },

9319 "obfuscation": "obfuscation"

9155}9320}

9156```9321```

9157 9322 


9273 9438 

9274 - `"agent.session.subagent.created"`9439 - `"agent.session.subagent.created"`

9275 9440 

9441- `obfuscation: optional string`

9442 

9443 Random alphanumeric padding. Present when stream obfuscation is enabled.

9444 

9445 `minLength: 0`

9446 

9276### Example9447### Example

9277 9448 

9278```json9449```json


9294 "status": "active",9465 "status": "active",

9295 "opened_at": 0,9466 "opened_at": 0,

9296 "closed_at": 09467 "closed_at": 0

9297 }9468 },

9469 "obfuscation": "obfuscation"

9298}9470}

9299```9471```

9300 9472 


9416 9588 

9417 - `"agent.session.subagent.active"`9589 - `"agent.session.subagent.active"`

9418 9590 

9591- `obfuscation: optional string`

9592 

9593 Random alphanumeric padding. Present when stream obfuscation is enabled.

9594 

9595 `minLength: 0`

9596 

9419### Example9597### Example

9420 9598 

9421```json9599```json


9437 "status": "active",9615 "status": "active",

9438 "opened_at": 0,9616 "opened_at": 0,

9439 "closed_at": 09617 "closed_at": 0

9440 }9618 },

9619 "obfuscation": "obfuscation"

9441}9620}

9442```9621```

9443 9622 


9559 9738 

9560 - `"agent.session.subagent.closed"`9739 - `"agent.session.subagent.closed"`

9561 9740 

9741- `obfuscation: optional string`

9742 

9743 Random alphanumeric padding. Present when stream obfuscation is enabled.

9744 

9745 `minLength: 0`

9746 

9562### Example9747### Example

9563 9748 

9564```json9749```json


9580 "status": "active",9765 "status": "active",

9581 "opened_at": 0,9766 "opened_at": 0,

9582 "closed_at": 09767 "closed_at": 0

9583 }9768 },

9769 "obfuscation": "obfuscation"

9584}9770}

9585```9771```

9586 9772 


10440 10626 

10441 - `"agent.session.turn.item.done"`10627 - `"agent.session.turn.item.done"`

10442 10628 

10629- `obfuscation: optional string`

10630 

10631 Random alphanumeric padding. Present when stream obfuscation is enabled.

10632 

10633 `minLength: 0`

10634 

10443### Example10635### Example

10444 10636 

10445```json10637```json


10462 }10654 }

10463 ],10655 ],

10464 "phase": "commentary"10656 "phase": "commentary"

10465 }10657 },

10658 "obfuscation": "obfuscation"

10466}10659}

10467```10660```

10468 10661 


10534 10727 

10535 - `"agent.session.turn.content_part.added"`10728 - `"agent.session.turn.content_part.added"`

10536 10729 

10730- `obfuscation: optional string`

10731 

10732 Random alphanumeric padding. Present when stream obfuscation is enabled.

10733 

10734 `minLength: 0`

10735 

10537### Example10736### Example

10538 10737 

10539```json10738```json


10548 "part": {10747 "part": {

10549 "type": "output_text",10748 "type": "output_text",

10550 "text": "text"10749 "text": "text"

10551 }10750 },

10751 "obfuscation": "obfuscation"

10552}10752}

10553```10753```

10554 10754 


10620 10820 

10621 - `"agent.session.turn.content_part.done"`10821 - `"agent.session.turn.content_part.done"`

10622 10822 

10823- `obfuscation: optional string`

10824 

10825 Random alphanumeric padding. Present when stream obfuscation is enabled.

10826 

10827 `minLength: 0`

10828 

10623### Example10829### Example

10624 10830 

10625```json10831```json


10634 "part": {10840 "part": {

10635 "type": "output_text",10841 "type": "output_text",

10636 "text": "text"10842 "text": "text"

10637 }10843 },

10844 "obfuscation": "obfuscation"

10638}10845}

10639```10846```

10640 10847 


10696 10903 

10697 - `"agent.session.turn.output_text.delta"`10904 - `"agent.session.turn.output_text.delta"`

10698 10905 

10906- `obfuscation: optional string`

10907 

10908 Random alphanumeric padding. Present when stream obfuscation is enabled.

10909 

10910 `minLength: 0`

10911 

10699### Example10912### Example

10700 10913 

10701```json10914```json


10707 "item_id": "item_id",10920 "item_id": "item_id",

10708 "output_index": 0,10921 "output_index": 0,

10709 "content_index": 0,10922 "content_index": 0,

10710 "delta": "delta"10923 "delta": "delta",

10924 "obfuscation": "obfuscation"

10711}10925}

10712```10926```

10713 10927 


10769 10983 

10770 - `"agent.session.turn.output_text.done"`10984 - `"agent.session.turn.output_text.done"`

10771 10985 

10986- `obfuscation: optional string`

10987 

10988 Random alphanumeric padding. Present when stream obfuscation is enabled.

10989 

10990 `minLength: 0`

10991 

10772### Example10992### Example

10773 10993 

10774```json10994```json


10780 "item_id": "item_id",11000 "item_id": "item_id",

10781 "output_index": 0,11001 "output_index": 0,

10782 "content_index": 0,11002 "content_index": 0,

10783 "text": "text"11003 "text": "text",

11004 "obfuscation": "obfuscation"

10784}11005}

10785```11006```

10786 11007 


10852 11073 

10853 - `"agent.session.turn.reasoning_summary_part.added"`11074 - `"agent.session.turn.reasoning_summary_part.added"`

10854 11075 

11076- `obfuscation: optional string`

11077 

11078 Random alphanumeric padding. Present when stream obfuscation is enabled.

11079 

11080 `minLength: 0`

11081 

10855### Example11082### Example

10856 11083 

10857```json11084```json


10866 "part": {11093 "part": {

10867 "type": "summary_text",11094 "type": "summary_text",

10868 "text": "text"11095 "text": "text"

10869 }11096 },

11097 "obfuscation": "obfuscation"

10870}11098}

10871```11099```

10872 11100 


10944 11172 

10945 - `"agent.session.turn.reasoning_summary_part.done"`11173 - `"agent.session.turn.reasoning_summary_part.done"`

10946 11174 

11175- `obfuscation: optional string`

11176 

11177 Random alphanumeric padding. Present when stream obfuscation is enabled.

11178 

11179 `minLength: 0`

11180 

10947### Example11181### Example

10948 11182 

10949```json11183```json


10959 "type": "summary_text",11193 "type": "summary_text",

10960 "text": "text"11194 "text": "text"

10961 },11195 },

10962 "status": "incomplete"11196 "status": "incomplete",

11197 "obfuscation": "obfuscation"

10963}11198}

10964```11199```

10965 11200 


11021 11256 

11022 - `"agent.session.turn.reasoning_summary_text.delta"`11257 - `"agent.session.turn.reasoning_summary_text.delta"`

11023 11258 

11259- `obfuscation: optional string`

11260 

11261 Random alphanumeric padding. Present when stream obfuscation is enabled.

11262 

11263 `minLength: 0`

11264 

11024### Example11265### Example

11025 11266 

11026```json11267```json


11032 "item_id": "item_id",11273 "item_id": "item_id",

11033 "output_index": 0,11274 "output_index": 0,

11034 "summary_index": 0,11275 "summary_index": 0,

11035 "delta": "delta"11276 "delta": "delta",

11277 "obfuscation": "obfuscation"

11036}11278}

11037```11279```

11038 11280 


11094 11336 

11095 - `"agent.session.turn.reasoning_summary_text.done"`11337 - `"agent.session.turn.reasoning_summary_text.done"`

11096 11338 

11339- `obfuscation: optional string`

11340 

11341 Random alphanumeric padding. Present when stream obfuscation is enabled.

11342 

11343 `minLength: 0`

11344 

11097### Example11345### Example

11098 11346 

11099```json11347```json


11105 "item_id": "item_id",11353 "item_id": "item_id",

11106 "output_index": 0,11354 "output_index": 0,

11107 "summary_index": 0,11355 "summary_index": 0,

11108 "text": "text"11356 "text": "text",

11357 "obfuscation": "obfuscation"

11109}11358}

11110```11359```

11111 11360 


11165 11414 

11166 - `"error"`11415 - `"error"`

11167 11416 

11417- `obfuscation: optional string`

11418 

11419 Random alphanumeric padding. Present when stream obfuscation is enabled.

11420 

11421 `minLength: 0`

11422 

11168### Example11423### Example

11169 11424 

11170```json11425```json

Details

572 572 

573 `minItems: 0`, `maxItems: 16384`573 `minItems: 0`, `maxItems: 16384`

574 574 

575 - `Function object { description, name, parameters, 2 more }`575 - `Function object { description, name, parameters, 3 more }`

576 576 

577 A function defined by the application.577 A function defined by the application.

578 578 


598 598 

599 - `"function"`599 - `"function"`

600 600 

601 - `async: optional boolean (default: false)`

602 

603 Whether the agent continues without waiting for the function result. Defaults to `false`.

604 

601 - `defer_loading: optional boolean (default: false)`605 - `defer_loading: optional boolean (default: false)`

602 606 

603 Whether this function is deferred and discovered through tool search. Defaults to `false`.607 Whether this function is deferred and discovered through tool search. Defaults to `false`.


1136 1140 

1137 `minItems: 0`, `maxItems: 2000`1141 `minItems: 0`, `maxItems: 2000`

1138 1142 

1139 - `Function object { defer_loading, description, name, 2 more }`1143 - `Function object { defer_loading, description, name, 3 more }`

1140 1144 

1141 A function defined by the application.1145 A function defined by the application.

1142 1146 


1166 1170 

1167 - `"function"`1171 - `"function"`

1168 1172 

1173 - `async: optional boolean`

1174 

1175 Whether the agent continues without waiting for the function result.

1176 

1169 - `ProgrammaticToolCalling object { enabled, type }`1177 - `ProgrammaticToolCalling object { enabled, type }`

1170 1178 

1171 Enables calling tools from model-generated code.1179 Enables calling tools from model-generated code.


1885 "parameters": {1893 "parameters": {

1886 "foo": "bar"1894 "foo": "bar"

1887 },1895 },

1888 "type": "function"1896 "type": "function",

1897 "async": true

1889 }1898 }

1890 ],1899 ],

1891 "compaction": {1900 "compaction": {

Details

262 262 

263 `minItems: 0`, `maxItems: 2000`263 `minItems: 0`, `maxItems: 2000`

264 264 

265 - `Function object { defer_loading, description, name, 2 more }`265 - `Function object { defer_loading, description, name, 3 more }`

266 266 

267 A function defined by the application.267 A function defined by the application.

268 268 


292 292 

293 - `"function"`293 - `"function"`

294 294 

295 - `async: optional boolean`

296 

297 Whether the agent continues without waiting for the function result.

298 

295 - `ProgrammaticToolCalling object { enabled, type }`299 - `ProgrammaticToolCalling object { enabled, type }`

296 300 

297 Enables calling tools from model-generated code.301 Enables calling tools from model-generated code.


1011 "parameters": {1015 "parameters": {

1012 "foo": "bar"1016 "foo": "bar"

1013 },1017 },

1014 "type": "function"1018 "type": "function",

1019 "async": true

1015 }1020 }

1016 ],1021 ],

1017 "compaction": {1022 "compaction": {

Details

234 234 

235 `minItems: 0`, `maxItems: 2000`235 `minItems: 0`, `maxItems: 2000`

236 236 

237 - `Function object { defer_loading, description, name, 2 more }`237 - `Function object { defer_loading, description, name, 3 more }`

238 238 

239 A function defined by the application.239 A function defined by the application.

240 240 


264 264 

265 - `"function"`265 - `"function"`

266 266 

267 - `async: optional boolean`

268 

269 Whether the agent continues without waiting for the function result.

270 

267 - `ProgrammaticToolCalling object { enabled, type }`271 - `ProgrammaticToolCalling object { enabled, type }`

268 272 

269 Enables calling tools from model-generated code.273 Enables calling tools from model-generated code.


960 "parameters": {964 "parameters": {

961 "foo": "bar"965 "foo": "bar"

962 },966 },

963 "type": "function"967 "type": "function",

968 "async": true

964 }969 }

965 ],970 ],

966 "compaction": {971 "compaction": {

Details

234 234 

235 `minItems: 0`, `maxItems: 2000`235 `minItems: 0`, `maxItems: 2000`

236 236 

237 - `Function object { defer_loading, description, name, 2 more }`237 - `Function object { defer_loading, description, name, 3 more }`

238 238 

239 A function defined by the application.239 A function defined by the application.

240 240 


264 264 

265 - `"function"`265 - `"function"`

266 266 

267 - `async: optional boolean`

268 

269 Whether the agent continues without waiting for the function result.

270 

267 - `ProgrammaticToolCalling object { enabled, type }`271 - `ProgrammaticToolCalling object { enabled, type }`

268 272 

269 Enables calling tools from model-generated code.273 Enables calling tools from model-generated code.


960 "parameters": {964 "parameters": {

961 "foo": "bar"965 "foo": "bar"

962 },966 },

963 "type": "function"967 "type": "function",

968 "async": true

964 }969 }

965 ],970 ],

966 "compaction": {971 "compaction": {

Details

234 234 

235 `minItems: 0`, `maxItems: 2000`235 `minItems: 0`, `maxItems: 2000`

236 236 

237 - `Function object { defer_loading, description, name, 2 more }`237 - `Function object { defer_loading, description, name, 3 more }`

238 238 

239 A function defined by the application.239 A function defined by the application.

240 240 


264 264 

265 - `"function"`265 - `"function"`

266 266 

267 - `async: optional boolean`

268 

269 Whether the agent continues without waiting for the function result.

270 

267 - `ProgrammaticToolCalling object { enabled, type }`271 - `ProgrammaticToolCalling object { enabled, type }`

268 272 

269 Enables calling tools from model-generated code.273 Enables calling tools from model-generated code.


959 "parameters": {963 "parameters": {

960 "foo": "bar"964 "foo": "bar"

961 },965 },

962 "type": "function"966 "type": "function",

967 "async": true

963 }968 }

964 ],969 ],

965 "compaction": {970 "compaction": {

Details

580 580 

581 `minItems: 0`, `maxItems: 16384`581 `minItems: 0`, `maxItems: 16384`

582 582 

583 - `Function object { description, name, parameters, 2 more }`583 - `Function object { description, name, parameters, 3 more }`

584 584 

585 A function defined by the application.585 A function defined by the application.

586 586 


606 606 

607 - `"function"`607 - `"function"`

608 608 

609 - `async: optional boolean (default: false)`

610 

611 Whether the agent continues without waiting for the function result. Defaults to `false`.

612 

609 - `defer_loading: optional boolean (default: false)`613 - `defer_loading: optional boolean (default: false)`

610 614 

611 Whether this function is deferred and discovered through tool search. Defaults to `false`.615 Whether this function is deferred and discovered through tool search. Defaults to `false`.


1110 1114 

1111 `minItems: 0`, `maxItems: 2000`1115 `minItems: 0`, `maxItems: 2000`

1112 1116 

1113 - `Function object { defer_loading, description, name, 2 more }`1117 - `Function object { defer_loading, description, name, 3 more }`

1114 1118 

1115 A function defined by the application.1119 A function defined by the application.

1116 1120 


1140 1144 

1141 - `"function"`1145 - `"function"`

1142 1146 

1147 - `async: optional boolean`

1148 

1149 Whether the agent continues without waiting for the function result.

1150 

1143 - `ProgrammaticToolCalling object { enabled, type }`1151 - `ProgrammaticToolCalling object { enabled, type }`

1144 1152 

1145 Enables calling tools from model-generated code.1153 Enables calling tools from model-generated code.


1837 "parameters": {1845 "parameters": {

1838 "foo": "bar"1846 "foo": "bar"

1839 },1847 },

1840 "type": "function"1848 "type": "function",

1849 "async": true

1841 }1850 }

1842 ],1851 ],

1843 "compaction": {1852 "compaction": {

Details

310 310 

311 `minItems: 0`, `maxItems: 2000`311 `minItems: 0`, `maxItems: 2000`

312 312 

313 - `Function object { defer_loading, description, name, 2 more }`313 - `Function object { defer_loading, description, name, 3 more }`

314 314 

315 A function defined by the application.315 A function defined by the application.

316 316 


340 340 

341 - `"function"`341 - `"function"`

342 342 

343 - `async: optional boolean`

344 

345 Whether the agent continues without waiting for the function result.

346 

343 - `ProgrammaticToolCalling object { enabled, type }`347 - `ProgrammaticToolCalling object { enabled, type }`

344 348 

345 Enables calling tools from model-generated code.349 Enables calling tools from model-generated code.

Details

338 338 

339 `minItems: 0`, `maxItems: 2000`339 `minItems: 0`, `maxItems: 2000`

340 340 

341 - `Function object { defer_loading, description, name, 2 more }`341 - `Function object { defer_loading, description, name, 3 more }`

342 342 

343 A function defined by the application.343 A function defined by the application.

344 344 


368 368 

369 - `"function"`369 - `"function"`

370 370 

371 - `async: optional boolean`

372 

373 Whether the agent continues without waiting for the function result.

374 

371 - `ProgrammaticToolCalling object { enabled, type }`375 - `ProgrammaticToolCalling object { enabled, type }`

372 376 

373 Enables calling tools from model-generated code.377 Enables calling tools from model-generated code.

Details

314 314 

315 `minItems: 0`, `maxItems: 2000`315 `minItems: 0`, `maxItems: 2000`

316 316 

317 - `Function object { defer_loading, description, name, 2 more }`317 - `Function object { defer_loading, description, name, 3 more }`

318 318 

319 A function defined by the application.319 A function defined by the application.

320 320 


344 344 

345 - `"function"`345 - `"function"`

346 346 

347 - `async: optional boolean`

348 

349 Whether the agent continues without waiting for the function result.

350 

347 - `ProgrammaticToolCalling object { enabled, type }`351 - `ProgrammaticToolCalling object { enabled, type }`

348 352 

349 Enables calling tools from model-generated code.353 Enables calling tools from model-generated code.

Details

484 484 

485 `minItems: 0`, `maxItems: 16384`485 `minItems: 0`, `maxItems: 16384`

486 486 

487 - `Function object { description, name, parameters, 2 more }`487 - `Function object { description, name, parameters, 3 more }`

488 488 

489 A function defined by the application.489 A function defined by the application.

490 490 


510 510 

511 - `"function"`511 - `"function"`

512 512 

513 - `async: optional boolean (default: false)`

514 

515 Whether the agent continues without waiting for the function result. Defaults to `false`.

516 

513 - `defer_loading: optional boolean (default: false)`517 - `defer_loading: optional boolean (default: false)`

514 518 

515 Whether this function is deferred and discovered through tool search. Defaults to `false`.519 Whether this function is deferred and discovered through tool search. Defaults to `false`.


836 840 

837 Whether to stream session events as server-sent events. Defaults to `false`.841 Whether to stream session events as server-sent events. Defaults to `false`.

838 842 

843- `stream_options: optional object { include_obfuscation }`

844 

845 Options for the event stream. Only allowed when `stream` is `true`.

846 

847 - `include_obfuscation: optional boolean (default: true)`

848 

849 Whether to include obfuscation padding in events on this connection. Defaults to `true`.

850 

839- `vault_ids: optional array of string or null`851- `vault_ids: optional array of string or null`

840 852 

841 The IDs of vaults made available to the session.853 The IDs of vaults made available to the session.


998 1010 

999 `minItems: 0`, `maxItems: 2000`1011 `minItems: 0`, `maxItems: 2000`

1000 1012 

1001 - `Function object { defer_loading, description, name, 2 more }`1013 - `Function object { defer_loading, description, name, 3 more }`

1002 1014 

1003 A function defined by the application.1015 A function defined by the application.

1004 1016 


1028 1040 

1029 - `"function"`1041 - `"function"`

1030 1042 

1043 - `async: optional boolean`

1044 

1045 Whether the agent continues without waiting for the function result.

1046 

1031 - `ProgrammaticToolCalling object { enabled, type }`1047 - `ProgrammaticToolCalling object { enabled, type }`

1032 1048 

1033 Enables calling tools from model-generated code.1049 Enables calling tools from model-generated code.


1861 "parameters": {1877 "parameters": {

1862 "foo": "bar"1878 "foo": "bar"

1863 },1879 },

1864 "type": "function"1880 "type": "function",

1881 "async": true

1865 }1882 }

1866 ],1883 ],

1867 "compaction": {1884 "compaction": {

Details

200 200 

201 `minItems: 0`, `maxItems: 2000`201 `minItems: 0`, `maxItems: 2000`

202 202 

203 - `Function object { defer_loading, description, name, 2 more }`203 - `Function object { defer_loading, description, name, 3 more }`

204 204 

205 A function defined by the application.205 A function defined by the application.

206 206 


230 230 

231 - `"function"`231 - `"function"`

232 232 

233 - `async: optional boolean`

234 

235 Whether the agent continues without waiting for the function result.

236 

233 - `ProgrammaticToolCalling object { enabled, type }`237 - `ProgrammaticToolCalling object { enabled, type }`

234 238 

235 Enables calling tools from model-generated code.239 Enables calling tools from model-generated code.


1081 "parameters": {1085 "parameters": {

1082 "foo": "bar"1086 "foo": "bar"

1083 },1087 },

1084 "type": "function"1088 "type": "function",

1089 "async": true

1085 }1090 }

1086 ],1091 ],

1087 "compaction": {1092 "compaction": {

Details

170 170 

171 `minItems: 0`, `maxItems: 2000`171 `minItems: 0`, `maxItems: 2000`

172 172 

173 - `Function object { defer_loading, description, name, 2 more }`173 - `Function object { defer_loading, description, name, 3 more }`

174 174 

175 A function defined by the application.175 A function defined by the application.

176 176 


200 200 

201 - `"function"`201 - `"function"`

202 202 

203 - `async: optional boolean`

204 

205 Whether the agent continues without waiting for the function result.

206 

203 - `ProgrammaticToolCalling object { enabled, type }`207 - `ProgrammaticToolCalling object { enabled, type }`

204 208 

205 Enables calling tools from model-generated code.209 Enables calling tools from model-generated code.


1027 "parameters": {1031 "parameters": {

1028 "foo": "bar"1032 "foo": "bar"

1029 },1033 },

1030 "type": "function"1034 "type": "function",

1035 "async": true

1031 }1036 }

1032 ],1037 ],

1033 "compaction": {1038 "compaction": {

Details

84 84 

85 `minItems: 0`, `maxItems: 16384`85 `minItems: 0`, `maxItems: 16384`

86 86 

87 - `Function object { description, name, parameters, 2 more }`87 - `Function object { description, name, parameters, 3 more }`

88 88 

89 A function defined by the application.89 A function defined by the application.

90 90 


110 110 

111 - `"function"`111 - `"function"`

112 112 

113 - `async: optional boolean (default: false)`

114 

115 Whether the agent continues without waiting for the function result. Defaults to `false`.

116 

113 - `defer_loading: optional boolean (default: false)`117 - `defer_loading: optional boolean (default: false)`

114 118 

115 Whether this function is deferred and discovered through tool search. Defaults to `false`.119 Whether this function is deferred and discovered through tool search. Defaults to `false`.


520 524 

521 `minItems: 0`, `maxItems: 2000`525 `minItems: 0`, `maxItems: 2000`

522 526 

523 - `Function object { defer_loading, description, name, 2 more }`527 - `Function object { defer_loading, description, name, 3 more }`

524 528 

525 A function defined by the application.529 A function defined by the application.

526 530 


550 554 

551 - `"function"`555 - `"function"`

552 556 

557 - `async: optional boolean`

558 

559 Whether the agent continues without waiting for the function result.

560 

553 - `ProgrammaticToolCalling object { enabled, type }`561 - `ProgrammaticToolCalling object { enabled, type }`

554 562 

555 Enables calling tools from model-generated code.563 Enables calling tools from model-generated code.


1378 "parameters": {1386 "parameters": {

1379 "foo": "bar"1387 "foo": "bar"

1380 },1388 },

1381 "type": "function"1389 "type": "function",

1390 "async": true

1382 }1391 }

1383 ],1392 ],

1384 "compaction": {1393 "compaction": {

Details

14 14 

15 `minLength: 0`, `maxLength: 1048576`15 `minLength: 0`, `maxLength: 1048576`

16 16 

17### Query Parameters

18 

19- `include_obfuscation: optional boolean (default: true)`

20 

21 Whether to include obfuscation padding in events on this connection. Defaults to `true`.

22 

17### Returns23### Returns

18 24 

19- `AgentSessionEvent = AgentSessionErrorEvent or AgentSessionEnvironmentReadyEvent or AgentSessionEnvironmentSuspendedEvent or 30 more`25- `AgentSessionEvent = AgentSessionErrorEvent or AgentSessionEnvironmentReadyEvent or AgentSessionEnvironmentSuspendedEvent or 30 more`

20 26 

21 An event emitted by a Managed Agents session.27 An event emitted by a Managed Agents session.

22 28 

23 - `AgentSessionErrorEvent object { error, event_id, session_id, type }`29 - `AgentSessionErrorEvent object { error, event_id, session_id, 2 more }`

24 30 

25 Emitted when a turn or session fails.31 Emitted when a turn or session fails.

26 32 


70 76 

71 - `"error"`77 - `"error"`

72 78 

73 - `AgentSessionEnvironmentReadyEvent object { environment, event_id, session_id, 2 more }`79 - `obfuscation: optional string`

80 

81 Random alphanumeric padding. Present when stream obfuscation is enabled.

82 

83 `minLength: 0`

84 

85 - `AgentSessionEnvironmentReadyEvent object { environment, event_id, session_id, 3 more }`

74 86 

75 Emitted when a hosted session environment is ready to connect.87 Emitted when a hosted session environment is ready to connect.

76 88 


168 180 

169 - `"agent.session.environment.ready"`181 - `"agent.session.environment.ready"`

170 182 

171 - `AgentSessionEnvironmentSuspendedEvent object { environment, event_id, session_id, 2 more }`183 - `obfuscation: optional string`

184 

185 Random alphanumeric padding. Present when stream obfuscation is enabled.

186 

187 `minLength: 0`

188 

189 - `AgentSessionEnvironmentSuspendedEvent object { environment, event_id, session_id, 3 more }`

172 190 

173 Emitted after an idle hosted session environment is checkpointed and stopped.191 Emitted after an idle hosted session environment is checkpointed and stopped.

174 192 


200 218 

201 - `"agent.session.environment.suspended"`219 - `"agent.session.environment.suspended"`

202 220 

203 - `AgentSessionEnvironmentExpiredEvent object { environment, event_id, session_id, 2 more }`221 - `obfuscation: optional string`

222 

223 Random alphanumeric padding. Present when stream obfuscation is enabled.

224 

225 `minLength: 0`

226 

227 - `AgentSessionEnvironmentExpiredEvent object { environment, event_id, session_id, 3 more }`

204 228 

205 Emitted after a suspended hosted session environment and its checkpoint expire.229 Emitted after a suspended hosted session environment and its checkpoint expire.

206 230 


232 256 

233 - `"agent.session.environment.expired"`257 - `"agent.session.environment.expired"`

234 258 

235 - `AgentSessionEnvironmentResetEvent object { environment_id, event_id, reset_count, 3 more }`259 - `obfuscation: optional string`

260 

261 Random alphanumeric padding. Present when stream obfuscation is enabled.

262 

263 `minLength: 0`

264 

265 - `AgentSessionEnvironmentResetEvent object { environment_id, event_id, reset_count, 4 more }`

236 266 

237 Emitted after a hosted sandbox is replaced. Conversation history survives; changes to the previous sandbox's files and processes do not.267 Emitted after a hosted sandbox is replaced. Conversation history survives; changes to the previous sandbox's files and processes do not.

238 268 


272 302 

273 - `"agent.session.environment.reset"`303 - `"agent.session.environment.reset"`

274 304 

275 - `AgentOutputCommandExecutionOutputDeltaEvent object { delta, event_id, item_id, 4 more }`305 - `obfuscation: optional string`

306 

307 Random alphanumeric padding. Present when stream obfuscation is enabled.

308 

309 `minLength: 0`

310 

311 - `AgentOutputCommandExecutionOutputDeltaEvent object { delta, event_id, item_id, 5 more }`

276 312 

277 Emitted when command execution produces an output delta.313 Emitted when command execution produces an output delta.

278 314 


318 354 

319 - `"agent.output.command_execution_output.delta"`355 - `"agent.output.command_execution_output.delta"`

320 356 

321 - `AgentSessionCreatedEvent object { event_id, session, type }`357 - `obfuscation: optional string`

358 

359 Random alphanumeric padding. Present when stream obfuscation is enabled.

360 

361 `minLength: 0`

362 

363 - `AgentSessionCreatedEvent object { event_id, session, type, obfuscation }`

322 364 

323 Emitted when a session is created.365 Emitted when a session is created.

324 366 


482 524 

483 `minItems: 0`, `maxItems: 2000`525 `minItems: 0`, `maxItems: 2000`

484 526 

485 - `Function object { defer_loading, description, name, 2 more }`527 - `Function object { defer_loading, description, name, 3 more }`

486 528 

487 A function defined by the application.529 A function defined by the application.

488 530 


512 554 

513 - `"function"`555 - `"function"`

514 556 

557 - `async: optional boolean`

558 

559 Whether the agent continues without waiting for the function result.

560 

515 - `ProgrammaticToolCalling object { enabled, type }`561 - `ProgrammaticToolCalling object { enabled, type }`

516 562 

517 Enables calling tools from model-generated code.563 Enables calling tools from model-generated code.


1304 1350 

1305 - `"agent.session.created"`1351 - `"agent.session.created"`

1306 1352 

1307 - `AgentSessionTurnCreatedEvent object { event_id, session_id, turn, 2 more }`1353 - `obfuscation: optional string`

1354 

1355 Random alphanumeric padding. Present when stream obfuscation is enabled.

1356 

1357 `minLength: 0`

1358 

1359 - `AgentSessionTurnCreatedEvent object { event_id, session_id, turn, 3 more }`

1308 1360 

1309 Emitted when a turn is created.1361 Emitted when a turn is created.

1310 1362 


1526 1578 

1527 - `"agent.session.turn.created"`1579 - `"agent.session.turn.created"`

1528 1580 

1529 - `AgentSessionTurnInProgressEvent object { event_id, session_id, turn, 2 more }`1581 - `obfuscation: optional string`

1582 

1583 Random alphanumeric padding. Present when stream obfuscation is enabled.

1584 

1585 `minLength: 0`

1586 

1587 - `AgentSessionTurnInProgressEvent object { event_id, session_id, turn, 3 more }`

1530 1588 

1531 Emitted when a turn starts running.1589 Emitted when a turn starts running.

1532 1590 


1558 1616 

1559 - `"agent.session.turn.in_progress"`1617 - `"agent.session.turn.in_progress"`

1560 1618 

1561 - `AgentSessionTurnCompletedEvent object { event_id, session_id, turn, 3 more }`1619 - `obfuscation: optional string`

1620 

1621 Random alphanumeric padding. Present when stream obfuscation is enabled.

1622 

1623 `minLength: 0`

1624 

1625 - `AgentSessionTurnCompletedEvent object { event_id, session_id, turn, 4 more }`

1562 1626 

1563 Emitted when a turn completes.1627 Emitted when a turn completes.

1564 1628 


1594 1658 

1595 Token usage by the root agent during the turn, when available.1659 Token usage by the root agent during the turn, when available.

1596 1660 

1597 - `AgentSessionTurnFailedEvent object { event_id, session_id, turn, 3 more }`1661 - `obfuscation: optional string`

1662 

1663 Random alphanumeric padding. Present when stream obfuscation is enabled.

1664 

1665 `minLength: 0`

1666 

1667 - `AgentSessionTurnFailedEvent object { event_id, session_id, turn, 4 more }`

1598 1668 

1599 Emitted when a turn fails.1669 Emitted when a turn fails.

1600 1670 


1630 1700 

1631 Token usage by the root agent during the turn, when available.1701 Token usage by the root agent during the turn, when available.

1632 1702 

1633 - `AgentSessionTurnCancelledEvent object { event_id, session_id, turn, 3 more }`1703 - `obfuscation: optional string`

1704 

1705 Random alphanumeric padding. Present when stream obfuscation is enabled.

1706 

1707 `minLength: 0`

1708 

1709 - `AgentSessionTurnCancelledEvent object { event_id, session_id, turn, 4 more }`

1634 1710 

1635 Emitted when a turn is cancelled.1711 Emitted when a turn is cancelled.

1636 1712 


1666 1742 

1667 Token usage by the root agent during the turn, when available.1743 Token usage by the root agent during the turn, when available.

1668 1744 

1669 - `AgentSessionTurnItemAddedEvent object { event_id, item, output_index, 3 more }`1745 - `obfuscation: optional string`

1746 

1747 Random alphanumeric padding. Present when stream obfuscation is enabled.

1748 

1749 `minLength: 0`

1750 

1751 - `AgentSessionTurnItemAddedEvent object { event_id, item, output_index, 4 more }`

1670 1752 

1671 Emitted when an item is added to a turn.1753 Emitted when an item is added to a turn.

1672 1754 


2742 2824 

2743 - `"agent.session.turn.item.added"`2825 - `"agent.session.turn.item.added"`

2744 2826 

2745 - `AgentSessionIdleEvent object { event_id, session, type }`2827 - `obfuscation: optional string`

2828 

2829 Random alphanumeric padding. Present when stream obfuscation is enabled.

2830 

2831 `minLength: 0`

2832 

2833 - `AgentSessionIdleEvent object { event_id, session, type, obfuscation }`

2746 2834 

2747 Emitted when a session becomes idle.2835 Emitted when a session becomes idle.

2748 2836 


2762 2850 

2763 - `"agent.session.idle"`2851 - `"agent.session.idle"`

2764 2852 

2765 - `AgentSessionInProgressEvent object { event_id, session, type }`2853 - `obfuscation: optional string`

2854 

2855 Random alphanumeric padding. Present when stream obfuscation is enabled.

2856 

2857 `minLength: 0`

2858 

2859 - `AgentSessionInProgressEvent object { event_id, session, type, obfuscation }`

2766 2860 

2767 Emitted when a session starts processing a turn.2861 Emitted when a session starts processing a turn.

2768 2862 


2782 2876 

2783 - `"agent.session.in_progress"`2877 - `"agent.session.in_progress"`

2784 2878 

2785 - `AgentSessionRequiresActionEvent object { event_id, session, type }`2879 - `obfuscation: optional string`

2880 

2881 Random alphanumeric padding. Present when stream obfuscation is enabled.

2882 

2883 `minLength: 0`

2884 

2885 - `AgentSessionRequiresActionEvent object { event_id, session, type, obfuscation }`

2786 2886 

2787 Emitted when a session is waiting for one or more required actions.2887 Emitted when a session is waiting for one or more required actions.

2788 2888 


2802 2902 

2803 - `"agent.session.requires_action"`2903 - `"agent.session.requires_action"`

2804 2904 

2805 - `AgentSessionFailedEvent object { event_id, session, type }`2905 - `obfuscation: optional string`

2906 

2907 Random alphanumeric padding. Present when stream obfuscation is enabled.

2908 

2909 `minLength: 0`

2910 

2911 - `AgentSessionFailedEvent object { event_id, session, type, obfuscation }`

2806 2912 

2807 Emitted when a session fails.2913 Emitted when a session fails.

2808 2914 


2822 2928 

2823 - `"agent.session.failed"`2929 - `"agent.session.failed"`

2824 2930 

2825 - `AgentSessionEnvironmentPendingEvent object { environment, event_id, session_id, 2 more }`2931 - `obfuscation: optional string`

2932 

2933 Random alphanumeric padding. Present when stream obfuscation is enabled.

2934 

2935 `minLength: 0`

2936 

2937 - `AgentSessionEnvironmentPendingEvent object { environment, event_id, session_id, 3 more }`

2826 2938 

2827 Emitted while a session environment is being prepared.2939 Emitted while a session environment is being prepared.

2828 2940 


2854 2966 

2855 - `"agent.session.environment.pending"`2967 - `"agent.session.environment.pending"`

2856 2968 

2857 - `AgentSessionEnvironmentConnectedEvent object { environment, event_id, session_id, 2 more }`2969 - `obfuscation: optional string`

2970 

2971 Random alphanumeric padding. Present when stream obfuscation is enabled.

2972 

2973 `minLength: 0`

2974 

2975 - `AgentSessionEnvironmentConnectedEvent object { environment, event_id, session_id, 3 more }`

2858 2976 

2859 Emitted when a session environment connects.2977 Emitted when a session environment connects.

2860 2978 


2886 3004 

2887 - `"agent.session.environment.connected"`3005 - `"agent.session.environment.connected"`

2888 3006 

2889 - `AgentSessionEnvironmentDisconnectedEvent object { environment, event_id, session_id, 2 more }`3007 - `obfuscation: optional string`

3008 

3009 Random alphanumeric padding. Present when stream obfuscation is enabled.

3010 

3011 `minLength: 0`

3012 

3013 - `AgentSessionEnvironmentDisconnectedEvent object { environment, event_id, session_id, 3 more }`

2890 3014 

2891 Emitted when a session environment disconnects.3015 Emitted when a session environment disconnects.

2892 3016 


2918 3042 

2919 - `"agent.session.environment.disconnected"`3043 - `"agent.session.environment.disconnected"`

2920 3044 

2921 - `AgentSessionEnvironmentFailedEvent object { environment, event_id, session_id, 2 more }`3045 - `obfuscation: optional string`

3046 

3047 Random alphanumeric padding. Present when stream obfuscation is enabled.

3048 

3049 `minLength: 0`

3050 

3051 - `AgentSessionEnvironmentFailedEvent object { environment, event_id, session_id, 3 more }`

2922 3052 

2923 Emitted when a session environment fails.3053 Emitted when a session environment fails.

2924 3054 


2950 3080 

2951 - `"agent.session.environment.failed"`3081 - `"agent.session.environment.failed"`

2952 3082 

2953 - `AgentSessionSubagentCreatedEvent object { event_id, subagent, type }`3083 - `obfuscation: optional string`

3084 

3085 Random alphanumeric padding. Present when stream obfuscation is enabled.

3086 

3087 `minLength: 0`

3088 

3089 - `AgentSessionSubagentCreatedEvent object { event_id, subagent, type, obfuscation }`

2954 3090 

2955 Emitted when a subagent is created.3091 Emitted when a subagent is created.

2956 3092 


3038 3174 

3039 - `"agent.session.subagent.created"`3175 - `"agent.session.subagent.created"`

3040 3176 

3041 - `AgentSessionSubagentActiveEvent object { event_id, subagent, type }`3177 - `obfuscation: optional string`

3178 

3179 Random alphanumeric padding. Present when stream obfuscation is enabled.

3180 

3181 `minLength: 0`

3182 

3183 - `AgentSessionSubagentActiveEvent object { event_id, subagent, type, obfuscation }`

3042 3184 

3043 Emitted when a closed subagent successfully resumes.3185 Emitted when a closed subagent successfully resumes.

3044 3186 


3058 3200 

3059 - `"agent.session.subagent.active"`3201 - `"agent.session.subagent.active"`

3060 3202 

3061 - `AgentSessionSubagentClosedEvent object { event_id, subagent, type }`3203 - `obfuscation: optional string`

3204 

3205 Random alphanumeric padding. Present when stream obfuscation is enabled.

3206 

3207 `minLength: 0`

3208 

3209 - `AgentSessionSubagentClosedEvent object { event_id, subagent, type, obfuscation }`

3062 3210 

3063 Emitted when a subagent is closed.3211 Emitted when a subagent is closed.

3064 3212 


3078 3226 

3079 - `"agent.session.subagent.closed"`3227 - `"agent.session.subagent.closed"`

3080 3228 

3081 - `AgentSessionTurnItemDoneEvent object { event_id, item, output_index, 3 more }`3229 - `obfuscation: optional string`

3230 

3231 Random alphanumeric padding. Present when stream obfuscation is enabled.

3232 

3233 `minLength: 0`

3234 

3235 - `AgentSessionTurnItemDoneEvent object { event_id, item, output_index, 4 more }`

3082 3236 

3083 Emitted when an output item is complete.3237 Emitted when an output item is complete.

3084 3238 


3366 3520 

3367 - `"agent.session.turn.item.done"`3521 - `"agent.session.turn.item.done"`

3368 3522 

3369 - `AgentSessionTurnContentPartAddedEvent object { content_index, event_id, item_id, 5 more }`3523 - `obfuscation: optional string`

3524 

3525 Random alphanumeric padding. Present when stream obfuscation is enabled.

3526 

3527 `minLength: 0`

3528 

3529 - `AgentSessionTurnContentPartAddedEvent object { content_index, event_id, item_id, 6 more }`

3370 3530 

3371 Emitted when an output text content part is added.3531 Emitted when an output text content part is added.

3372 3532 


3416 3576 

3417 - `"agent.session.turn.content_part.added"`3577 - `"agent.session.turn.content_part.added"`

3418 3578 

3419 - `AgentSessionTurnContentPartDoneEvent object { content_index, event_id, item_id, 5 more }`3579 - `obfuscation: optional string`

3580 

3581 Random alphanumeric padding. Present when stream obfuscation is enabled.

3582 

3583 `minLength: 0`

3584 

3585 - `AgentSessionTurnContentPartDoneEvent object { content_index, event_id, item_id, 6 more }`

3420 3586 

3421 Emitted when an output content part is complete.3587 Emitted when an output content part is complete.

3422 3588 


3466 3632 

3467 - `"agent.session.turn.content_part.done"`3633 - `"agent.session.turn.content_part.done"`

3468 3634 

3469 - `AgentSessionTurnOutputTextDeltaEvent object { content_index, delta, event_id, 5 more }`3635 - `obfuscation: optional string`

3636 

3637 Random alphanumeric padding. Present when stream obfuscation is enabled.

3638 

3639 `minLength: 0`

3640 

3641 - `AgentSessionTurnOutputTextDeltaEvent object { content_index, delta, event_id, 6 more }`

3470 3642 

3471 Emitted when text is appended to an output text content part.3643 Emitted when text is appended to an output text content part.

3472 3644 


3518 3690 

3519 - `"agent.session.turn.output_text.delta"`3691 - `"agent.session.turn.output_text.delta"`

3520 3692 

3521 - `AgentSessionTurnOutputTextDoneEvent object { content_index, event_id, item_id, 5 more }`3693 - `obfuscation: optional string`

3694 

3695 Random alphanumeric padding. Present when stream obfuscation is enabled.

3696 

3697 `minLength: 0`

3698 

3699 - `AgentSessionTurnOutputTextDoneEvent object { content_index, event_id, item_id, 6 more }`

3522 3700 

3523 Emitted when an output text content part is complete.3701 Emitted when an output text content part is complete.

3524 3702 


3570 3748 

3571 - `"agent.session.turn.output_text.done"`3749 - `"agent.session.turn.output_text.done"`

3572 3750 

3573 - `AgentSessionTurnReasoningSummaryPartAddedEvent object { event_id, item_id, output_index, 5 more }`3751 - `obfuscation: optional string`

3752 

3753 Random alphanumeric padding. Present when stream obfuscation is enabled.

3754 

3755 `minLength: 0`

3756 

3757 - `AgentSessionTurnReasoningSummaryPartAddedEvent object { event_id, item_id, output_index, 6 more }`

3574 3758 

3575 Emitted when a reasoning summary content part is added.3759 Emitted when a reasoning summary content part is added.

3576 3760 


3630 3814 

3631 - `"agent.session.turn.reasoning_summary_part.added"`3815 - `"agent.session.turn.reasoning_summary_part.added"`

3632 3816 

3633 - `AgentSessionTurnReasoningSummaryPartDoneEvent object { event_id, item_id, output_index, 6 more }`3817 - `obfuscation: optional string`

3818 

3819 Random alphanumeric padding. Present when stream obfuscation is enabled.

3820 

3821 `minLength: 0`

3822 

3823 - `AgentSessionTurnReasoningSummaryPartDoneEvent object { event_id, item_id, output_index, 7 more }`

3634 3824 

3635 Emitted when a reasoning summary part is complete.3825 Emitted when a reasoning summary part is complete.

3636 3826 


3686 3876 

3687 - `"agent.session.turn.reasoning_summary_part.done"`3877 - `"agent.session.turn.reasoning_summary_part.done"`

3688 3878 

3689 - `AgentSessionTurnReasoningSummaryTextDeltaEvent object { delta, event_id, item_id, 5 more }`3879 - `obfuscation: optional string`

3880 

3881 Random alphanumeric padding. Present when stream obfuscation is enabled.

3882 

3883 `minLength: 0`

3884 

3885 - `AgentSessionTurnReasoningSummaryTextDeltaEvent object { delta, event_id, item_id, 6 more }`

3690 3886 

3691 Emitted when text is appended to a reasoning summary.3887 Emitted when text is appended to a reasoning summary.

3692 3888 


3738 3934 

3739 - `"agent.session.turn.reasoning_summary_text.delta"`3935 - `"agent.session.turn.reasoning_summary_text.delta"`

3740 3936 

3741 - `AgentSessionTurnReasoningSummaryTextDoneEvent object { event_id, item_id, output_index, 5 more }`3937 - `obfuscation: optional string`

3938 

3939 Random alphanumeric padding. Present when stream obfuscation is enabled.

3940 

3941 `minLength: 0`

3942 

3943 - `AgentSessionTurnReasoningSummaryTextDoneEvent object { event_id, item_id, output_index, 6 more }`

3742 3944 

3743 Emitted when a reasoning summary content part is complete.3945 Emitted when a reasoning summary content part is complete.

3744 3946 


3790 3992 

3791 - `"agent.session.turn.reasoning_summary_text.done"`3993 - `"agent.session.turn.reasoning_summary_text.done"`

3792 3994 

3995 - `obfuscation: optional string`

3996 

3997 Random alphanumeric padding. Present when stream obfuscation is enabled.

3998 

3999 `minLength: 0`

4000 

3793### Example4001### Example

3794 4002 

3795```http4003```http

Details

5446 Keys are strings with a maximum length of 64 characters. Values are strings5446 Keys are strings with a maximum length of 64 characters. Values are strings

5447 with a maximum length of 512 characters.5447 with a maximum length of 512 characters.

5448 5448 

5449 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string`5449 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`

5450 5450 

5451 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5451 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5452 offers a wide range of models with different capabilities, performance5452 offers a wide range of models with different capabilities, performance

5453 characteristics, and price points. Refer to the [model guide](/api/docs/models)5453 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5454 to browse and compare available models.5454 to browse and compare available models.

5455 5455 

5456 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`5456 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

5457 5457 

5458 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5458 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5459 offers a wide range of models with different capabilities, performance5459 offers a wide range of models with different capabilities, performance


5680 5680 

5681 - `"gpt-rosalind-research"`5681 - `"gpt-rosalind-research"`

5682 5682 

5683 - `"gpt-6-rosalind"`

5684 

5683 - `string`5685 - `string`

5684 5686 

5685 - `object: "response"`5687 - `object: "response"`

Details

18 18 

19Content type: `application/json`19Content type: `application/json`

20 20 

21- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string or null`21- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string or null`

22 22 

23 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.23 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

24 24 

25 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`25 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

26 26 

27 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.27 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

28 28 


246 246 

247 - `"gpt-rosalind-research"`247 - `"gpt-rosalind-research"`

248 248 

249 - `"gpt-6-rosalind"`

250 

249 - `string`251 - `string`

250 252 

251- `image: optional object { context_compression }`253- `image: optional object { context_compression }`

Details

5419 Keys are strings with a maximum length of 64 characters. Values are strings5419 Keys are strings with a maximum length of 64 characters. Values are strings

5420 with a maximum length of 512 characters.5420 with a maximum length of 512 characters.

5421 5421 

5422- `model: optional "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string`5422- `model: optional "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`

5423 5423 

5424 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5424 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5425 offers a wide range of models with different capabilities, performance5425 offers a wide range of models with different capabilities, performance

5426 characteristics, and price points. Refer to the [model guide](/api/docs/models)5426 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5427 to browse and compare available models.5427 to browse and compare available models.

5428 5428 

5429 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`5429 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

5430 5430 

5431 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5431 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5432 offers a wide range of models with different capabilities, performance5432 offers a wide range of models with different capabilities, performance


5653 5653 

5654 - `"gpt-rosalind-research"`5654 - `"gpt-rosalind-research"`

5655 5655 

5656 - `"gpt-6-rosalind"`

5657 

5656 - `string`5658 - `string`

5657 5659 

5658- `moderation: optional object { model, policy } or null`5660- `moderation: optional object { model, policy } or null`


12692 Keys are strings with a maximum length of 64 characters. Values are strings12694 Keys are strings with a maximum length of 64 characters. Values are strings

12693 with a maximum length of 512 characters.12695 with a maximum length of 512 characters.

12694 12696 

12695 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string`12697 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`

12696 12698 

12697 Model ID used to generate the response, like `gpt-6-astra`. OpenAI12699 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

12698 offers a wide range of models with different capabilities, performance12700 offers a wide range of models with different capabilities, performance

12699 characteristics, and price points. Refer to the [model guide](/api/docs/models)12701 characteristics, and price points. Refer to the [model guide](/api/docs/models)

12700 to browse and compare available models.12702 to browse and compare available models.

12701 12703 

12702 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`12704 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

12703 12705 

12704 Model ID used to generate the response, like `gpt-6-astra`. OpenAI12706 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

12705 offers a wide range of models with different capabilities, performance12707 offers a wide range of models with different capabilities, performance


12926 12928 

12927 - `"gpt-rosalind-research"`12929 - `"gpt-rosalind-research"`

12928 12930 

12931 - `"gpt-6-rosalind"`

12932 

12929 - `string`12933 - `string`

12930 12934 

12931 - `object: "response"`12935 - `object: "response"`

Details

5490 Keys are strings with a maximum length of 64 characters. Values are strings5490 Keys are strings with a maximum length of 64 characters. Values are strings

5491 with a maximum length of 512 characters.5491 with a maximum length of 512 characters.

5492 5492 

5493 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string`5493 - `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string`

5494 5494 

5495 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5495 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5496 offers a wide range of models with different capabilities, performance5496 offers a wide range of models with different capabilities, performance

5497 characteristics, and price points. Refer to the [model guide](/api/docs/models)5497 characteristics, and price points. Refer to the [model guide](/api/docs/models)

5498 to browse and compare available models.5498 to browse and compare available models.

5499 5499 

5500 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`5500 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

5501 5501 

5502 Model ID used to generate the response, like `gpt-6-astra`. OpenAI5502 Model ID used to generate the response, like `gpt-6-astra`. OpenAI

5503 offers a wide range of models with different capabilities, performance5503 offers a wide range of models with different capabilities, performance


5724 5724 

5725 - `"gpt-rosalind-research"`5725 - `"gpt-rosalind-research"`

5726 5726 

5727 - `"gpt-6-rosalind"`

5728 

5727 - `string`5729 - `string`

5728 5730 

5729 - `object: "response"`5731 - `object: "response"`

Details

5000 5000 

5001 - `"gpt-3.5-turbo-16k-0613"`5001 - `"gpt-3.5-turbo-16k-0613"`

5002 5002 

5003 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`5003 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

5004 5004 

5005 - `"o1-pro"`5005 - `"o1-pro"`

5006 5006 


5042 5042 

5043 - `"gpt-rosalind-research"`5043 - `"gpt-rosalind-research"`

5044 5044 

5045 - `"gpt-6-rosalind"`

5046 

5045 - `object: "response"`5047 - `object: "response"`

5046 5048 

5047 The object type of this resource - always set to `response`.5049 The object type of this resource - always set to `response`.

Details

12 12 

13Content type: `application/json`13Content type: `application/json`

14 14 

15- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more or string or null`15- `model: "gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more or string or null`

16 16 

17 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.17 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

18 18 

19 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 107 more`19 - `"gpt-6-astra" or "gpt-6.1-sol" or "gpt-6.1-terra" or 108 more`

20 20 

21 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.21 Model ID used to generate the response, like `gpt-6-astra`. OpenAI offers a wide range of models with different capabilities, performance characteristics, and price points. Refer to the [model guide](/api/docs/models) to browse and compare available models.

22 22 


240 240 

241 - `"gpt-rosalind-research"`241 - `"gpt-rosalind-research"`

242 242 

243 - `"gpt-6-rosalind"`

244 

243 - `string`245 - `string`

244 246 

245- `image: optional object { context_compression }`247- `image: optional object { context_compression }`

Details

4973 4973 

4974 - `"gpt-3.5-turbo-16k-0613"`4974 - `"gpt-3.5-turbo-16k-0613"`

4975 4975 

4976 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`4976 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

4977 4977 

4978 - `"o1-pro"`4978 - `"o1-pro"`

4979 4979 


5015 5015 

5016 - `"gpt-rosalind-research"`5016 - `"gpt-rosalind-research"`

5017 5017 

5018 - `"gpt-6-rosalind"`

5019 

5018- `moderation: optional object { model, policy } or null`5020- `moderation: optional object { model, policy } or null`

5019 5021 

5020 Configuration for running moderation on the input and output of this response.5022 Configuration for running moderation on the input and output of this response.


11464 11466 

11465 - `"gpt-3.5-turbo-16k-0613"`11467 - `"gpt-3.5-turbo-16k-0613"`

11466 11468 

11467 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`11469 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

11468 11470 

11469 - `"o1-pro"`11471 - `"o1-pro"`

11470 11472 


11506 11508 

11507 - `"gpt-rosalind-research"`11509 - `"gpt-rosalind-research"`

11508 11510 

11511 - `"gpt-6-rosalind"`

11512 

11509 - `object: "response"`11513 - `object: "response"`

11510 11514 

11511 The object type of this resource - always set to `response`.11515 The object type of this resource - always set to `response`.

Details

5044 5044 

5045 - `"gpt-3.5-turbo-16k-0613"`5045 - `"gpt-3.5-turbo-16k-0613"`

5046 5046 

5047 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 17 more`5047 - `ResponsesOnlyModel = "o1-pro" or "o1-pro-2025-03-19" or "o3-pro" or 18 more`

5048 5048 

5049 - `"o1-pro"`5049 - `"o1-pro"`

5050 5050 


5086 5086 

5087 - `"gpt-rosalind-research"`5087 - `"gpt-rosalind-research"`

5088 5088 

5089 - `"gpt-6-rosalind"`

5090 

5089 - `object: "response"`5091 - `object: "response"`

5090 5092 

5091 The object type of this resource - always set to `response`.5093 The object type of this resource - always set to `response`.