162 162
163 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.163 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.
164 164
165165 - `delegation: optional object { type, responses }` - `delegation: optional object { type, acknowledgement_delay_ms, responses }`
166 166
167 Overrides for the stored session’s Responses backend. Only supported when the stored session already uses Responses delegation; the delegation type cannot change.167 Overrides for the stored session’s Responses backend. Only supported when the stored session already uses Responses delegation; the delegation type cannot change.
168 168
172 172
173 - `"responses"`173 - `"responses"`
174 174
175 - `acknowledgement_delay_ms: optional number`
176
177 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
178
175 - `responses: optional ResponsesDelegationUpdateConfig`179 - `responses: optional ResponsesDelegationUpdateConfig`
176 180
177 Responses backend settings to update. Omitted settings keep their existing values.181 Responses backend settings to update. Omitted settings keep their existing values.
805 809
806 Sparse delegation and trigger updates. Omitted settings retain their values. The delegation type cannot change. Model, frontend instructions, audio, and startup input are immutable.810 Sparse delegation and trigger updates. Omitted settings retain their values. The delegation type cannot change. Model, frontend instructions, audio, and startup input are immutable.
807 811
808812 - `delegation: optional ClientDelegation or Responses { type, responses } or Decisions { type, decisions } or null` - `delegation: optional ClientDelegation or Responses { type, acknowledgement_delay_ms, responses } or Decisions { type, acknowledgement_delay_ms, decisions } or null`
809 813
810 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.814 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.
811 815
812816 - `ClientDelegation object { type }` - `ClientDelegation object { type, acknowledgement_delay_ms }`
813 817
814 Delegate tasks to your application. The Live session emits delegation events that your backend handles.818 Delegate tasks to your application. The Live session emits delegation events that your backend handles.
815 819
819 823
820 - `"client"`824 - `"client"`
821 825
822826 - `Responses object { type, responses }` - `acknowledgement_delay_ms: optional number`
827
828 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
829
830 - `Responses object { type, acknowledgement_delay_ms, responses }`
823 831
824 Update the Responses backend for an existing Live session without changing delegation ownership.832 Update the Responses backend for an existing Live session without changing delegation ownership.
825 833
829 837
830 - `"responses"`838 - `"responses"`
831 839
840 - `acknowledgement_delay_ms: optional number`
841
842 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
843
832 - `responses: optional ResponsesDelegationUpdateConfig`844 - `responses: optional ResponsesDelegationUpdateConfig`
833 845
834 Responses backend settings to update. Omitted settings keep their existing values.846 Responses backend settings to update. Omitted settings keep their existing values.
1425 1437
1426 - `"apply_patch"`1438 - `"apply_patch"`
1427 1439
14281440 - `Decisions object { type, decisions }` - `Decisions object { type, acknowledgement_delay_ms, decisions }`
1429 1441
1430 - `type: "decisions"`1442 - `type: "decisions"`
1431 1443
1432 - `"decisions"`1444 - `"decisions"`
1433 1445
1446 - `acknowledgement_delay_ms: optional number`
1447
1448 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
1449
1434 - `decisions: optional DecisionsDelegationUpdateConfig`1450 - `decisions: optional DecisionsDelegationUpdateConfig`
1435 1451
1436 - `model: optional string`1452 - `model: optional string`
1443 1459
1444 Estimate how likely it is that a statement about the input is true.1460 Estimate how likely it is that a statement about the input is true.
1445 1461
14461462 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1463
1464 - `string`
1465
1466 - `array of DecisionQuestionInputPart`
1467
1468 - `DecisionQuestionInputText object { text, type }`
1469
1470 - `text: string`
1471
1472 - `type: "input_text"`
1473
1474 - `"input_text"`
1475
1476 - `DecisionQuestionInputImage object { image_url, type, detail }`
1477
1478 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1479
1480 - `image_url: string`
1481
1482 A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL.
1483
1484 - `type: "input_image"`
1485
1486 - `"input_image"`
1487
1488 - `detail: optional "low" or "high" or "auto" or "original" or null`
1489
1490 The image detail level, using the selected model's image profile. Defaults to auto.
1491
1492 - `"low"`
1493
1494 - `"high"`
1495
1496 - `"auto"`
1497
1498 - `"original"`
1499
1500 - `DecisionInputJSON object { data, type }`
1501
1502 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1503
1504 - `data: map[unknown] or array of map[unknown]`
1505
1506 - `map[unknown]`
1507
1508 - `array of map[unknown]`
1509
1510 - `type: "input_json"`
1511
1512 - `"input_json"`
1447 1513
1448 - `type: "predicate"`1514 - `type: "predicate"`
1449 1515
1471 1537
1472 - `description: optional string`1538 - `description: optional string`
1473 1539
14741540 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1541
1542 - `string`
1543
1544 - `array of DecisionQuestionInputPart`
1545
1546 - `DecisionQuestionInputText object { text, type }`
1547
1548 - `DecisionQuestionInputImage object { image_url, type, detail }`
1549
1550 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1551
1552 - `DecisionInputJSON object { data, type }`
1553
1554 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1475 1555
1476 - `type: "choice"`1556 - `type: "choice"`
1477 1557
1485 1565
1486 Rate the input against the supplied ordered levels.1566 Rate the input against the supplied ordered levels.
1487 1567
14881568 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1569
1570 - `string`
1571
1572 - `array of DecisionQuestionInputPart`
1573
1574 - `DecisionQuestionInputText object { text, type }`
1575
1576 - `DecisionQuestionInputImage object { image_url, type, detail }`
1577
1578 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1579
1580 - `DecisionInputJSON object { data, type }`
1581
1582 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1489 1583
1490 - `levels: array of object { label, description }`1584 - `levels: array of object { label, description }`
1491 1585
1517 1611
1518 Estimate how likely it is that a statement about the input is true.1612 Estimate how likely it is that a statement about the input is true.
1519 1613
15201614 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1615
1616 - `string`
1617
1618 - `array of DecisionQuestionInputPart`
1619
1620 - `DecisionQuestionInputText object { text, type }`
1621
1622 - `DecisionQuestionInputImage object { image_url, type, detail }`
1623
1624 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1625
1626 - `DecisionInputJSON object { data, type }`
1627
1628 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1521 1629
1522 - `type: "predicate"`1630 - `type: "predicate"`
1523 1631
1545 1653
1546 - `description: optional string`1654 - `description: optional string`
1547 1655
15481656 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1657
1658 - `string`
1659
1660 - `array of DecisionQuestionInputPart`
1661
1662 - `DecisionQuestionInputText object { text, type }`
1663
1664 - `DecisionQuestionInputImage object { image_url, type, detail }`
1665
1666 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1667
1668 - `DecisionInputJSON object { data, type }`
1669
1670 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1549 1671
1550 - `type: "choice"`1672 - `type: "choice"`
1551 1673
1559 1681
1560 Rate the input against the supplied ordered levels.1682 Rate the input against the supplied ordered levels.
1561 1683
15621684 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
1685
1686 - `string`
1687
1688 - `array of DecisionQuestionInputPart`
1689
1690 - `DecisionQuestionInputText object { text, type }`
1691
1692 - `DecisionQuestionInputImage object { image_url, type, detail }`
1693
1694 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
1695
1696 - `DecisionInputJSON object { data, type }`
1697
1698 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
1563 1699
1564 - `levels: array of object { label, description }`1700 - `levels: array of object { label, description }`
1565 1701
6804 6940
6805 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.6941 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.
6806 6942
68076943 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null` - `delegation: optional ClientDelegation or Responses { responses, type, acknowledgement_delay_ms } or Decisions { decisions, type, acknowledgement_delay_ms } or null`
6808 6944
6809 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.6945 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.
6810 6946
68116947 - `ClientDelegation object { type }` - `ClientDelegation object { type, acknowledgement_delay_ms }`
6812 6948
6813 Delegate tasks to your application. The Live session emits delegation events that your backend handles.6949 Delegate tasks to your application. The Live session emits delegation events that your backend handles.
6814 6950
6818 6954
6819 - `"client"`6955 - `"client"`
6820 6956
68216957 - `Responses object { responses, type }` - `acknowledgement_delay_ms: optional number`
6958
6959 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
6960
6961 - `Responses object { responses, type, acknowledgement_delay_ms }`
6822 6962
6823 Delegate tasks to a Responses model managed by the Live session.6963 Delegate tasks to a Responses model managed by the Live session.
6824 6964
7424 7564
7425 - `"responses"`7565 - `"responses"`
7426 7566
74277567 - `Decisions object { decisions, type }` - `acknowledgement_delay_ms: optional number`
7568
7569 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
7570
7571 - `Decisions object { decisions, type, acknowledgement_delay_ms }`
7428 7572
7429 - `decisions: object { model, questions }`7573 - `decisions: object { model, questions }`
7430 7574
7438 7582
7439 Estimate how likely it is that a statement about the input is true.7583 Estimate how likely it is that a statement about the input is true.
7440 7584
74417585 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7586
7587 - `string`
7588
7589 - `array of DecisionQuestionInputPart`
7590
7591 - `DecisionQuestionInputText object { text, type }`
7592
7593 - `text: string`
7594
7595 - `type: "input_text"`
7596
7597 - `"input_text"`
7598
7599 - `DecisionQuestionInputImage object { image_url, type, detail }`
7600
7601 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7602
7603 - `image_url: string`
7604
7605 A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL.
7606
7607 - `type: "input_image"`
7608
7609 - `"input_image"`
7610
7611 - `detail: optional "low" or "high" or "auto" or "original" or null`
7612
7613 The image detail level, using the selected model's image profile. Defaults to auto.
7614
7615 - `"low"`
7616
7617 - `"high"`
7618
7619 - `"auto"`
7620
7621 - `"original"`
7622
7623 - `DecisionInputJSON object { data, type }`
7624
7625 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7626
7627 - `data: map[unknown] or array of map[unknown]`
7628
7629 - `map[unknown]`
7630
7631 - `array of map[unknown]`
7632
7633 - `type: "input_json"`
7634
7635 - `"input_json"`
7442 7636
7443 - `type: "predicate"`7637 - `type: "predicate"`
7444 7638
7466 7660
7467 - `description: optional string`7661 - `description: optional string`
7468 7662
74697663 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7664
7665 - `string`
7666
7667 - `array of DecisionQuestionInputPart`
7668
7669 - `DecisionQuestionInputText object { text, type }`
7670
7671 - `DecisionQuestionInputImage object { image_url, type, detail }`
7672
7673 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7674
7675 - `DecisionInputJSON object { data, type }`
7676
7677 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7470 7678
7471 - `type: "choice"`7679 - `type: "choice"`
7472 7680
7480 7688
7481 Rate the input against the supplied ordered levels.7689 Rate the input against the supplied ordered levels.
7482 7690
74837691 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7692
7693 - `string`
7694
7695 - `array of DecisionQuestionInputPart`
7696
7697 - `DecisionQuestionInputText object { text, type }`
7698
7699 - `DecisionQuestionInputImage object { image_url, type, detail }`
7700
7701 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7702
7703 - `DecisionInputJSON object { data, type }`
7704
7705 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7484 7706
7485 - `levels: array of object { label, description }`7707 - `levels: array of object { label, description }`
7486 7708
7500 7722
7501 - `"decisions"`7723 - `"decisions"`
7502 7724
7725 - `acknowledgement_delay_ms: optional number`
7726
7727 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400. Updates apply to subsequent delegations.
7728
7503 - `input: optional array of InitialItem`7729 - `input: optional array of InitialItem`
7504 7730
7505 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).7731 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).
7672 7898
7673 Estimate how likely it is that a statement about the input is true.7899 Estimate how likely it is that a statement about the input is true.
7674 7900
76757901 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7902
7903 - `string`
7904
7905 - `array of DecisionQuestionInputPart`
7906
7907 - `DecisionQuestionInputText object { text, type }`
7908
7909 - `DecisionQuestionInputImage object { image_url, type, detail }`
7910
7911 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7912
7913 - `DecisionInputJSON object { data, type }`
7914
7915 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7676 7916
7677 - `type: "predicate"`7917 - `type: "predicate"`
7678 7918
7700 7940
7701 - `description: optional string`7941 - `description: optional string`
7702 7942
77037943 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7944
7945 - `string`
7946
7947 - `array of DecisionQuestionInputPart`
7948
7949 - `DecisionQuestionInputText object { text, type }`
7950
7951 - `DecisionQuestionInputImage object { image_url, type, detail }`
7952
7953 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7954
7955 - `DecisionInputJSON object { data, type }`
7956
7957 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7704 7958
7705 - `type: "choice"`7959 - `type: "choice"`
7706 7960
7714 7968
7715 Rate the input against the supplied ordered levels.7969 Rate the input against the supplied ordered levels.
7716 7970
77177971 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
7972
7973 - `string`
7974
7975 - `array of DecisionQuestionInputPart`
7976
7977 - `DecisionQuestionInputText object { text, type }`
7978
7979 - `DecisionQuestionInputImage object { image_url, type, detail }`
7980
7981 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
7982
7983 - `DecisionInputJSON object { data, type }`
7984
7985 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
7718 7986
7719 - `levels: array of object { label, description }`7987 - `levels: array of object { label, description }`
7720 7988
7994 8262
7995 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.8263 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.
7996 8264
79978265 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null` - `delegation: optional ClientDelegation or Responses { responses, type, acknowledgement_delay_ms } or Decisions { decisions, type, acknowledgement_delay_ms } or null`
7998 8266
7999 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.8267 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.
8000 8268
80018269 - `ClientDelegation object { type }` - `ClientDelegation object { type, acknowledgement_delay_ms }`
8002 8270
8003 Delegate tasks to your application. The Live session emits delegation events that your backend handles.8271 Delegate tasks to your application. The Live session emits delegation events that your backend handles.
8004 8272
8008 8276
8009 - `"client"`8277 - `"client"`
8010 8278
80118279 - `Responses object { responses, type }` - `acknowledgement_delay_ms: optional number`
8280
8281 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
8282
8283 - `Responses object { responses, type, acknowledgement_delay_ms }`
8012 8284
8013 Delegate tasks to a Responses model managed by the Live session.8285 Delegate tasks to a Responses model managed by the Live session.
8014 8286
8614 8886
8615 - `"responses"`8887 - `"responses"`
8616 8888
86178889 - `Decisions object { decisions, type }` - `acknowledgement_delay_ms: optional number`
8890
8891 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
8892
8893 - `Decisions object { decisions, type, acknowledgement_delay_ms }`
8618 8894
8619 - `decisions: object { model, questions }`8895 - `decisions: object { model, questions }`
8620 8896
8628 8904
8629 Estimate how likely it is that a statement about the input is true.8905 Estimate how likely it is that a statement about the input is true.
8630 8906
86318907 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
8908
8909 - `string`
8910
8911 - `array of DecisionQuestionInputPart`
8912
8913 - `DecisionQuestionInputText object { text, type }`
8914
8915 - `text: string`
8916
8917 - `type: "input_text"`
8918
8919 - `"input_text"`
8920
8921 - `DecisionQuestionInputImage object { image_url, type, detail }`
8922
8923 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
8924
8925 - `image_url: string`
8926
8927 A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL.
8928
8929 - `type: "input_image"`
8930
8931 - `"input_image"`
8932
8933 - `detail: optional "low" or "high" or "auto" or "original" or null`
8934
8935 The image detail level, using the selected model's image profile. Defaults to auto.
8936
8937 - `"low"`
8938
8939 - `"high"`
8940
8941 - `"auto"`
8942
8943 - `"original"`
8944
8945 - `DecisionInputJSON object { data, type }`
8946
8947 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8948
8949 - `data: map[unknown] or array of map[unknown]`
8950
8951 - `map[unknown]`
8952
8953 - `array of map[unknown]`
8954
8955 - `type: "input_json"`
8956
8957 - `"input_json"`
8632 8958
8633 - `type: "predicate"`8959 - `type: "predicate"`
8634 8960
8656 8982
8657 - `description: optional string`8983 - `description: optional string`
8658 8984
86598985 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
8986
8987 - `string`
8988
8989 - `array of DecisionQuestionInputPart`
8990
8991 - `DecisionQuestionInputText object { text, type }`
8992
8993 - `DecisionQuestionInputImage object { image_url, type, detail }`
8994
8995 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
8996
8997 - `DecisionInputJSON object { data, type }`
8998
8999 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8660 9000
8661 - `type: "choice"`9001 - `type: "choice"`
8662 9002
8670 9010
8671 Rate the input against the supplied ordered levels.9011 Rate the input against the supplied ordered levels.
8672 9012
86739013 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
9014
9015 - `string`
9016
9017 - `array of DecisionQuestionInputPart`
9018
9019 - `DecisionQuestionInputText object { text, type }`
9020
9021 - `DecisionQuestionInputImage object { image_url, type, detail }`
9022
9023 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
9024
9025 - `DecisionInputJSON object { data, type }`
9026
9027 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8674 9028
8675 - `levels: array of object { label, description }`9029 - `levels: array of object { label, description }`
8676 9030
8690 9044
8691 - `"decisions"`9045 - `"decisions"`
8692 9046
9047 - `acknowledgement_delay_ms: optional number`
9048
9049 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400. Updates apply to subsequent delegations.
9050
8693 - `input: optional array of InitialItem`9051 - `input: optional array of InitialItem`
8694 9052
8695 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).9053 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).
8862 9220
8863 Estimate how likely it is that a statement about the input is true.9221 Estimate how likely it is that a statement about the input is true.
8864 9222
88659223 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
9224
9225 - `string`
9226
9227 - `array of DecisionQuestionInputPart`
9228
9229 - `DecisionQuestionInputText object { text, type }`
9230
9231 - `DecisionQuestionInputImage object { image_url, type, detail }`
9232
9233 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
9234
9235 - `DecisionInputJSON object { data, type }`
9236
9237 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8866 9238
8867 - `type: "predicate"`9239 - `type: "predicate"`
8868 9240
8890 9262
8891 - `description: optional string`9263 - `description: optional string`
8892 9264
88939265 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
9266
9267 - `string`
9268
9269 - `array of DecisionQuestionInputPart`
9270
9271 - `DecisionQuestionInputText object { text, type }`
9272
9273 - `DecisionQuestionInputImage object { image_url, type, detail }`
9274
9275 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
9276
9277 - `DecisionInputJSON object { data, type }`
9278
9279 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8894 9280
8895 - `type: "choice"`9281 - `type: "choice"`
8896 9282
8904 9290
8905 Rate the input against the supplied ordered levels.9291 Rate the input against the supplied ordered levels.
8906 9292
89079293 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
9294
9295 - `string`
9296
9297 - `array of DecisionQuestionInputPart`
9298
9299 - `DecisionQuestionInputText object { text, type }`
9300
9301 - `DecisionQuestionInputImage object { image_url, type, detail }`
9302
9303 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
9304
9305 - `DecisionInputJSON object { data, type }`
9306
9307 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
8908 9308
8909 - `levels: array of object { label, description }`9309 - `levels: array of object { label, description }`
8910 9310
10120 10520
10121 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.10521 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.
10122 10522
1012310523 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null` - `delegation: optional ClientDelegation or Responses { responses, type, acknowledgement_delay_ms } or Decisions { decisions, type, acknowledgement_delay_ms } or null`
10124 10524
10125 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.10525 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.
10126 10526
1012710527 - `ClientDelegation object { type }` - `ClientDelegation object { type, acknowledgement_delay_ms }`
10128 10528
10129 Delegate tasks to your application. The Live session emits delegation events that your backend handles.10529 Delegate tasks to your application. The Live session emits delegation events that your backend handles.
10130 10530
10134 10534
10135 - `"client"`10535 - `"client"`
10136 10536
1013710537 - `Responses object { responses, type }` - `acknowledgement_delay_ms: optional number`
10538
10539 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
10540
10541 - `Responses object { responses, type, acknowledgement_delay_ms }`
10138 10542
10139 Delegate tasks to a Responses model managed by the Live session.10543 Delegate tasks to a Responses model managed by the Live session.
10140 10544
10740 11144
10741 - `"responses"`11145 - `"responses"`
10742 11146
1074311147 - `Decisions object { decisions, type }` - `acknowledgement_delay_ms: optional number`
11148
11149 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400 for Decisions sessions and 0 (request immediately) for other sessions. Omission in a session update preserves the current value. Updates apply to subsequent delegations.
11150
11151 - `Decisions object { decisions, type, acknowledgement_delay_ms }`
10744 11152
10745 - `decisions: object { model, questions }`11153 - `decisions: object { model, questions }`
10746 11154
10754 11162
10755 Estimate how likely it is that a statement about the input is true.11163 Estimate how likely it is that a statement about the input is true.
10756 11164
1075711165 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11166
11167 - `string`
11168
11169 - `array of DecisionQuestionInputPart`
11170
11171 - `DecisionQuestionInputText object { text, type }`
11172
11173 - `text: string`
11174
11175 - `type: "input_text"`
11176
11177 - `"input_text"`
11178
11179 - `DecisionQuestionInputImage object { image_url, type, detail }`
11180
11181 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11182
11183 - `image_url: string`
11184
11185 A base64-encoded image in a data URL or a publicly accessible HTTP(S) image URL.
11186
11187 - `type: "input_image"`
11188
11189 - `"input_image"`
11190
11191 - `detail: optional "low" or "high" or "auto" or "original" or null`
11192
11193 The image detail level, using the selected model's image profile. Defaults to auto.
11194
11195 - `"low"`
11196
11197 - `"high"`
11198
11199 - `"auto"`
11200
11201 - `"original"`
11202
11203 - `DecisionInputJSON object { data, type }`
11204
11205 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
11206
11207 - `data: map[unknown] or array of map[unknown]`
11208
11209 - `map[unknown]`
11210
11211 - `array of map[unknown]`
11212
11213 - `type: "input_json"`
11214
11215 - `"input_json"`
10758 11216
10759 - `type: "predicate"`11217 - `type: "predicate"`
10760 11218
10782 11240
10783 - `description: optional string`11241 - `description: optional string`
10784 11242
1078511243 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11244
11245 - `string`
11246
11247 - `array of DecisionQuestionInputPart`
11248
11249 - `DecisionQuestionInputText object { text, type }`
11250
11251 - `DecisionQuestionInputImage object { image_url, type, detail }`
11252
11253 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11254
11255 - `DecisionInputJSON object { data, type }`
11256
11257 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
10786 11258
10787 - `type: "choice"`11259 - `type: "choice"`
10788 11260
10796 11268
10797 Rate the input against the supplied ordered levels.11269 Rate the input against the supplied ordered levels.
10798 11270
1079911271 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11272
11273 - `string`
11274
11275 - `array of DecisionQuestionInputPart`
11276
11277 - `DecisionQuestionInputText object { text, type }`
11278
11279 - `DecisionQuestionInputImage object { image_url, type, detail }`
11280
11281 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11282
11283 - `DecisionInputJSON object { data, type }`
11284
11285 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
10800 11286
10801 - `levels: array of object { label, description }`11287 - `levels: array of object { label, description }`
10802 11288
10816 11302
10817 - `"decisions"`11303 - `"decisions"`
10818 11304
11305 - `acknowledgement_delay_ms: optional number`
11306
11307 Milliseconds to wait before requesting an automatic spoken acknowledgement for a delegation. The model may still speak before this delay. Any commentary or thinking appended to the session cancels all pending acknowledgements, including those for other delegations. Defaults to 400. Updates apply to subsequent delegations.
11308
10819 - `input: optional array of InitialItem`11309 - `input: optional array of InitialItem`
10820 11310
10821 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).11311 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and a configured rendered-token limit (8,192 by default).
10988 11478
10989 Estimate how likely it is that a statement about the input is true.11479 Estimate how likely it is that a statement about the input is true.
10990 11480
1099111481 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11482
11483 - `string`
11484
11485 - `array of DecisionQuestionInputPart`
11486
11487 - `DecisionQuestionInputText object { text, type }`
11488
11489 - `DecisionQuestionInputImage object { image_url, type, detail }`
11490
11491 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11492
11493 - `DecisionInputJSON object { data, type }`
11494
11495 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
10992 11496
10993 - `type: "predicate"`11497 - `type: "predicate"`
10994 11498
11016 11520
11017 - `description: optional string`11521 - `description: optional string`
11018 11522
1101911523 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11524
11525 - `string`
11526
11527 - `array of DecisionQuestionInputPart`
11528
11529 - `DecisionQuestionInputText object { text, type }`
11530
11531 - `DecisionQuestionInputImage object { image_url, type, detail }`
11532
11533 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11534
11535 - `DecisionInputJSON object { data, type }`
11536
11537 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
11020 11538
11021 - `type: "choice"`11539 - `type: "choice"`
11022 11540
11030 11548
11031 Rate the input against the supplied ordered levels.11549 Rate the input against the supplied ordered levels.
11032 11550
1103311551 - `instructions: string` - `instructions: string or array of DecisionQuestionInputPart`
11552
11553 - `string`
11554
11555 - `array of DecisionQuestionInputPart`
11556
11557 - `DecisionQuestionInputText object { text, type }`
11558
11559 - `DecisionQuestionInputImage object { image_url, type, detail }`
11560
11561 An image provided as a base64 data URL or a publicly accessible HTTP(S) URL. File IDs are not supported.
11562
11563 - `DecisionInputJSON object { data, type }`
11564
11565 A JSON object or an array of objects rendered as text. Nested values may be any JSON value. Limited to 32 container levels, 10,000 values, and 256 KiB of compact UTF-8 JSON.
11034 11566
11035 - `levels: array of object { label, description }`11567 - `levels: array of object { label, description }`
11036 11568