1519 1519
1520 `minItems: 0`, `maxItems: 2000`1520 `minItems: 0`, `maxItems: 2000`
1521 1521
1522 - `prompt_cache_options: optional object { ttl } or null`
1523
1524 Default prompt cache lifetime for turns in this session, when configured.
1525
1526 - `ttl: "30m" or "12h"`
1527
1528 - `"30m"`
1529
1530 - `"12h"`
1531
1522 - `review: optional "none" or "auto_review"`1532 - `review: optional "none" or "auto_review"`
1523 1533
1524 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.1534 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.
1546 "type": "agent.session.created",1556 "type": "agent.session.created",
1547 "event_id": "event_id",1557 "event_id": "event_id",
1548 "session": {1558 "session": {
1559 "prompt_cache_options": {
1560 "ttl": "30m"
1561 },
1549 "review": "none",1562 "review": "none",
1550 "metadata": {1563 "metadata": {
1551 "foo": "string"1564 "foo": "string"
1900 1913
1901 `format: int64`1914 `format: int64`
1902 1915
1916 - `prompt_cache_options: optional object { ttl } or null`
1917
1918 Prompt cache lifetime selected when this turn started, including an inherited session TTL. Null when the turn used the model default or no TTL was recorded.
1919
1920 - `ttl: "30m" or "12h"`
1921
1922 - `"30m"`
1923
1924 - `"12h"`
1925
1903- `turn_id: string`1926- `turn_id: string`
1904 1927
1905 The ID of the turn associated with the event.1928 The ID of the turn associated with the event.
1927 "session_id": "session_id",1950 "session_id": "session_id",
1928 "turn_id": "turn_id",1951 "turn_id": "turn_id",
1929 "turn": {1952 "turn": {
1953 "prompt_cache_options": {
1954 "ttl": "30m"
1955 },
1930 "id": "id",1956 "id": "id",
1931 "object": "agent.session.turn",1957 "object": "agent.session.turn",
1932 "session_id": "session_id",1958 "session_id": "session_id",
2210 2236
2211 `format: int64`2237 `format: int64`
2212 2238
2239 - `prompt_cache_options: optional object { ttl } or null`
2240
2241 Prompt cache lifetime selected when this turn started, including an inherited session TTL. Null when the turn used the model default or no TTL was recorded.
2242
2243 - `ttl: "30m" or "12h"`
2244
2245 - `"30m"`
2246
2247 - `"12h"`
2248
2213- `turn_id: string`2249- `turn_id: string`
2214 2250
2215 The ID of the turn associated with the event.2251 The ID of the turn associated with the event.
2237 "session_id": "session_id",2273 "session_id": "session_id",
2238 "turn_id": "turn_id",2274 "turn_id": "turn_id",
2239 "turn": {2275 "turn": {
2276 "prompt_cache_options": {
2277 "ttl": "30m"
2278 },
2240 "id": "id",2279 "id": "id",
2241 "object": "agent.session.turn",2280 "object": "agent.session.turn",
2242 "session_id": "session_id",2281 "session_id": "session_id",
2520 2559
2521 `format: int64`2560 `format: int64`
2522 2561
2562 - `prompt_cache_options: optional object { ttl } or null`
2563
2564 Prompt cache lifetime selected when this turn started, including an inherited session TTL. Null when the turn used the model default or no TTL was recorded.
2565
2566 - `ttl: "30m" or "12h"`
2567
2568 - `"30m"`
2569
2570 - `"12h"`
2571
2523- `turn_id: string`2572- `turn_id: string`
2524 2573
2525 The ID of the turn associated with the event.2574 The ID of the turn associated with the event.
2551 "session_id": "session_id",2600 "session_id": "session_id",
2552 "turn_id": "turn_id",2601 "turn_id": "turn_id",
2553 "turn": {2602 "turn": {
2603 "prompt_cache_options": {
2604 "ttl": "30m"
2605 },
2554 "id": "id",2606 "id": "id",
2555 "object": "agent.session.turn",2607 "object": "agent.session.turn",
2556 "session_id": "session_id",2608 "session_id": "session_id",
2845 2897
2846 `format: int64`2898 `format: int64`
2847 2899
2900 - `prompt_cache_options: optional object { ttl } or null`
2901
2902 Prompt cache lifetime selected when this turn started, including an inherited session TTL. Null when the turn used the model default or no TTL was recorded.
2903
2904 - `ttl: "30m" or "12h"`
2905
2906 - `"30m"`
2907
2908 - `"12h"`
2909
2848- `turn_id: string`2910- `turn_id: string`
2849 2911
2850 The ID of the turn associated with the event.2912 The ID of the turn associated with the event.
2876 "session_id": "session_id",2938 "session_id": "session_id",
2877 "turn_id": "turn_id",2939 "turn_id": "turn_id",
2878 "turn": {2940 "turn": {
2941 "prompt_cache_options": {
2942 "ttl": "30m"
2943 },
2879 "id": "id",2944 "id": "id",
2880 "object": "agent.session.turn",2945 "object": "agent.session.turn",
2881 "session_id": "session_id",2946 "session_id": "session_id",
3170 3235
3171 `format: int64`3236 `format: int64`
3172 3237
3238 - `prompt_cache_options: optional object { ttl } or null`
3239
3240 Prompt cache lifetime selected when this turn started, including an inherited session TTL. Null when the turn used the model default or no TTL was recorded.
3241
3242 - `ttl: "30m" or "12h"`
3243
3244 - `"30m"`
3245
3246 - `"12h"`
3247
3173- `turn_id: string`3248- `turn_id: string`
3174 3249
3175 The ID of the turn associated with the event.3250 The ID of the turn associated with the event.
3201 "session_id": "session_id",3276 "session_id": "session_id",
3202 "turn_id": "turn_id",3277 "turn_id": "turn_id",
3203 "turn": {3278 "turn": {
3279 "prompt_cache_options": {
3280 "ttl": "30m"
3281 },
3204 "id": "id",3282 "id": "id",
3205 "object": "agent.session.turn",3283 "object": "agent.session.turn",
3206 "session_id": "session_id",3284 "session_id": "session_id",
5338 5416
5339 `minItems: 0`, `maxItems: 2000`5417 `minItems: 0`, `maxItems: 2000`
5340 5418
5419 - `prompt_cache_options: optional object { ttl } or null`
5420
5421 Default prompt cache lifetime for turns in this session, when configured.
5422
5423 - `ttl: "30m" or "12h"`
5424
5425 - `"30m"`
5426
5427 - `"12h"`
5428
5341 - `review: optional "none" or "auto_review"`5429 - `review: optional "none" or "auto_review"`
5342 5430
5343 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.5431 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.
5365 "type": "agent.session.idle",5453 "type": "agent.session.idle",
5366 "event_id": "event_id",5454 "event_id": "event_id",
5367 "session": {5455 "session": {
5456 "prompt_cache_options": {
5457 "ttl": "30m"
5458 },
5368 "review": "none",5459 "review": "none",
5369 "metadata": {5460 "metadata": {
5370 "foo": "string"5461 "foo": "string"
6447 6538
6448 `minItems: 0`, `maxItems: 2000`6539 `minItems: 0`, `maxItems: 2000`
6449 6540
6541 - `prompt_cache_options: optional object { ttl } or null`
6542
6543 Default prompt cache lifetime for turns in this session, when configured.
6544
6545 - `ttl: "30m" or "12h"`
6546
6547 - `"30m"`
6548
6549 - `"12h"`
6550
6450 - `review: optional "none" or "auto_review"`6551 - `review: optional "none" or "auto_review"`
6451 6552
6452 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.6553 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.
6474 "type": "agent.session.in_progress",6575 "type": "agent.session.in_progress",
6475 "event_id": "event_id",6576 "event_id": "event_id",
6476 "session": {6577 "session": {
6578 "prompt_cache_options": {
6579 "ttl": "30m"
6580 },
6477 "review": "none",6581 "review": "none",
6478 "metadata": {6582 "metadata": {
6479 "foo": "string"6583 "foo": "string"
7556 7660
7557 `minItems: 0`, `maxItems: 2000`7661 `minItems: 0`, `maxItems: 2000`
7558 7662
7663 - `prompt_cache_options: optional object { ttl } or null`
7664
7665 Default prompt cache lifetime for turns in this session, when configured.
7666
7667 - `ttl: "30m" or "12h"`
7668
7669 - `"30m"`
7670
7671 - `"12h"`
7672
7559 - `review: optional "none" or "auto_review"`7673 - `review: optional "none" or "auto_review"`
7560 7674
7561 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.7675 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.
7583 "type": "agent.session.requires_action",7697 "type": "agent.session.requires_action",
7584 "event_id": "event_id",7698 "event_id": "event_id",
7585 "session": {7699 "session": {
7700 "prompt_cache_options": {
7701 "ttl": "30m"
7702 },
7586 "review": "none",7703 "review": "none",
7587 "metadata": {7704 "metadata": {
7588 "foo": "string"7705 "foo": "string"
8665 8782
8666 `minItems: 0`, `maxItems: 2000`8783 `minItems: 0`, `maxItems: 2000`
8667 8784
8785 - `prompt_cache_options: optional object { ttl } or null`
8786
8787 Default prompt cache lifetime for turns in this session, when configured.
8788
8789 - `ttl: "30m" or "12h"`
8790
8791 - `"30m"`
8792
8793 - `"12h"`
8794
8668 - `review: optional "none" or "auto_review"`8795 - `review: optional "none" or "auto_review"`
8669 8796
8670 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.8797 Review applied to eligible actions in this session. Omitted when review is none and automatic review is not enabled. Omission means none.
8692 "type": "agent.session.failed",8819 "type": "agent.session.failed",
8693 "event_id": "event_id",8820 "event_id": "event_id",
8694 "session": {8821 "session": {
8822 "prompt_cache_options": {
8823 "ttl": "30m"
8824 },
8695 "review": "none",8825 "review": "none",
8696 "metadata": {8826 "metadata": {
8697 "foo": "string"8827 "foo": "string"