SpyBara
Go Premium

Reference 2026-10-14 23:59 UTC to 2026-10-15 23:00 UTC

9 files changed +4,205 −528. View all changes and history on the product overview
2026
Sat 31 23:01 Fri 30 23:59 Thu 29 23:59 Wed 28 23:00 Tue 27 23:58 Mon 26 23:58 Sat 24 23:02 Fri 23 23:58 Thu 22 22:59 Wed 21 23:02 Tue 20 23:02 Sun 18 23:00 Sat 17 22:57 Fri 16 23:02 Thu 15 23:00 Wed 14 23:59 Tue 13 23:00 Fri 9 22:57 Thu 8 23:01 Wed 7 23:57 Tue 6 22:58 Mon 5 22:59 Sun 4 22:58 Sat 3 22:58 Fri 2 23:58 Thu 1 22:59
Details

208 208 

209 The total number of tokens (images and text) used for the image generation.209 The total number of tokens (images and text) used for the image generation.

210 210 

211- `safety_identifier: optional string or null`

212 

213 The effective safety identifier used for safety monitoring and abuse detection. This is the non-empty `safety_identifier` from the request, or the deprecated `user` value when `safety_identifier` is omitted, null, or empty.

214 

211### Example215### Example

212 216 

213```json217```json

Details

208 208 

209 The total number of tokens (images and text) used for the image generation.209 The total number of tokens (images and text) used for the image generation.

210 210 

211- `safety_identifier: optional string or null`

212 

213 The effective safety identifier used for safety monitoring and abuse detection. This is the non-empty `safety_identifier` from the request, or the deprecated `user` value when `safety_identifier` is omitted, null, or empty.

214 

211### Example215### Example

212 216 

213```json217```json

Details

8 8 

9### Returns9### Returns

10 10 

11- `ImagesResponse object { created, background, data, 4 more }`11- `ImagesResponse object { created, background, data, 5 more }`

12 12 

13 The response from the image generation endpoint.13 The response from the image generation endpoint.

14 14 


64 64 

65 - `"max"`65 - `"max"`

66 66 

67 - `safety_identifier: optional string or null`

68 

69 The effective safety identifier used for safety monitoring and abuse detection. This is the non-empty `safety_identifier` from the request, or the deprecated `user` value when `safety_identifier` is omitted, null, or empty.

70 

67 - `size: optional string or "1024x1024" or "1024x1536" or "1536x1024"`71 - `size: optional string or "1024x1024" or "1024x1536" or "1536x1024"`

68 72 

69 The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.73 The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.


149 ],153 ],

150 "output_format": "png",154 "output_format": "png",

151 "quality": "low",155 "quality": "low",

156 "safety_identifier": "safety_identifier",

152 "size": "1024x1024",157 "size": "1024x1024",

153 "usage": {158 "usage": {

154 "input_tokens": 0,159 "input_tokens": 0,

Details

795 795 

796### session.update796### session.update

797 797 

798Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`.798Update the delegation settings or transcript triggers of an active Live session. The server acknowledges accepted changes with `session.updated`.

799 799 

800#### Schema800#### Schema

801 801 


803 803 

804- `session: SessionUpdateConfig`804- `session: SessionUpdateConfig`

805 805 

806 Sparse delegation updates. Omitted settings retain their values. The delegation type cannot change, including resetting Responses delegation to null or client. Model, frontend instructions, audio, and startup input are immutable.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.

807 807 

808 - `delegation: optional ClientDelegation or Responses { type, responses } or null`808 - `delegation: optional ClientDelegation or Responses { type, responses } or Decisions { type, decisions } or null`

809 809 

810 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.810 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.

811 811 


1425 1425 

1426 - `"apply_patch"`1426 - `"apply_patch"`

1427 1427 

1428 - `Decisions object { type, decisions }`

1429 

1430 - `type: "decisions"`

1431 

1432 - `"decisions"`

1433 

1434 - `decisions: optional DecisionsDelegationUpdateConfig`

1435 

1436 - `model: optional string`

1437 

1438 - `questions: optional array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

1439 

1440 Native Decision API questions evaluated together, in order.

1441 

1442 - `Predicate object { instructions, type, name }`

1443 

1444 Estimate how likely it is that a statement about the input is true.

1445 

1446 - `instructions: string`

1447 

1448 - `type: "predicate"`

1449 

1450 The type of the object. Always `predicate`.

1451 

1452 - `"predicate"`

1453 

1454 - `name: optional string`

1455 

1456 - `Choice object { choices, instructions, type, name }`

1457 

1458 Choose from the supplied options based on the input.

1459 

1460 - `choices: array of object { value, description }`

1461 

1462 Provide between 2 and 255 choices. Each choice must be unique.

1463 

1464 - `value: string or boolean`

1465 

1466 Choice values are typed: a string and a boolean with the same text are distinct.

1467 

1468 - `string`

1469 

1470 - `boolean`

1471 

1472 - `description: optional string`

1473 

1474 - `instructions: string`

1475 

1476 - `type: "choice"`

1477 

1478 The type of the object. Always `choice`.

1479 

1480 - `"choice"`

1481 

1482 - `name: optional string`

1483 

1484 - `Score object { instructions, levels, type, name }`

1485 

1486 Rate the input against the supplied ordered levels.

1487 

1488 - `instructions: string`

1489 

1490 - `levels: array of object { label, description }`

1491 

1492 - `label: string`

1493 

1494 - `description: optional string`

1495 

1496 - `type: "score"`

1497 

1498 The type of the object. Always `score`.

1499 

1500 - `"score"`

1501 

1502 - `name: optional string`

1503 

1504 - `triggers: optional array of object { decisions, event_type, type }`

1505 

1506 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

1507 

1508 - `decisions: object { questions }`

1509 

1510 Questions evaluated using the current transcript and the session's shared Decision items.

1511 

1512 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

1513 

1514 Native Decision API questions evaluated together, in order.

1515 

1516 - `Predicate object { instructions, type, name }`

1517 

1518 Estimate how likely it is that a statement about the input is true.

1519 

1520 - `instructions: string`

1521 

1522 - `type: "predicate"`

1523 

1524 The type of the object. Always `predicate`.

1525 

1526 - `"predicate"`

1527 

1528 - `name: optional string`

1529 

1530 - `Choice object { choices, instructions, type, name }`

1531 

1532 Choose from the supplied options based on the input.

1533 

1534 - `choices: array of object { value, description }`

1535 

1536 Provide between 2 and 255 choices. Each choice must be unique.

1537 

1538 - `value: string or boolean`

1539 

1540 Choice values are typed: a string and a boolean with the same text are distinct.

1541 

1542 - `string`

1543 

1544 - `boolean`

1545 

1546 - `description: optional string`

1547 

1548 - `instructions: string`

1549 

1550 - `type: "choice"`

1551 

1552 The type of the object. Always `choice`.

1553 

1554 - `"choice"`

1555 

1556 - `name: optional string`

1557 

1558 - `Score object { instructions, levels, type, name }`

1559 

1560 Rate the input against the supplied ordered levels.

1561 

1562 - `instructions: string`

1563 

1564 - `levels: array of object { label, description }`

1565 

1566 - `label: string`

1567 

1568 - `description: optional string`

1569 

1570 - `type: "score"`

1571 

1572 The type of the object. Always `score`.

1573 

1574 - `"score"`

1575 

1576 - `name: optional string`

1577 

1578 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

1579 

1580 - `"session.input_transcript.delta"`

1581 

1582 - `"session.output_transcript.delta"`

1583 

1584 - `type: "decisions"`

1585 

1586 - `"decisions"`

1587 

1428- `type: "session.update"`1588- `type: "session.update"`

1429 1589 

1430 The Live client event type. Always `session.update`.1590 The Live client event type. Always `session.update`.


1544}1704}

1545```1705```

1546 1706 

1707<a id="session.output_audio.fixture.play"></a>

1708 

1709### session.output_audio.fixture.play

1710 

1711Play one complete audio fixture through the session output. Send this event over the primary WebSocket or a server sideband. Audio must be raw mono PCM16 little-endian at 24 kHz, regardless of the session audio format, and at most 30 seconds. The entire payload is validated before model speech is interrupted and input is muted. Only one fixture can be active. fixture.playing acknowledges acceptance and fixture.played reports server mixer drain. These notifications are not exact transport-media boundaries. Input arriving during playback is dropped and not replayed.

1712 

1713#### Schema

1714 

1715Schema name: `LiveOutputAudioFixturePlayParam`

1716 

1717- `audio: string`

1718 

1719 Base64-encoded raw mono PCM16 audio, little-endian, at 24 kHz. Do not include a WAV or other container header.

1720 

1721- `type: "session.output_audio.fixture.play"`

1722 

1723 - `"session.output_audio.fixture.play"`

1724 

1725- `event_id: optional string or null`

1726 

1727 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

1728 

1729#### Example

1730 

1731```json

1732{

1733 "type": "session.output_audio.fixture.play",

1734 "event_id": "evt_play_001",

1735 "audio": "AAAAAA=="

1736}

1737```

1738 

1547<a id="session.instructions.append"></a>1739<a id="session.instructions.append"></a>

1548 1740 

1549### session.instructions.append1741### session.instructions.append


1661}1853}

1662```1854```

1663 1855 

1856<a id="decision.create"></a>

1857 

1858### decision.create

1859 

1860Evaluate the configured questions using the current conversation and Decision inputs. Reusing an event_id is rejected for the lifetime of the session.

1861 

1862#### Schema

1863 

1864Schema name: `LiveDecisionCreateParam`

1865 

1866- `event_id: string`

1867 

1868- `type: "decision.create"`

1869 

1870 - `"decision.create"`

1871 

1872#### Example

1873 

1874```json

1875{

1876 "type": "decision.create",

1877 "event_id": "decision_1"

1878}

1879```

1880 

1881<a id="decision.item.create"></a>

1882 

1883### decision.item.create

1884 

1885Append an input item for future decisions without starting an evaluation or changing Live voice context.

1886 

1887#### Schema

1888 

1889Schema name: `LiveDecisionItemCreateParam`

1890 

1891- `item: object { content, role, id, type }`

1892 

1893 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

1894 

1895 The text input to the model.

1896 

1897 - `string`

1898 

1899 The text input to the model.

1900 

1901 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

1902 

1903 - `InputText object { text, type }`

1904 

1905 - `text: string`

1906 

1907 The text input to the model.

1908 

1909 - `type: "input_text"`

1910 

1911 The type of the input item. Always `input_text`.

1912 

1913 - `"input_text"`

1914 

1915 - `InputImage object { image_url, type, detail }`

1916 

1917 - `image_url: string`

1918 

1919 An inline image encoded as a data URL.

1920 

1921 - `type: "input_image"`

1922 

1923 The type of the input item. Always `input_image`.

1924 

1925 - `"input_image"`

1926 

1927 - `detail: optional "low" or "high" or "auto" or "original" or null`

1928 

1929 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

1930 

1931 - `"low"`

1932 

1933 - `"high"`

1934 

1935 - `"auto"`

1936 

1937 - `"original"`

1938 

1939 - `role: "user"`

1940 

1941 The message role. Always `user`.

1942 

1943 - `"user"`

1944 

1945 - `id: optional string or null`

1946 

1947 The unique ID of this message item.

1948 

1949 - `type: optional "message"`

1950 

1951 - `"message"`

1952 

1953- `type: "decision.item.create"`

1954 

1955 - `"decision.item.create"`

1956 

1957- `event_id: optional string or null`

1958 

1959 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

1960 

1961#### Example

1962 

1963```json

1964{

1965 "type": "decision.item.create",

1966 "event_id": "browser_1",

1967 "item": {

1968 "type": "message",

1969 "role": "user",

1970 "content": [

1971 {

1972 "type": "input_text",

1973 "text": "Wikipedia is open."

1974 }

1975 ]

1976 }

1977}

1978```

1979 

1980<a id="decision.item.delete"></a>

1981 

1982### decision.item.delete

1983 

1984Delete an input item from future decisions without starting an evaluation or changing Live voice context.

1985 

1986#### Schema

1987 

1988Schema name: `LiveDecisionItemDeleteParam`

1989 

1990- `item_id: string`

1991 

1992- `type: "decision.item.delete"`

1993 

1994 - `"decision.item.delete"`

1995 

1996- `event_id: optional string or null`

1997 

1998 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

1999 

2000#### Example

2001 

2002```json

2003{

2004 "type": "decision.item.delete",

2005 "event_id": "remove_browser_1",

2006 "item_id": "msg_browser_1"

2007}

2008```

2009 

1664<a id="response.item.create"></a>2010<a id="response.item.create"></a>

1665 2011 

1666### response.item.create2012### response.item.create


6434 6780 

6435 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.6781 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

6436 6782 

6437 - `delegation: optional ClientDelegation or Responses { responses, type } or null`6783 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

6438 6784 

6439 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.6785 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

6440 6786 

6441 - `ClientDelegation object { type }`6787 - `ClientDelegation object { type }`

6442 6788 


7054 7400 

7055 - `"responses"`7401 - `"responses"`

7056 7402 

7057 - `input: optional array of InitialItem`7403 - `Decisions object { decisions, type }`

7058 7404 

7059 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.7405 - `decisions: object { model, questions }`

7060 7406 

7061 - `Developer object { content, role, id, 2 more }`7407 - `model: string`

7062 7408 

7063 A developer message included in the initial text history of a Live session.7409 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

7064 7410 

7065 - `content: array of object { text, type }`7411 Native Decision API questions evaluated together, in order.

7066 7412 

7067 The message content. Supply exactly one text part for the initial Live conversation history.7413 - `Predicate object { instructions, type, name }`

7068 7414 

7069 - `text: string`7415 Estimate how likely it is that a statement about the input is true.

7070 7416 

7071 The message text to include in the Live session’s initial conversation history.7417 - `instructions: string`

7072 7418 

7073 - `type: optional "input_text"`7419 - `type: "predicate"`

7074 7420 

7075 The text content type. Always `input_text`.7421 The type of the object. Always `predicate`.

7076 7422 

7077 - `"input_text"`7423 - `"predicate"`

7078 7424 

7079 - `role: "developer"`7425 - `name: optional string`

7080 7426 

7081 The author of this history message. Always `developer`.7427 - `Choice object { choices, instructions, type, name }`

7082 7428 

7083 - `"developer"`7429 Choose from the supplied options based on the input.

7084 7430 

7085 - `id: optional string or null`7431 - `choices: array of object { value, description }`

7086 7432 

7087 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.7433 Provide between 2 and 255 choices. Each choice must be unique.

7088 7434 

7089 - `status: optional "incomplete" or "completed" or null`7435 - `value: string or boolean`

7090 7436 

7091 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.7437 Choice values are typed: a string and a boolean with the same text are distinct.

7092 7438 

7093 - `"incomplete"`7439 - `string`

7094 7440 

7095 - `"completed"`7441 - `boolean`

7096 7442 

7097 - `type: optional "message"`7443 - `description: optional string`

7098 7444 

7099 The history item type. Always `message`.7445 - `instructions: string`

7100 7446 

7101 - `"message"`7447 - `type: "choice"`

7448 

7449 The type of the object. Always `choice`.

7450 

7451 - `"choice"`

7452 

7453 - `name: optional string`

7454 

7455 - `Score object { instructions, levels, type, name }`

7456 

7457 Rate the input against the supplied ordered levels.

7458 

7459 - `instructions: string`

7460 

7461 - `levels: array of object { label, description }`

7462 

7463 - `label: string`

7464 

7465 - `description: optional string`

7466 

7467 - `type: "score"`

7468 

7469 The type of the object. Always `score`.

7470 

7471 - `"score"`

7472 

7473 - `name: optional string`

7474 

7475 - `type: "decisions"`

7476 

7477 - `"decisions"`

7478 

7479 - `input: optional array of InitialItem`

7480 

7481 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).

7482 

7483 - `Developer object { content, role, id, 2 more }`

7484 

7485 A developer message included in the initial text history of a Live session.

7486 

7487 - `content: array of object { text, type }`

7488 

7489 The message content. Supply exactly one text part for the initial Live conversation history.

7490 

7491 - `text: string`

7492 

7493 The message text to include in the Live session’s initial conversation history.

7494 

7495 - `type: optional "input_text"`

7496 

7497 The text content type. Always `input_text`.

7498 

7499 - `"input_text"`

7500 

7501 - `role: "developer"`

7502 

7503 The author of this history message. Always `developer`.

7504 

7505 - `"developer"`

7506 

7507 - `id: optional string or null`

7508 

7509 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.

7510 

7511 - `status: optional "incomplete" or "completed" or null`

7512 

7513 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.

7514 

7515 - `"incomplete"`

7516 

7517 - `"completed"`

7518 

7519 - `type: optional "message"`

7520 

7521 The history item type. Always `message`.

7522 

7523 - `"message"`

7102 7524 

7103 - `User object { content, role, id, 2 more }`7525 - `User object { content, role, id, 2 more }`

7104 7526 


7210 7632 

7211 Whether to store the session for later forking and recording download. Defaults to false for new sessions.7633 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

7212 7634 

7635 - `triggers: optional array of object { decisions, event_type, type }`

7636 

7637 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

7638 

7639 - `decisions: object { questions }`

7640 

7641 Questions evaluated using the current transcript and the session's shared Decision items.

7642 

7643 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

7644 

7645 Native Decision API questions evaluated together, in order.

7646 

7647 - `Predicate object { instructions, type, name }`

7648 

7649 Estimate how likely it is that a statement about the input is true.

7650 

7651 - `instructions: string`

7652 

7653 - `type: "predicate"`

7654 

7655 The type of the object. Always `predicate`.

7656 

7657 - `"predicate"`

7658 

7659 - `name: optional string`

7660 

7661 - `Choice object { choices, instructions, type, name }`

7662 

7663 Choose from the supplied options based on the input.

7664 

7665 - `choices: array of object { value, description }`

7666 

7667 Provide between 2 and 255 choices. Each choice must be unique.

7668 

7669 - `value: string or boolean`

7670 

7671 Choice values are typed: a string and a boolean with the same text are distinct.

7672 

7673 - `string`

7674 

7675 - `boolean`

7676 

7677 - `description: optional string`

7678 

7679 - `instructions: string`

7680 

7681 - `type: "choice"`

7682 

7683 The type of the object. Always `choice`.

7684 

7685 - `"choice"`

7686 

7687 - `name: optional string`

7688 

7689 - `Score object { instructions, levels, type, name }`

7690 

7691 Rate the input against the supplied ordered levels.

7692 

7693 - `instructions: string`

7694 

7695 - `levels: array of object { label, description }`

7696 

7697 - `label: string`

7698 

7699 - `description: optional string`

7700 

7701 - `type: "score"`

7702 

7703 The type of the object. Always `score`.

7704 

7705 - `"score"`

7706 

7707 - `name: optional string`

7708 

7709 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

7710 

7711 - `"session.input_transcript.delta"`

7712 

7713 - `"session.output_transcript.delta"`

7714 

7715 - `type: "decisions"`

7716 

7717 - `"decisions"`

7718 

7213- `type: "session.started"`7719- `type: "session.started"`

7214 7720 

7215 The event type, always `session.started`.7721 The event type, always `session.started`.


7464 7970 

7465 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.7971 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

7466 7972 

7467 - `delegation: optional ClientDelegation or Responses { responses, type } or null`7973 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

7468 7974 

7469 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.7975 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

7470 7976 

7471 - `ClientDelegation object { type }`7977 - `ClientDelegation object { type }`

7472 7978 


8084 8590 

8085 - `"responses"`8591 - `"responses"`

8086 8592 

8593 - `Decisions object { decisions, type }`

8594 

8595 - `decisions: object { model, questions }`

8596 

8597 - `model: string`

8598 

8599 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

8600 

8601 Native Decision API questions evaluated together, in order.

8602 

8603 - `Predicate object { instructions, type, name }`

8604 

8605 Estimate how likely it is that a statement about the input is true.

8606 

8607 - `instructions: string`

8608 

8609 - `type: "predicate"`

8610 

8611 The type of the object. Always `predicate`.

8612 

8613 - `"predicate"`

8614 

8615 - `name: optional string`

8616 

8617 - `Choice object { choices, instructions, type, name }`

8618 

8619 Choose from the supplied options based on the input.

8620 

8621 - `choices: array of object { value, description }`

8622 

8623 Provide between 2 and 255 choices. Each choice must be unique.

8624 

8625 - `value: string or boolean`

8626 

8627 Choice values are typed: a string and a boolean with the same text are distinct.

8628 

8629 - `string`

8630 

8631 - `boolean`

8632 

8633 - `description: optional string`

8634 

8635 - `instructions: string`

8636 

8637 - `type: "choice"`

8638 

8639 The type of the object. Always `choice`.

8640 

8641 - `"choice"`

8642 

8643 - `name: optional string`

8644 

8645 - `Score object { instructions, levels, type, name }`

8646 

8647 Rate the input against the supplied ordered levels.

8648 

8649 - `instructions: string`

8650 

8651 - `levels: array of object { label, description }`

8652 

8653 - `label: string`

8654 

8655 - `description: optional string`

8656 

8657 - `type: "score"`

8658 

8659 The type of the object. Always `score`.

8660 

8661 - `"score"`

8662 

8663 - `name: optional string`

8664 

8665 - `type: "decisions"`

8666 

8667 - `"decisions"`

8668 

8087 - `input: optional array of InitialItem`8669 - `input: optional array of InitialItem`

8088 8670 

8089 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.8671 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).

8090 8672 

8091 - `Developer object { content, role, id, 2 more }`8673 - `Developer object { content, role, id, 2 more }`

8092 8674 


8240 8822 

8241 Whether to store the session for later forking and recording download. Defaults to false for new sessions.8823 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

8242 8824 

8825 - `triggers: optional array of object { decisions, event_type, type }`

8826 

8827 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

8828 

8829 - `decisions: object { questions }`

8830 

8831 Questions evaluated using the current transcript and the session's shared Decision items.

8832 

8833 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

8834 

8835 Native Decision API questions evaluated together, in order.

8836 

8837 - `Predicate object { instructions, type, name }`

8838 

8839 Estimate how likely it is that a statement about the input is true.

8840 

8841 - `instructions: string`

8842 

8843 - `type: "predicate"`

8844 

8845 The type of the object. Always `predicate`.

8846 

8847 - `"predicate"`

8848 

8849 - `name: optional string`

8850 

8851 - `Choice object { choices, instructions, type, name }`

8852 

8853 Choose from the supplied options based on the input.

8854 

8855 - `choices: array of object { value, description }`

8856 

8857 Provide between 2 and 255 choices. Each choice must be unique.

8858 

8859 - `value: string or boolean`

8860 

8861 Choice values are typed: a string and a boolean with the same text are distinct.

8862 

8863 - `string`

8864 

8865 - `boolean`

8866 

8867 - `description: optional string`

8868 

8869 - `instructions: string`

8870 

8871 - `type: "choice"`

8872 

8873 The type of the object. Always `choice`.

8874 

8875 - `"choice"`

8876 

8877 - `name: optional string`

8878 

8879 - `Score object { instructions, levels, type, name }`

8880 

8881 Rate the input against the supplied ordered levels.

8882 

8883 - `instructions: string`

8884 

8885 - `levels: array of object { label, description }`

8886 

8887 - `label: string`

8888 

8889 - `description: optional string`

8890 

8891 - `type: "score"`

8892 

8893 The type of the object. Always `score`.

8894 

8895 - `"score"`

8896 

8897 - `name: optional string`

8898 

8899 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

8900 

8901 - `"session.input_transcript.delta"`

8902 

8903 - `"session.output_transcript.delta"`

8904 

8905 - `type: "decisions"`

8906 

8907 - `"decisions"`

8908 

8243- `type: "session.updated"`8909- `type: "session.updated"`

8244 8910 

8245 The event type, always `session.updated`.8911 The event type, always `session.updated`.


8354}9020}

8355```9021```

8356 9022 

9023<a id="session.output_audio.fixture.playing"></a>

9024 

9025### session.output_audio.fixture.playing

9026 

9027The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

9028 

9029#### Schema

9030 

9031Schema name: `LiveOutputAudioFixturePlaying`

9032 

9033- `event_id: string`

9034 

9035 The unique ID of the Live server event.

9036 

9037- `type: "session.output_audio.fixture.playing"`

9038 

9039 - `"session.output_audio.fixture.playing"`

9040 

9041- `client_event_id: optional string`

9042 

9043 The event_id of the client command associated with this server event, when supplied.

9044 

9045#### Example

9046 

9047```json

9048{

9049 "type": "session.output_audio.fixture.playing",

9050 "event_id": "evt_playing_001",

9051 "client_event_id": "evt_play_001"

9052}

9053```

9054 

9055<a id="session.output_audio.fixture.played"></a>

9056 

9057### session.output_audio.fixture.played

9058 

9059The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

9060 

9061#### Schema

9062 

9063Schema name: `LiveOutputAudioFixturePlayed`

9064 

9065- `event_id: string`

9066 

9067 The unique ID of the Live server event.

9068 

9069- `type: "session.output_audio.fixture.played"`

9070 

9071 - `"session.output_audio.fixture.played"`

9072 

9073- `client_event_id: optional string`

9074 

9075 The event_id of the client command associated with this server event, when supplied.

9076 

9077#### Example

9078 

9079```json

9080{

9081 "type": "session.output_audio.fixture.played",

9082 "event_id": "evt_played_001",

9083 "client_event_id": "evt_play_001"

9084}

9085```

9086 

8357<a id="session.instructions.appended"></a>9087<a id="session.instructions.appended"></a>

8358 9088 

8359### session.instructions.appended9089### session.instructions.appended


8573}9303}

8574```9304```

8575 9305 

8576<a id="session.output_transcript.delta"></a>9306<a id="session.output_transcript.delta"></a>

9307 

9308### session.output_transcript.delta

9309 

9310A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

9311 

9312#### Schema

9313 

9314Schema name: `LiveOutputTranscriptDelta`

9315 

9316- `delta: string`

9317 

9318 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.

9319 

9320- `end_ms: number`

9321 

9322 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.

9323 

9324- `event_id: string`

9325 

9326 The unique ID of the Live server event.

9327 

9328- `start_ms: number`

9329 

9330 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.

9331 

9332- `type: "session.output_transcript.delta"`

9333 

9334 The event type, always `session.output_transcript.delta`.

9335 

9336 - `"session.output_transcript.delta"`

9337 

9338- `client_event_id: optional string`

9339 

9340 The event_id of the client command associated with this server event, when supplied.

9341 

9342#### Example

9343 

9344```json

9345{

9346 "type": "session.output_transcript.delta",

9347 "event_id": "evt_output_transcript_001",

9348 "delta": "Would you like me to reserve that table?",

9349 "start_ms": 5400,

9350 "end_ms": 7200

9351}

9352```

9353 

9354<a id="session.delegation.created"></a>

9355 

9356### session.delegation.created

9357 

9358Returned when the Live model delegates work to your application, Responses, or Decisions. Contains delegation metadata and the position on the session timeline where the work was delegated.

9359 

9360#### Schema

9361 

9362Schema name: `LiveDelegationCreated`

9363 

9364- `delegation: object { id, target, type, response_id }`

9365 

9366 The delegated work identifier and destination. This object contains metadata, not the task text.

9367 

9368 - `id: string`

9369 

9370 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating backend events.

9371 

9372 - `target: "client" or "responses" or "decisions"`

9373 

9374 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

9375 

9376 - `"client" or "responses" or "decisions"`

9377 

9378 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

9379 

9380 - `"client"`

9381 

9382 - `"responses"`

9383 

9384 - `"decisions"`

9385 

9386 - `type: "delegation"`

9387 

9388 The object type, always `delegation`.

9389 

9390 - `"delegation"`

9391 

9392 - `response_id: optional string`

9393 

9394 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.

9395 

9396- `event_id: string`

9397 

9398 The unique ID of the Live server event.

9399 

9400- `offset_ms: number`

9401 

9402 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.

9403 

9404- `type: "session.delegation.created"`

9405 

9406 The event type, always `session.delegation.created`.

9407 

9408 - `"session.delegation.created"`

9409 

9410- `client_event_id: optional string`

9411 

9412 The event_id of the client command associated with this server event, when supplied.

9413 

9414#### Example

9415 

9416```json

9417{

9418 "type": "session.delegation.created",

9419 "event_id": "evt_delegation_001",

9420 "offset_ms": 3600,

9421 "delegation": {

9422 "id": "del_abc123",

9423 "type": "delegation",

9424 "target": "client"

9425 }

9426}

9427```

9428 

9429<a id="decision.event"></a>

9430 

9431### decision.event

9432 

9433A Decision API event for a Live delegation or transcript trigger. For a trigger, source_event_id identifies the transcript delta that caused this evaluation.

9434 

9435#### Schema

9436 

9437Schema name: `LiveDecisionEvent`

9438 

9439- `delegation_id: string or null`

9440 

9441 The Live delegation ID, or null for a transcript trigger.

9442 

9443- `event: object { decision, type }`

9444 

9445 - `decision: Decision`

9446 

9447 The native Decision API response, including its model, ordered answers, and token usage.

9448 

9449 - `answers: array of Predicate { name, probability, type } or Choice { choice, confidence, name, 2 more } or Score { confidence, name, probabilities, 2 more } or Refusal { name, type }`

9450 

9451 Answers in question order. Any question can return a refusal instead of an answer; other questions can still receive answers. A refusal has `type: "refusal"` and the question's `name`, or `null` if it was unnamed.

9452 

9453 - `Predicate object { name, probability, type }`

9454 

9455 - `name: string or null`

9456 

9457 - `probability: number`

9458 

9459 - `type: "predicate"`

9460 

9461 The type of the object. Always `predicate`.

9462 

9463 - `"predicate"`

9464 

9465 - `Choice object { choice, confidence, name, 2 more }`

9466 

9467 - `choice: string or boolean`

9468 

9469 Choice values are typed: a string and a boolean with the same text are distinct.

9470 

9471 - `string`

9472 

9473 - `boolean`

9474 

9475 - `confidence: number`

9476 

9477 - `name: string or null`

9478 

9479 - `probabilities: array of object { probability, value }`

9480 

9481 - `probability: number`

9482 

9483 - `value: string or boolean`

9484 

9485 Choice values are typed: a string and a boolean with the same text are distinct.

9486 

9487 - `string`

9488 

9489 - `boolean`

9490 

9491 - `type: "choice"`

9492 

9493 The type of the object. Always `choice`.

9494 

9495 - `"choice"`

9496 

9497 - `Score object { confidence, name, probabilities, 2 more }`

9498 

9499 - `confidence: number`

9500 

9501 - `name: string or null`

9502 

9503 - `probabilities: array of object { label, probability, value }`

9504 

9505 - `label: string`

9506 

9507 - `probability: number`

9508 

9509 - `value: number`

9510 

9511 - `score: number`

9512 

9513 - `type: "score"`

9514 

9515 The type of the object. Always `score`.

9516 

9517 - `"score"`

9518 

9519 - `Refusal object { name, type }`

9520 

9521 The model declined to answer this question. Other questions in the same request can still receive answers.

9522 

9523 - `name: string or null`

9524 

9525 - `type: "refusal"`

9526 

9527 The type of the object. Always `refusal`.

9528 

9529 - `"refusal"`

9530 

9531 - `model: string`

9532 

9533 The model used.

9534 

9535 - `usage: object { input_tokens, input_tokens_details, output_tokens, 2 more }`

9536 

9537 Token usage for the request.

9538 

9539 - `input_tokens: number`

9540 

9541 - `input_tokens_details: object { cache_write_tokens, cached_tokens }`

9542 

9543 - `cache_write_tokens: number`

9544 

9545 - `cached_tokens: number`

9546 

9547 - `output_tokens: number`

9548 

9549 - `output_tokens_details: object { reasoning_tokens }`

9550 

9551 - `reasoning_tokens: number`

9552 

9553 - `total_tokens: number`

9554 

9555 - `type: "decision.completed"`

9556 

9557 - `"decision.completed"`

9558 

9559- `event_id: string`

9560 

9561 The unique ID of this Live server event.

9562 

9563- `source_event_id: string or null`

9564 

9565 The event_id of the transcript delta that fired this trigger, or null for a delegation.

9566 

9567- `source_event_type: "session.input_transcript.delta" or "session.output_transcript.delta" or null`

9568 

9569 - `"session.input_transcript.delta" or "session.output_transcript.delta"`

9570 

9571 - `"session.input_transcript.delta"`

9572 

9573 - `"session.output_transcript.delta"`

9574 

9575- `trigger_id: string or null`

9576 

9577 The Live-assigned ID of this trigger firing, or null for a delegation.

9578 

9579- `type: "decision.event"`

9580 

9581 - `"decision.event"`

9582 

9583#### Example

9584 

9585```json

9586{

9587 "type": "decision.event",

9588 "event_id": "evt_decision_1",

9589 "delegation_id": "del_abc123",

9590 "trigger_id": null,

9591 "source_event_type": null,

9592 "source_event_id": null,

9593 "event": {

9594 "type": "decision.completed",

9595 "decision": {

9596 "model": "gpt-6-luna",

9597 "answers": [

9598 {

9599 "type": "predicate",

9600 "name": "damaged",

9601 "probability": 0.95

9602 }

9603 ],

9604 "usage": {

9605 "input_tokens": 42,

9606 "input_tokens_details": {

9607 "cached_tokens": 0,

9608 "cache_write_tokens": 0

9609 },

9610 "output_tokens": 0,

9611 "output_tokens_details": {

9612 "reasoning_tokens": 0

9613 },

9614 "total_tokens": 42

9615 }

9616 }

9617 }

9618}

9619```

9620 

9621<a id="decision.item.created"></a>

9622 

9623### decision.item.created

9624 

9625An input item was appended for future decisions.

9626 

9627#### Schema

9628 

9629Schema name: `LiveDecisionItemCreated`

8577 9630 

8578### session.output_transcript.delta9631- `event_id: string`

8579 9632 

8580A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.9633 The unique ID of the Live server event.

8581 9634 

8582#### Schema9635- `item: object { id, content, role, type }`

8583 9636 

8584Schema name: `LiveOutputTranscriptDelta`9637 - `id: string`

8585 9638 

8586- `delta: string`9639 The ID of the stored Decision input item.

8587 9640 

8588 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.9641 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

8589 9642 

8590- `end_ms: number`9643 The text input to the model.

8591 9644 

8592 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.9645 - `string`

8593 9646 

8594- `event_id: string`9647 The text input to the model.

8595 9648 

8596 The unique ID of the Live server event.9649 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

8597 9650 

8598- `start_ms: number`9651 - `InputText object { text, type }`

8599 9652 

8600 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.9653 - `text: string`

8601 9654 

8602- `type: "session.output_transcript.delta"`9655 The text input to the model.

8603 9656 

8604 The event type, always `session.output_transcript.delta`.9657 - `type: "input_text"`

8605 9658 

8606 - `"session.output_transcript.delta"`9659 The type of the input item. Always `input_text`.

8607 9660 

8608- `client_event_id: optional string`9661 - `"input_text"`

8609 9662 

8610 The event_id of the client command associated with this server event, when supplied.9663 - `InputImage object { image_url, type, detail }`

8611 9664 

8612#### Example9665 - `image_url: string`

8613 9666 

8614```json9667 An inline image encoded as a data URL.

8615{

8616 "type": "session.output_transcript.delta",

8617 "event_id": "evt_output_transcript_001",

8618 "delta": "Would you like me to reserve that table?",

8619 "start_ms": 5400,

8620 "end_ms": 7200

8621}

8622```

8623 9668 

8624<a id="session.delegation.created"></a>9669 - `type: "input_image"`

8625 9670 

8626### session.delegation.created9671 The type of the input item. Always `input_image`.

8627 9672 

8628Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated.9673 - `"input_image"`

8629 9674 

8630#### Schema9675 - `detail: optional "low" or "high" or "auto" or "original" or null`

8631 9676 

8632Schema name: `LiveDelegationCreated`9677 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

8633 9678 

8634- `delegation: object { id, target, type, response_id }`9679 - `"low"`

8635 9680 

8636 The delegated work identifier and destination. This object contains metadata, not the task text.9681 - `"high"`

8637 9682 

8638 - `id: string`9683 - `"auto"`

8639 9684 

8640 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating Responses events.9685 - `"original"`

8641 9686 

8642 - `target: "client" or "responses"`9687 - `role: "user"`

8643 9688 

8644 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.9689 The message role. Always `user`.

8645 9690 

8646 - `"client" or "responses"`9691 - `"user"`

8647 9692 

8648 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.9693 - `type: optional "message"`

8649 9694 

8650 - `"client"`9695 - `"message"`

8651 9696 

8652 - `"responses"`9697- `type: "decision.item.created"`

8653 9698 

8654 - `type: "delegation"`9699 - `"decision.item.created"`

8655 9700 

8656 The object type, always `delegation`.9701- `client_event_id: optional string`

8657 9702 

8658 - `"delegation"`9703 The event_id of the client command associated with this server event, when supplied.

8659 9704 

8660 - `response_id: optional string`9705#### Example

8661 9706 

8662 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.9707```json

9708{

9709 "type": "decision.item.created",

9710 "event_id": "evt_item_1",

9711 "client_event_id": "browser_1",

9712 "item": {

9713 "id": "msg_browser_1",

9714 "type": "message",

9715 "role": "user",

9716 "content": [

9717 {

9718 "type": "input_text",

9719 "text": "Wikipedia is open."

9720 }

9721 ]

9722 }

9723}

9724```

8663 9725 

8664- `event_id: string`9726<a id="decision.item.deleted"></a>

8665 9727 

8666 The unique ID of the Live server event.9728### decision.item.deleted

8667 9729 

8668- `offset_ms: number`9730An input item was removed from future decisions.

8669 9731 

8670 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.9732#### Schema

8671 9733 

8672- `type: "session.delegation.created"`9734Schema name: `LiveDecisionItemDeleted`

8673 9735 

8674 The event type, always `session.delegation.created`.9736- `event_id: string`

8675 9737 

8676 - `"session.delegation.created"`9738 The unique ID of the Live server event.

9739 

9740- `item_id: string`

9741 

9742- `type: "decision.item.deleted"`

9743 

9744 - `"decision.item.deleted"`

8677 9745 

8678- `client_event_id: optional string`9746- `client_event_id: optional string`

8679 9747 


8683 9751 

8684```json9752```json

8685{9753{

8686 "type": "session.delegation.created",9754 "type": "decision.item.deleted",

8687 "event_id": "evt_delegation_001",9755 "event_id": "evt_item_deleted_1",

8688 "offset_ms": 3600,9756 "client_event_id": "remove_browser_1",

8689 "delegation": {9757 "item_id": "msg_browser_1"

8690 "id": "del_abc123",

8691 "type": "delegation",

8692 "target": "client"

8693 }

8694}9758}

8695```9759```

8696 9760 


9032 10096 

9033 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.10097 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

9034 10098 

9035 - `delegation: optional ClientDelegation or Responses { responses, type } or null`10099 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

9036 10100 

9037 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.10101 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

9038 10102 

9039 - `ClientDelegation object { type }`10103 - `ClientDelegation object { type }`

9040 10104 


9652 10716 

9653 - `"responses"`10717 - `"responses"`

9654 10718 

10719 - `Decisions object { decisions, type }`

10720 

10721 - `decisions: object { model, questions }`

10722 

10723 - `model: string`

10724 

10725 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

10726 

10727 Native Decision API questions evaluated together, in order.

10728 

10729 - `Predicate object { instructions, type, name }`

10730 

10731 Estimate how likely it is that a statement about the input is true.

10732 

10733 - `instructions: string`

10734 

10735 - `type: "predicate"`

10736 

10737 The type of the object. Always `predicate`.

10738 

10739 - `"predicate"`

10740 

10741 - `name: optional string`

10742 

10743 - `Choice object { choices, instructions, type, name }`

10744 

10745 Choose from the supplied options based on the input.

10746 

10747 - `choices: array of object { value, description }`

10748 

10749 Provide between 2 and 255 choices. Each choice must be unique.

10750 

10751 - `value: string or boolean`

10752 

10753 Choice values are typed: a string and a boolean with the same text are distinct.

10754 

10755 - `string`

10756 

10757 - `boolean`

10758 

10759 - `description: optional string`

10760 

10761 - `instructions: string`

10762 

10763 - `type: "choice"`

10764 

10765 The type of the object. Always `choice`.

10766 

10767 - `"choice"`

10768 

10769 - `name: optional string`

10770 

10771 - `Score object { instructions, levels, type, name }`

10772 

10773 Rate the input against the supplied ordered levels.

10774 

10775 - `instructions: string`

10776 

10777 - `levels: array of object { label, description }`

10778 

10779 - `label: string`

10780 

10781 - `description: optional string`

10782 

10783 - `type: "score"`

10784 

10785 The type of the object. Always `score`.

10786 

10787 - `"score"`

10788 

10789 - `name: optional string`

10790 

10791 - `type: "decisions"`

10792 

10793 - `"decisions"`

10794 

9655 - `input: optional array of InitialItem`10795 - `input: optional array of InitialItem`

9656 10796 

9657 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.10797 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).

9658 10798 

9659 - `Developer object { content, role, id, 2 more }`10799 - `Developer object { content, role, id, 2 more }`

9660 10800 


9808 10948 

9809 Whether to store the session for later forking and recording download. Defaults to false for new sessions.10949 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

9810 10950 

10951 - `triggers: optional array of object { decisions, event_type, type }`

10952 

10953 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

10954 

10955 - `decisions: object { questions }`

10956 

10957 Questions evaluated using the current transcript and the session's shared Decision items.

10958 

10959 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

10960 

10961 Native Decision API questions evaluated together, in order.

10962 

10963 - `Predicate object { instructions, type, name }`

10964 

10965 Estimate how likely it is that a statement about the input is true.

10966 

10967 - `instructions: string`

10968 

10969 - `type: "predicate"`

10970 

10971 The type of the object. Always `predicate`.

10972 

10973 - `"predicate"`

10974 

10975 - `name: optional string`

10976 

10977 - `Choice object { choices, instructions, type, name }`

10978 

10979 Choose from the supplied options based on the input.

10980 

10981 - `choices: array of object { value, description }`

10982 

10983 Provide between 2 and 255 choices. Each choice must be unique.

10984 

10985 - `value: string or boolean`

10986 

10987 Choice values are typed: a string and a boolean with the same text are distinct.

10988 

10989 - `string`

10990 

10991 - `boolean`

10992 

10993 - `description: optional string`

10994 

10995 - `instructions: string`

10996 

10997 - `type: "choice"`

10998 

10999 The type of the object. Always `choice`.

11000 

11001 - `"choice"`

11002 

11003 - `name: optional string`

11004 

11005 - `Score object { instructions, levels, type, name }`

11006 

11007 Rate the input against the supplied ordered levels.

11008 

11009 - `instructions: string`

11010 

11011 - `levels: array of object { label, description }`

11012 

11013 - `label: string`

11014 

11015 - `description: optional string`

11016 

11017 - `type: "score"`

11018 

11019 The type of the object. Always `score`.

11020 

11021 - `"score"`

11022 

11023 - `name: optional string`

11024 

11025 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

11026 

11027 - `"session.input_transcript.delta"`

11028 

11029 - `"session.output_transcript.delta"`

11030 

11031 - `type: "decisions"`

11032 

11033 - `"decisions"`

11034 

9811- `type: "session.closed"`11035- `type: "session.closed"`

9812 11036 

9813 The event type, always `session.closed`.11037 The event type, always `session.closed`.


9967}11191}

9968```11192```

9969 11193 

9970<a id="session.output_audio.fixture.playing"></a>

9971 

9972### session.output_audio.fixture.playing

9973 

9974The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

9975 

9976#### Schema

9977 

9978Schema name: `LiveOutputAudioFixturePlaying`

9979 

9980- `event_id: string`

9981 

9982 The unique ID of the Live server event.

9983 

9984- `type: "session.output_audio.fixture.playing"`

9985 

9986 - `"session.output_audio.fixture.playing"`

9987 

9988- `client_event_id: optional string`

9989 

9990 The event_id of the client command associated with this server event, when supplied.

9991 

9992#### Example

9993 

9994```json

9995{

9996 "type": "session.output_audio.fixture.playing",

9997 "event_id": "evt_play_started_001",

9998 "client_event_id": "evt_play_001"

9999}

10000```

10001 

10002<a id="session.output_audio.fixture.played"></a>

10003 

10004### session.output_audio.fixture.played

10005 

10006The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

10007 

10008#### Schema

10009 

10010Schema name: `LiveOutputAudioFixturePlayed`

10011 

10012- `event_id: string`

10013 

10014 The unique ID of the Live server event.

10015 

10016- `type: "session.output_audio.fixture.played"`

10017 

10018 - `"session.output_audio.fixture.played"`

10019 

10020- `client_event_id: optional string`

10021 

10022 The event_id of the client command associated with this server event, when supplied.

10023 

10024#### Example

10025 

10026```json

10027{

10028 "type": "session.output_audio.fixture.played",

10029 "event_id": "evt_played_001",

10030 "client_event_id": "evt_play_001"

10031}

10032```

10033 

10034<a id="server-events-session.input_audio.append"></a>11194<a id="server-events-session.input_audio.append"></a>

10035 11195 

10036### session.input_audio.append11196### session.input_audio.append

Details

268 268 

269 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.269 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

270 270 

271 - `delegation: optional ClientDelegation or Responses { responses, type } or null`271 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

272 272 

273 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.273 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

274 274 

275 - `ClientDelegation object { type }`275 - `ClientDelegation object { type }`

276 276 


888 888 

889 - `"responses"`889 - `"responses"`

890 890 

891 - `Decisions object { decisions, type }`

892 

893 - `decisions: object { model, questions }`

894 

895 - `model: string`

896 

897 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

898 

899 Native Decision API questions evaluated together, in order.

900 

901 - `Predicate object { instructions, type, name }`

902 

903 Estimate how likely it is that a statement about the input is true.

904 

905 - `instructions: string`

906 

907 - `type: "predicate"`

908 

909 The type of the object. Always `predicate`.

910 

911 - `"predicate"`

912 

913 - `name: optional string`

914 

915 - `Choice object { choices, instructions, type, name }`

916 

917 Choose from the supplied options based on the input.

918 

919 - `choices: array of object { value, description }`

920 

921 Provide between 2 and 255 choices. Each choice must be unique.

922 

923 - `value: string or boolean`

924 

925 Choice values are typed: a string and a boolean with the same text are distinct.

926 

927 - `string`

928 

929 - `boolean`

930 

931 - `description: optional string`

932 

933 - `instructions: string`

934 

935 - `type: "choice"`

936 

937 The type of the object. Always `choice`.

938 

939 - `"choice"`

940 

941 - `name: optional string`

942 

943 - `Score object { instructions, levels, type, name }`

944 

945 Rate the input against the supplied ordered levels.

946 

947 - `instructions: string`

948 

949 - `levels: array of object { label, description }`

950 

951 - `label: string`

952 

953 - `description: optional string`

954 

955 - `type: "score"`

956 

957 The type of the object. Always `score`.

958 

959 - `"score"`

960 

961 - `name: optional string`

962 

963 - `type: "decisions"`

964 

965 - `"decisions"`

966 

891 - `input: optional array of InitialItem`967 - `input: optional array of InitialItem`

892 968 

893 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.969 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).

894 970 

895 - `Developer object { content, role, id, 2 more }`971 - `Developer object { content, role, id, 2 more }`

896 972 


1044 1120 

1045 Whether to store the session for later forking and recording download. Defaults to false for new sessions.1121 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

1046 1122 

1123 - `triggers: optional array of object { decisions, event_type, type }`

1124 

1125 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

1126 

1127 - `decisions: object { questions }`

1128 

1129 Questions evaluated using the current transcript and the session's shared Decision items.

1130 

1131 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

1132 

1133 Native Decision API questions evaluated together, in order.

1134 

1135 - `Predicate object { instructions, type, name }`

1136 

1137 Estimate how likely it is that a statement about the input is true.

1138 

1139 - `instructions: string`

1140 

1141 - `type: "predicate"`

1142 

1143 The type of the object. Always `predicate`.

1144 

1145 - `"predicate"`

1146 

1147 - `name: optional string`

1148 

1149 - `Choice object { choices, instructions, type, name }`

1150 

1151 Choose from the supplied options based on the input.

1152 

1153 - `choices: array of object { value, description }`

1154 

1155 Provide between 2 and 255 choices. Each choice must be unique.

1156 

1157 - `value: string or boolean`

1158 

1159 Choice values are typed: a string and a boolean with the same text are distinct.

1160 

1161 - `string`

1162 

1163 - `boolean`

1164 

1165 - `description: optional string`

1166 

1167 - `instructions: string`

1168 

1169 - `type: "choice"`

1170 

1171 The type of the object. Always `choice`.

1172 

1173 - `"choice"`

1174 

1175 - `name: optional string`

1176 

1177 - `Score object { instructions, levels, type, name }`

1178 

1179 Rate the input against the supplied ordered levels.

1180 

1181 - `instructions: string`

1182 

1183 - `levels: array of object { label, description }`

1184 

1185 - `label: string`

1186 

1187 - `description: optional string`

1188 

1189 - `type: "score"`

1190 

1191 The type of the object. Always `score`.

1192 

1193 - `"score"`

1194 

1195 - `name: optional string`

1196 

1197 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

1198 

1199 - `"session.input_transcript.delta"`

1200 

1201 - `"session.output_transcript.delta"`

1202 

1203 - `type: "decisions"`

1204 

1205 - `"decisions"`

1206 

1047- `type: "session.start"`1207- `type: "session.start"`

1048 1208 

1049 The Live client event type. Always `session.start`.1209 The Live client event type. Always `session.start`.


1083 1243 

1084### session.update1244### session.update

1085 1245 

1086Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`.1246Update the delegation settings or transcript triggers of an active Live session. The server acknowledges accepted changes with `session.updated`.

1087 1247 

1088#### Schema1248#### Schema

1089 1249 


1091 1251 

1092- `session: SessionUpdateConfig`1252- `session: SessionUpdateConfig`

1093 1253 

1094 Sparse delegation updates. Omitted settings retain their values. The delegation type cannot change, including resetting Responses delegation to null or client. Model, frontend instructions, audio, and startup input are immutable.1254 Sparse delegation and trigger updates. Omitted settings retain their values. The delegation type cannot change. Model, frontend instructions, audio, and startup input are immutable.

1095 1255 

1096 - `delegation: optional ClientDelegation or Responses { type, responses } or null`1256 - `delegation: optional ClientDelegation or Responses { type, responses } or Decisions { type, decisions } or null`

1097 1257 

1098 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.1258 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.

1099 1259 


1713 1873 

1714 - `"apply_patch"`1874 - `"apply_patch"`

1715 1875 

1876 - `Decisions object { type, decisions }`

1877 

1878 - `type: "decisions"`

1879 

1880 - `"decisions"`

1881 

1882 - `decisions: optional DecisionsDelegationUpdateConfig`

1883 

1884 - `model: optional string`

1885 

1886 - `questions: optional array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

1887 

1888 Native Decision API questions evaluated together, in order.

1889 

1890 - `Predicate object { instructions, type, name }`

1891 

1892 Estimate how likely it is that a statement about the input is true.

1893 

1894 - `instructions: string`

1895 

1896 - `type: "predicate"`

1897 

1898 The type of the object. Always `predicate`.

1899 

1900 - `"predicate"`

1901 

1902 - `name: optional string`

1903 

1904 - `Choice object { choices, instructions, type, name }`

1905 

1906 Choose from the supplied options based on the input.

1907 

1908 - `choices: array of object { value, description }`

1909 

1910 Provide between 2 and 255 choices. Each choice must be unique.

1911 

1912 - `value: string or boolean`

1913 

1914 Choice values are typed: a string and a boolean with the same text are distinct.

1915 

1916 - `string`

1917 

1918 - `boolean`

1919 

1920 - `description: optional string`

1921 

1922 - `instructions: string`

1923 

1924 - `type: "choice"`

1925 

1926 The type of the object. Always `choice`.

1927 

1928 - `"choice"`

1929 

1930 - `name: optional string`

1931 

1932 - `Score object { instructions, levels, type, name }`

1933 

1934 Rate the input against the supplied ordered levels.

1935 

1936 - `instructions: string`

1937 

1938 - `levels: array of object { label, description }`

1939 

1940 - `label: string`

1941 

1942 - `description: optional string`

1943 

1944 - `type: "score"`

1945 

1946 The type of the object. Always `score`.

1947 

1948 - `"score"`

1949 

1950 - `name: optional string`

1951 

1952 - `triggers: optional array of object { decisions, event_type, type }`

1953 

1954 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

1955 

1956 - `decisions: object { questions }`

1957 

1958 Questions evaluated using the current transcript and the session's shared Decision items.

1959 

1960 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

1961 

1962 Native Decision API questions evaluated together, in order.

1963 

1964 - `Predicate object { instructions, type, name }`

1965 

1966 Estimate how likely it is that a statement about the input is true.

1967 

1968 - `instructions: string`

1969 

1970 - `type: "predicate"`

1971 

1972 The type of the object. Always `predicate`.

1973 

1974 - `"predicate"`

1975 

1976 - `name: optional string`

1977 

1978 - `Choice object { choices, instructions, type, name }`

1979 

1980 Choose from the supplied options based on the input.

1981 

1982 - `choices: array of object { value, description }`

1983 

1984 Provide between 2 and 255 choices. Each choice must be unique.

1985 

1986 - `value: string or boolean`

1987 

1988 Choice values are typed: a string and a boolean with the same text are distinct.

1989 

1990 - `string`

1991 

1992 - `boolean`

1993 

1994 - `description: optional string`

1995 

1996 - `instructions: string`

1997 

1998 - `type: "choice"`

1999 

2000 The type of the object. Always `choice`.

2001 

2002 - `"choice"`

2003 

2004 - `name: optional string`

2005 

2006 - `Score object { instructions, levels, type, name }`

2007 

2008 Rate the input against the supplied ordered levels.

2009 

2010 - `instructions: string`

2011 

2012 - `levels: array of object { label, description }`

2013 

2014 - `label: string`

2015 

2016 - `description: optional string`

2017 

2018 - `type: "score"`

2019 

2020 The type of the object. Always `score`.

2021 

2022 - `"score"`

2023 

2024 - `name: optional string`

2025 

2026 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

2027 

2028 - `"session.input_transcript.delta"`

2029 

2030 - `"session.output_transcript.delta"`

2031 

2032 - `type: "decisions"`

2033 

2034 - `"decisions"`

2035 

1716- `type: "session.update"`2036- `type: "session.update"`

1717 2037 

1718 The Live client event type. Always `session.update`.2038 The Live client event type. Always `session.update`.


1832}2152}

1833```2153```

1834 2154 

2155<a id="session.output_audio.fixture.play"></a>

2156 

2157### session.output_audio.fixture.play

2158 

2159Play one complete audio fixture through the session output. Send this event over the primary WebSocket or a server sideband. Audio must be raw mono PCM16 little-endian at 24 kHz, regardless of the session audio format, and at most 30 seconds. The entire payload is validated before model speech is interrupted and input is muted. Only one fixture can be active. fixture.playing acknowledges acceptance and fixture.played reports server mixer drain. These notifications are not exact transport-media boundaries. Input arriving during playback is dropped and not replayed.

2160 

2161#### Schema

2162 

2163Schema name: `LiveOutputAudioFixturePlayParam`

2164 

2165- `audio: string`

2166 

2167 Base64-encoded raw mono PCM16 audio, little-endian, at 24 kHz. Do not include a WAV or other container header.

2168 

2169- `type: "session.output_audio.fixture.play"`

2170 

2171 - `"session.output_audio.fixture.play"`

2172 

2173- `event_id: optional string or null`

2174 

2175 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

2176 

2177#### Example

2178 

2179```json

2180{

2181 "type": "session.output_audio.fixture.play",

2182 "event_id": "evt_play_001",

2183 "audio": "AAAAAA=="

2184}

2185```

2186 

1835<a id="session.instructions.append"></a>2187<a id="session.instructions.append"></a>

1836 2188 

1837### session.instructions.append2189### session.instructions.append


1949}2301}

1950```2302```

1951 2303 

1952<a id="response.item.create"></a>2304<a id="decision.create"></a>

1953 2305 

1954### response.item.create2306### decision.create

1955 2307 

1956Add an input item to the Live session’s Responses backend. Requires Responses delegation; use `response.create` to request a response.2308Evaluate the configured questions using the current conversation and Decision inputs. Reusing an event_id is rejected for the lifetime of the session.

1957 2309 

1958#### Schema2310#### Schema

1959 2311 

1960Schema name: `LiveResponseItemCreateParam`2312Schema name: `LiveDecisionCreateParam`

1961 2313 

1962- `item: EasyInputMessage or Message { content, role, status, type } or ResponseOutputMessage or 30 more`2314- `event_id: string`

1963 2315 

1964 An input item to append to the Responses backend conversation, such as a user message or a function tool result.2316- `type: "decision.create"`

1965 2317 

1966 - `EasyInputMessage object { content, role, phase, type }`2318 - `"decision.create"`

1967 2319 

1968 A message input to the model with a role indicating instruction following2320#### Example

1969 hierarchy. Instructions given with the `developer` or `system` role take

1970 precedence over instructions given with the `user` role. Messages with the

1971 `assistant` role are presumed to have been generated by the model in previous

1972 interactions.

1973 2321 

1974 - `content: string or ResponseInputMessageContentList`2322```json

2323{

2324 "type": "decision.create",

2325 "event_id": "decision_1"

2326}

2327```

1975 2328 

1976 Text, image, or audio input to the model, used to generate a response.2329<a id="decision.item.create"></a>

1977 Can also contain previous assistant responses.

1978 2330 

1979 - `TextInput = string`2331### decision.item.create

1980 2332 

1981 A text input to the model.2333Append an input item for future decisions without starting an evaluation or changing Live voice context.

1982 2334 

1983 - `ResponseInputMessageContentList = array of ResponseInputContent`2335#### Schema

1984 2336 

1985 A list of one or many input items to the model, containing different content2337Schema name: `LiveDecisionItemCreateParam`

1986 types.

1987 2338 

1988 - `ResponseInputText object { text, type, prompt_cache_breakpoint }`2339- `item: object { content, role, id, type }`

1989 2340 

1990 A text input to the model.2341 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

2342 

2343 The text input to the model.

2344 

2345 - `string`

2346 

2347 The text input to the model.

2348 

2349 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

2350 

2351 - `InputText object { text, type }`

1991 2352 

1992 - `text: string`2353 - `text: string`

1993 2354 


1999 2360 

2000 - `"input_text"`2361 - `"input_text"`

2001 2362 

2002 - `prompt_cache_breakpoint: optional object { mode }`2363 - `InputImage object { image_url, type, detail }`

2003 

2004 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.

2005 2364 

2006 - `mode: "explicit"`2365 - `image_url: string`

2007 2366 

2008 The breakpoint mode. Always `explicit`.2367 An inline image encoded as a data URL.

2009 2368 

2010 - `"explicit"`2369 - `type: "input_image"`

2011 2370 

2012 - `ResponseInputImage object { detail, type, file_id, 2 more }`2371 The type of the input item. Always `input_image`.

2013 2372 

2014 An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).2373 - `"input_image"`

2015 2374 

2016 - `detail: ImageDetail`2375 - `detail: optional "low" or "high" or "auto" or "original" or null`

2017 2376 

2018 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.2377 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

2019 2378 


2025 2384 

2026 - `"original"`2385 - `"original"`

2027 2386 

2028 - `type: "input_image"`2387 - `role: "user"`

2029 2388 

2030 The type of the input item. Always `input_image`.2389 The message role. Always `user`.

2390 

2391 - `"user"`

2392 

2393 - `id: optional string or null`

2394 

2395 The unique ID of this message item.

2396 

2397 - `type: optional "message"`

2398 

2399 - `"message"`

2400 

2401- `type: "decision.item.create"`

2402 

2403 - `"decision.item.create"`

2404 

2405- `event_id: optional string or null`

2406 

2407 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

2408 

2409#### Example

2410 

2411```json

2412{

2413 "type": "decision.item.create",

2414 "event_id": "browser_1",

2415 "item": {

2416 "type": "message",

2417 "role": "user",

2418 "content": [

2419 {

2420 "type": "input_text",

2421 "text": "Wikipedia is open."

2422 }

2423 ]

2424 }

2425}

2426```

2427 

2428<a id="decision.item.delete"></a>

2429 

2430### decision.item.delete

2431 

2432Delete an input item from future decisions without starting an evaluation or changing Live voice context.

2433 

2434#### Schema

2435 

2436Schema name: `LiveDecisionItemDeleteParam`

2437 

2438- `item_id: string`

2439 

2440- `type: "decision.item.delete"`

2441 

2442 - `"decision.item.delete"`

2443 

2444- `event_id: optional string or null`

2445 

2446 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

2447 

2448#### Example

2449 

2450```json

2451{

2452 "type": "decision.item.delete",

2453 "event_id": "remove_browser_1",

2454 "item_id": "msg_browser_1"

2455}

2456```

2457 

2458<a id="response.item.create"></a>

2459 

2460### response.item.create

2461 

2462Add an input item to the Live session’s Responses backend. Requires Responses delegation; use `response.create` to request a response.

2463 

2464#### Schema

2465 

2466Schema name: `LiveResponseItemCreateParam`

2467 

2468- `item: EasyInputMessage or Message { content, role, status, type } or ResponseOutputMessage or 30 more`

2469 

2470 An input item to append to the Responses backend conversation, such as a user message or a function tool result.

2471 

2472 - `EasyInputMessage object { content, role, phase, type }`

2473 

2474 A message input to the model with a role indicating instruction following

2475 hierarchy. Instructions given with the `developer` or `system` role take

2476 precedence over instructions given with the `user` role. Messages with the

2477 `assistant` role are presumed to have been generated by the model in previous

2478 interactions.

2479 

2480 - `content: string or ResponseInputMessageContentList`

2481 

2482 Text, image, or audio input to the model, used to generate a response.

2483 Can also contain previous assistant responses.

2484 

2485 - `TextInput = string`

2486 

2487 A text input to the model.

2488 

2489 - `ResponseInputMessageContentList = array of ResponseInputContent`

2490 

2491 A list of one or many input items to the model, containing different content

2492 types.

2493 

2494 - `ResponseInputText object { text, type, prompt_cache_breakpoint }`

2495 

2496 A text input to the model.

2497 

2498 - `text: string`

2499 

2500 The text input to the model.

2501 

2502 - `type: "input_text"`

2503 

2504 The type of the input item. Always `input_text`.

2505 

2506 - `"input_text"`

2507 

2508 - `prompt_cache_breakpoint: optional object { mode }`

2509 

2510 Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.

2511 

2512 - `mode: "explicit"`

2513 

2514 The breakpoint mode. Always `explicit`.

2515 

2516 - `"explicit"`

2517 

2518 - `ResponseInputImage object { detail, type, file_id, 2 more }`

2519 

2520 An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).

2521 

2522 - `detail: ImageDetail`

2523 

2524 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

2525 

2526 - `"low"`

2527 

2528 - `"high"`

2529 

2530 - `"auto"`

2531 

2532 - `"original"`

2533 

2534 - `type: "input_image"`

2535 

2536 The type of the input item. Always `input_image`.

2031 2537 

2032 - `"input_image"`2538 - `"input_image"`

2033 2539 


6722 7228 

6723 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.7229 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

6724 7230 

6725 - `delegation: optional ClientDelegation or Responses { responses, type } or null`7231 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

6726 7232 

6727 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.7233 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

6728 7234 

6729 - `ClientDelegation object { type }`7235 - `ClientDelegation object { type }`

6730 7236 


7342 7848 

7343 - `"responses"`7849 - `"responses"`

7344 7850 

7851 - `Decisions object { decisions, type }`

7852 

7853 - `decisions: object { model, questions }`

7854 

7855 - `model: string`

7856 

7857 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

7858 

7859 Native Decision API questions evaluated together, in order.

7860 

7861 - `Predicate object { instructions, type, name }`

7862 

7863 Estimate how likely it is that a statement about the input is true.

7864 

7865 - `instructions: string`

7866 

7867 - `type: "predicate"`

7868 

7869 The type of the object. Always `predicate`.

7870 

7871 - `"predicate"`

7872 

7873 - `name: optional string`

7874 

7875 - `Choice object { choices, instructions, type, name }`

7876 

7877 Choose from the supplied options based on the input.

7878 

7879 - `choices: array of object { value, description }`

7880 

7881 Provide between 2 and 255 choices. Each choice must be unique.

7882 

7883 - `value: string or boolean`

7884 

7885 Choice values are typed: a string and a boolean with the same text are distinct.

7886 

7887 - `string`

7888 

7889 - `boolean`

7890 

7891 - `description: optional string`

7892 

7893 - `instructions: string`

7894 

7895 - `type: "choice"`

7896 

7897 The type of the object. Always `choice`.

7898 

7899 - `"choice"`

7900 

7901 - `name: optional string`

7902 

7903 - `Score object { instructions, levels, type, name }`

7904 

7905 Rate the input against the supplied ordered levels.

7906 

7907 - `instructions: string`

7908 

7909 - `levels: array of object { label, description }`

7910 

7911 - `label: string`

7912 

7913 - `description: optional string`

7914 

7915 - `type: "score"`

7916 

7917 The type of the object. Always `score`.

7918 

7919 - `"score"`

7920 

7921 - `name: optional string`

7922 

7923 - `type: "decisions"`

7924 

7925 - `"decisions"`

7926 

7345 - `input: optional array of InitialItem`7927 - `input: optional array of InitialItem`

7346 7928 

7347 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.7929 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).

7348 7930 

7349 - `Developer object { content, role, id, 2 more }`7931 - `Developer object { content, role, id, 2 more }`

7350 7932 


7498 8080 

7499 Whether to store the session for later forking and recording download. Defaults to false for new sessions.8081 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

7500 8082 

8083 - `triggers: optional array of object { decisions, event_type, type }`

8084 

8085 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

8086 

8087 - `decisions: object { questions }`

8088 

8089 Questions evaluated using the current transcript and the session's shared Decision items.

8090 

8091 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

8092 

8093 Native Decision API questions evaluated together, in order.

8094 

8095 - `Predicate object { instructions, type, name }`

8096 

8097 Estimate how likely it is that a statement about the input is true.

8098 

8099 - `instructions: string`

8100 

8101 - `type: "predicate"`

8102 

8103 The type of the object. Always `predicate`.

8104 

8105 - `"predicate"`

8106 

8107 - `name: optional string`

8108 

8109 - `Choice object { choices, instructions, type, name }`

8110 

8111 Choose from the supplied options based on the input.

8112 

8113 - `choices: array of object { value, description }`

8114 

8115 Provide between 2 and 255 choices. Each choice must be unique.

8116 

8117 - `value: string or boolean`

8118 

8119 Choice values are typed: a string and a boolean with the same text are distinct.

8120 

8121 - `string`

8122 

8123 - `boolean`

8124 

8125 - `description: optional string`

8126 

8127 - `instructions: string`

8128 

8129 - `type: "choice"`

8130 

8131 The type of the object. Always `choice`.

8132 

8133 - `"choice"`

8134 

8135 - `name: optional string`

8136 

8137 - `Score object { instructions, levels, type, name }`

8138 

8139 Rate the input against the supplied ordered levels.

8140 

8141 - `instructions: string`

8142 

8143 - `levels: array of object { label, description }`

8144 

8145 - `label: string`

8146 

8147 - `description: optional string`

8148 

8149 - `type: "score"`

8150 

8151 The type of the object. Always `score`.

8152 

8153 - `"score"`

8154 

8155 - `name: optional string`

8156 

8157 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

8158 

8159 - `"session.input_transcript.delta"`

8160 

8161 - `"session.output_transcript.delta"`

8162 

8163 - `type: "decisions"`

8164 

8165 - `"decisions"`

8166 

7501- `type: "session.started"`8167- `type: "session.started"`

7502 8168 

7503 The event type, always `session.started`.8169 The event type, always `session.started`.


7752 8418 

7753 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.8419 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

7754 8420 

7755 - `delegation: optional ClientDelegation or Responses { responses, type } or null`8421 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

7756 8422 

7757 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.8423 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

7758 8424 

7759 - `ClientDelegation object { type }`8425 - `ClientDelegation object { type }`

7760 8426 


8372 9038 

8373 - `"responses"`9039 - `"responses"`

8374 9040 

8375 - `input: optional array of InitialItem`9041 - `Decisions object { decisions, type }`

8376 9042 

8377 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.9043 - `decisions: object { model, questions }`

8378 9044 

8379 - `Developer object { content, role, id, 2 more }`9045 - `model: string`

8380 9046 

8381 A developer message included in the initial text history of a Live session.9047 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

8382 9048 

8383 - `content: array of object { text, type }`9049 Native Decision API questions evaluated together, in order.

8384 9050 

8385 The message content. Supply exactly one text part for the initial Live conversation history.9051 - `Predicate object { instructions, type, name }`

8386 9052 

8387 - `text: string`9053 Estimate how likely it is that a statement about the input is true.

8388 9054 

8389 The message text to include in the Live session’s initial conversation history.9055 - `instructions: string`

8390 9056 

8391 - `type: optional "input_text"`9057 - `type: "predicate"`

8392 9058 

8393 The text content type. Always `input_text`.9059 The type of the object. Always `predicate`.

8394 9060 

8395 - `"input_text"`9061 - `"predicate"`

8396 9062 

8397 - `role: "developer"`9063 - `name: optional string`

8398 9064 

8399 The author of this history message. Always `developer`.9065 - `Choice object { choices, instructions, type, name }`

8400 9066 

8401 - `"developer"`9067 Choose from the supplied options based on the input.

8402 9068 

8403 - `id: optional string or null`9069 - `choices: array of object { value, description }`

8404 9070 

8405 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.9071 Provide between 2 and 255 choices. Each choice must be unique.

8406 9072 

8407 - `status: optional "incomplete" or "completed" or null`9073 - `value: string or boolean`

8408 9074 

8409 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.9075 Choice values are typed: a string and a boolean with the same text are distinct.

8410 9076 

8411 - `"incomplete"`9077 - `string`

8412 9078 

8413 - `"completed"`9079 - `boolean`

8414 9080 

8415 - `type: optional "message"`9081 - `description: optional string`

8416 9082 

8417 The history item type. Always `message`.9083 - `instructions: string`

8418 9084 

8419 - `"message"`9085 - `type: "choice"`

8420 9086 

8421 - `User object { content, role, id, 2 more }`9087 The type of the object. Always `choice`.

8422 9088 

8423 A user message included in the initial text history of a Live session.9089 - `"choice"`

8424 9090 

8425 - `content: array of object { text, type }`9091 - `name: optional string`

8426 9092 

8427 The message content. Supply exactly one text part for the initial Live conversation history.9093 - `Score object { instructions, levels, type, name }`

8428 9094 

8429 - `text: string`9095 Rate the input against the supplied ordered levels.

8430 9096 

8431 The message text to include in the Live session’s initial conversation history.9097 - `instructions: string`

8432 9098 

8433 - `type: optional "input_text"`9099 - `levels: array of object { label, description }`

8434 9100 

8435 The text content type. Always `input_text`.9101 - `label: string`

9102 

9103 - `description: optional string`

9104 

9105 - `type: "score"`

9106 

9107 The type of the object. Always `score`.

9108 

9109 - `"score"`

9110 

9111 - `name: optional string`

9112 

9113 - `type: "decisions"`

9114 

9115 - `"decisions"`

9116 

9117 - `input: optional array of InitialItem`

9118 

9119 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).

9120 

9121 - `Developer object { content, role, id, 2 more }`

9122 

9123 A developer message included in the initial text history of a Live session.

9124 

9125 - `content: array of object { text, type }`

9126 

9127 The message content. Supply exactly one text part for the initial Live conversation history.

9128 

9129 - `text: string`

9130 

9131 The message text to include in the Live session’s initial conversation history.

9132 

9133 - `type: optional "input_text"`

9134 

9135 The text content type. Always `input_text`.

9136 

9137 - `"input_text"`

9138 

9139 - `role: "developer"`

9140 

9141 The author of this history message. Always `developer`.

9142 

9143 - `"developer"`

9144 

9145 - `id: optional string or null`

9146 

9147 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.

9148 

9149 - `status: optional "incomplete" or "completed" or null`

9150 

9151 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.

9152 

9153 - `"incomplete"`

9154 

9155 - `"completed"`

9156 

9157 - `type: optional "message"`

9158 

9159 The history item type. Always `message`.

9160 

9161 - `"message"`

9162 

9163 - `User object { content, role, id, 2 more }`

9164 

9165 A user message included in the initial text history of a Live session.

9166 

9167 - `content: array of object { text, type }`

9168 

9169 The message content. Supply exactly one text part for the initial Live conversation history.

9170 

9171 - `text: string`

9172 

9173 The message text to include in the Live session’s initial conversation history.

9174 

9175 - `type: optional "input_text"`

9176 

9177 The text content type. Always `input_text`.

8436 9178 

8437 - `"input_text"`9179 - `"input_text"`

8438 9180 


8528 9270 

8529 Whether to store the session for later forking and recording download. Defaults to false for new sessions.9271 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

8530 9272 

9273 - `triggers: optional array of object { decisions, event_type, type }`

9274 

9275 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

9276 

9277 - `decisions: object { questions }`

9278 

9279 Questions evaluated using the current transcript and the session's shared Decision items.

9280 

9281 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

9282 

9283 Native Decision API questions evaluated together, in order.

9284 

9285 - `Predicate object { instructions, type, name }`

9286 

9287 Estimate how likely it is that a statement about the input is true.

9288 

9289 - `instructions: string`

9290 

9291 - `type: "predicate"`

9292 

9293 The type of the object. Always `predicate`.

9294 

9295 - `"predicate"`

9296 

9297 - `name: optional string`

9298 

9299 - `Choice object { choices, instructions, type, name }`

9300 

9301 Choose from the supplied options based on the input.

9302 

9303 - `choices: array of object { value, description }`

9304 

9305 Provide between 2 and 255 choices. Each choice must be unique.

9306 

9307 - `value: string or boolean`

9308 

9309 Choice values are typed: a string and a boolean with the same text are distinct.

9310 

9311 - `string`

9312 

9313 - `boolean`

9314 

9315 - `description: optional string`

9316 

9317 - `instructions: string`

9318 

9319 - `type: "choice"`

9320 

9321 The type of the object. Always `choice`.

9322 

9323 - `"choice"`

9324 

9325 - `name: optional string`

9326 

9327 - `Score object { instructions, levels, type, name }`

9328 

9329 Rate the input against the supplied ordered levels.

9330 

9331 - `instructions: string`

9332 

9333 - `levels: array of object { label, description }`

9334 

9335 - `label: string`

9336 

9337 - `description: optional string`

9338 

9339 - `type: "score"`

9340 

9341 The type of the object. Always `score`.

9342 

9343 - `"score"`

9344 

9345 - `name: optional string`

9346 

9347 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

9348 

9349 - `"session.input_transcript.delta"`

9350 

9351 - `"session.output_transcript.delta"`

9352 

9353 - `type: "decisions"`

9354 

9355 - `"decisions"`

9356 

8531- `type: "session.updated"`9357- `type: "session.updated"`

8532 9358 

8533 The event type, always `session.updated`.9359 The event type, always `session.updated`.


8642}9468}

8643```9469```

8644 9470 

9471<a id="session.output_audio.fixture.playing"></a>

9472 

9473### session.output_audio.fixture.playing

9474 

9475The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

9476 

9477#### Schema

9478 

9479Schema name: `LiveOutputAudioFixturePlaying`

9480 

9481- `event_id: string`

9482 

9483 The unique ID of the Live server event.

9484 

9485- `type: "session.output_audio.fixture.playing"`

9486 

9487 - `"session.output_audio.fixture.playing"`

9488 

9489- `client_event_id: optional string`

9490 

9491 The event_id of the client command associated with this server event, when supplied.

9492 

9493#### Example

9494 

9495```json

9496{

9497 "type": "session.output_audio.fixture.playing",

9498 "event_id": "evt_playing_001",

9499 "client_event_id": "evt_play_001"

9500}

9501```

9502 

9503<a id="session.output_audio.fixture.played"></a>

9504 

9505### session.output_audio.fixture.played

9506 

9507The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

9508 

9509#### Schema

9510 

9511Schema name: `LiveOutputAudioFixturePlayed`

9512 

9513- `event_id: string`

9514 

9515 The unique ID of the Live server event.

9516 

9517- `type: "session.output_audio.fixture.played"`

9518 

9519 - `"session.output_audio.fixture.played"`

9520 

9521- `client_event_id: optional string`

9522 

9523 The event_id of the client command associated with this server event, when supplied.

9524 

9525#### Example

9526 

9527```json

9528{

9529 "type": "session.output_audio.fixture.played",

9530 "event_id": "evt_played_001",

9531 "client_event_id": "evt_play_001"

9532}

9533```

9534 

8645<a id="session.instructions.appended"></a>9535<a id="session.instructions.appended"></a>

8646 9536 

8647### session.instructions.appended9537### session.instructions.appended


8861}9751}

8862```9752```

8863 9753 

8864<a id="session.output_transcript.delta"></a>9754<a id="session.output_transcript.delta"></a>

9755 

9756### session.output_transcript.delta

9757 

9758A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

9759 

9760#### Schema

9761 

9762Schema name: `LiveOutputTranscriptDelta`

9763 

9764- `delta: string`

9765 

9766 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.

9767 

9768- `end_ms: number`

9769 

9770 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.

9771 

9772- `event_id: string`

9773 

9774 The unique ID of the Live server event.

9775 

9776- `start_ms: number`

9777 

9778 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.

9779 

9780- `type: "session.output_transcript.delta"`

9781 

9782 The event type, always `session.output_transcript.delta`.

9783 

9784 - `"session.output_transcript.delta"`

9785 

9786- `client_event_id: optional string`

9787 

9788 The event_id of the client command associated with this server event, when supplied.

9789 

9790#### Example

9791 

9792```json

9793{

9794 "type": "session.output_transcript.delta",

9795 "event_id": "evt_output_transcript_001",

9796 "delta": "Would you like me to reserve that table?",

9797 "start_ms": 5400,

9798 "end_ms": 7200

9799}

9800```

9801 

9802<a id="session.delegation.created"></a>

9803 

9804### session.delegation.created

9805 

9806Returned when the Live model delegates work to your application, Responses, or Decisions. Contains delegation metadata and the position on the session timeline where the work was delegated.

9807 

9808#### Schema

9809 

9810Schema name: `LiveDelegationCreated`

9811 

9812- `delegation: object { id, target, type, response_id }`

9813 

9814 The delegated work identifier and destination. This object contains metadata, not the task text.

9815 

9816 - `id: string`

9817 

9818 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating backend events.

9819 

9820 - `target: "client" or "responses" or "decisions"`

9821 

9822 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

9823 

9824 - `"client" or "responses" or "decisions"`

9825 

9826 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

9827 

9828 - `"client"`

9829 

9830 - `"responses"`

9831 

9832 - `"decisions"`

9833 

9834 - `type: "delegation"`

9835 

9836 The object type, always `delegation`.

9837 

9838 - `"delegation"`

9839 

9840 - `response_id: optional string`

9841 

9842 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.

9843 

9844- `event_id: string`

9845 

9846 The unique ID of the Live server event.

9847 

9848- `offset_ms: number`

9849 

9850 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.

9851 

9852- `type: "session.delegation.created"`

9853 

9854 The event type, always `session.delegation.created`.

9855 

9856 - `"session.delegation.created"`

9857 

9858- `client_event_id: optional string`

9859 

9860 The event_id of the client command associated with this server event, when supplied.

9861 

9862#### Example

9863 

9864```json

9865{

9866 "type": "session.delegation.created",

9867 "event_id": "evt_delegation_001",

9868 "offset_ms": 3600,

9869 "delegation": {

9870 "id": "del_abc123",

9871 "type": "delegation",

9872 "target": "client"

9873 }

9874}

9875```

9876 

9877<a id="decision.event"></a>

9878 

9879### decision.event

9880 

9881A Decision API event for a Live delegation or transcript trigger. For a trigger, source_event_id identifies the transcript delta that caused this evaluation.

9882 

9883#### Schema

9884 

9885Schema name: `LiveDecisionEvent`

9886 

9887- `delegation_id: string or null`

9888 

9889 The Live delegation ID, or null for a transcript trigger.

9890 

9891- `event: object { decision, type }`

9892 

9893 - `decision: Decision`

9894 

9895 The native Decision API response, including its model, ordered answers, and token usage.

9896 

9897 - `answers: array of Predicate { name, probability, type } or Choice { choice, confidence, name, 2 more } or Score { confidence, name, probabilities, 2 more } or Refusal { name, type }`

9898 

9899 Answers in question order. Any question can return a refusal instead of an answer; other questions can still receive answers. A refusal has `type: "refusal"` and the question's `name`, or `null` if it was unnamed.

9900 

9901 - `Predicate object { name, probability, type }`

9902 

9903 - `name: string or null`

9904 

9905 - `probability: number`

9906 

9907 - `type: "predicate"`

9908 

9909 The type of the object. Always `predicate`.

9910 

9911 - `"predicate"`

9912 

9913 - `Choice object { choice, confidence, name, 2 more }`

9914 

9915 - `choice: string or boolean`

9916 

9917 Choice values are typed: a string and a boolean with the same text are distinct.

9918 

9919 - `string`

9920 

9921 - `boolean`

9922 

9923 - `confidence: number`

9924 

9925 - `name: string or null`

9926 

9927 - `probabilities: array of object { probability, value }`

9928 

9929 - `probability: number`

9930 

9931 - `value: string or boolean`

9932 

9933 Choice values are typed: a string and a boolean with the same text are distinct.

9934 

9935 - `string`

9936 

9937 - `boolean`

9938 

9939 - `type: "choice"`

9940 

9941 The type of the object. Always `choice`.

9942 

9943 - `"choice"`

9944 

9945 - `Score object { confidence, name, probabilities, 2 more }`

9946 

9947 - `confidence: number`

9948 

9949 - `name: string or null`

9950 

9951 - `probabilities: array of object { label, probability, value }`

9952 

9953 - `label: string`

9954 

9955 - `probability: number`

9956 

9957 - `value: number`

9958 

9959 - `score: number`

9960 

9961 - `type: "score"`

9962 

9963 The type of the object. Always `score`.

9964 

9965 - `"score"`

9966 

9967 - `Refusal object { name, type }`

9968 

9969 The model declined to answer this question. Other questions in the same request can still receive answers.

9970 

9971 - `name: string or null`

9972 

9973 - `type: "refusal"`

9974 

9975 The type of the object. Always `refusal`.

9976 

9977 - `"refusal"`

9978 

9979 - `model: string`

9980 

9981 The model used.

9982 

9983 - `usage: object { input_tokens, input_tokens_details, output_tokens, 2 more }`

9984 

9985 Token usage for the request.

9986 

9987 - `input_tokens: number`

9988 

9989 - `input_tokens_details: object { cache_write_tokens, cached_tokens }`

9990 

9991 - `cache_write_tokens: number`

9992 

9993 - `cached_tokens: number`

9994 

9995 - `output_tokens: number`

9996 

9997 - `output_tokens_details: object { reasoning_tokens }`

9998 

9999 - `reasoning_tokens: number`

10000 

10001 - `total_tokens: number`

10002 

10003 - `type: "decision.completed"`

10004 

10005 - `"decision.completed"`

10006 

10007- `event_id: string`

10008 

10009 The unique ID of this Live server event.

10010 

10011- `source_event_id: string or null`

10012 

10013 The event_id of the transcript delta that fired this trigger, or null for a delegation.

10014 

10015- `source_event_type: "session.input_transcript.delta" or "session.output_transcript.delta" or null`

10016 

10017 - `"session.input_transcript.delta" or "session.output_transcript.delta"`

10018 

10019 - `"session.input_transcript.delta"`

10020 

10021 - `"session.output_transcript.delta"`

10022 

10023- `trigger_id: string or null`

10024 

10025 The Live-assigned ID of this trigger firing, or null for a delegation.

10026 

10027- `type: "decision.event"`

10028 

10029 - `"decision.event"`

10030 

10031#### Example

10032 

10033```json

10034{

10035 "type": "decision.event",

10036 "event_id": "evt_decision_1",

10037 "delegation_id": "del_abc123",

10038 "trigger_id": null,

10039 "source_event_type": null,

10040 "source_event_id": null,

10041 "event": {

10042 "type": "decision.completed",

10043 "decision": {

10044 "model": "gpt-6-luna",

10045 "answers": [

10046 {

10047 "type": "predicate",

10048 "name": "damaged",

10049 "probability": 0.95

10050 }

10051 ],

10052 "usage": {

10053 "input_tokens": 42,

10054 "input_tokens_details": {

10055 "cached_tokens": 0,

10056 "cache_write_tokens": 0

10057 },

10058 "output_tokens": 0,

10059 "output_tokens_details": {

10060 "reasoning_tokens": 0

10061 },

10062 "total_tokens": 42

10063 }

10064 }

10065 }

10066}

10067```

10068 

10069<a id="decision.item.created"></a>

10070 

10071### decision.item.created

10072 

10073An input item was appended for future decisions.

10074 

10075#### Schema

10076 

10077Schema name: `LiveDecisionItemCreated`

8865 10078 

8866### session.output_transcript.delta10079- `event_id: string`

8867 10080 

8868A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.10081 The unique ID of the Live server event.

8869 10082 

8870#### Schema10083- `item: object { id, content, role, type }`

8871 10084 

8872Schema name: `LiveOutputTranscriptDelta`10085 - `id: string`

8873 10086 

8874- `delta: string`10087 The ID of the stored Decision input item.

8875 10088 

8876 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.10089 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

8877 10090 

8878- `end_ms: number`10091 The text input to the model.

8879 10092 

8880 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.10093 - `string`

8881 10094 

8882- `event_id: string`10095 The text input to the model.

8883 10096 

8884 The unique ID of the Live server event.10097 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

8885 10098 

8886- `start_ms: number`10099 - `InputText object { text, type }`

8887 10100 

8888 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.10101 - `text: string`

8889 10102 

8890- `type: "session.output_transcript.delta"`10103 The text input to the model.

8891 10104 

8892 The event type, always `session.output_transcript.delta`.10105 - `type: "input_text"`

8893 10106 

8894 - `"session.output_transcript.delta"`10107 The type of the input item. Always `input_text`.

8895 10108 

8896- `client_event_id: optional string`10109 - `"input_text"`

8897 10110 

8898 The event_id of the client command associated with this server event, when supplied.10111 - `InputImage object { image_url, type, detail }`

8899 10112 

8900#### Example10113 - `image_url: string`

8901 10114 

8902```json10115 An inline image encoded as a data URL.

8903{

8904 "type": "session.output_transcript.delta",

8905 "event_id": "evt_output_transcript_001",

8906 "delta": "Would you like me to reserve that table?",

8907 "start_ms": 5400,

8908 "end_ms": 7200

8909}

8910```

8911 10116 

8912<a id="session.delegation.created"></a>10117 - `type: "input_image"`

8913 10118 

8914### session.delegation.created10119 The type of the input item. Always `input_image`.

8915 10120 

8916Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated.10121 - `"input_image"`

8917 10122 

8918#### Schema10123 - `detail: optional "low" or "high" or "auto" or "original" or null`

8919 10124 

8920Schema name: `LiveDelegationCreated`10125 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

8921 10126 

8922- `delegation: object { id, target, type, response_id }`10127 - `"low"`

8923 10128 

8924 The delegated work identifier and destination. This object contains metadata, not the task text.10129 - `"high"`

8925 10130 

8926 - `id: string`10131 - `"auto"`

8927 10132 

8928 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating Responses events.10133 - `"original"`

8929 10134 

8930 - `target: "client" or "responses"`10135 - `role: "user"`

8931 10136 

8932 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.10137 The message role. Always `user`.

8933 10138 

8934 - `"client" or "responses"`10139 - `"user"`

8935 10140 

8936 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.10141 - `type: optional "message"`

8937 10142 

8938 - `"client"`10143 - `"message"`

8939 10144 

8940 - `"responses"`10145- `type: "decision.item.created"`

8941 10146 

8942 - `type: "delegation"`10147 - `"decision.item.created"`

8943 10148 

8944 The object type, always `delegation`.10149- `client_event_id: optional string`

8945 10150 

8946 - `"delegation"`10151 The event_id of the client command associated with this server event, when supplied.

8947 10152 

8948 - `response_id: optional string`10153#### Example

8949 10154 

8950 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.10155```json

10156{

10157 "type": "decision.item.created",

10158 "event_id": "evt_item_1",

10159 "client_event_id": "browser_1",

10160 "item": {

10161 "id": "msg_browser_1",

10162 "type": "message",

10163 "role": "user",

10164 "content": [

10165 {

10166 "type": "input_text",

10167 "text": "Wikipedia is open."

10168 }

10169 ]

10170 }

10171}

10172```

8951 10173 

8952- `event_id: string`10174<a id="decision.item.deleted"></a>

8953 10175 

8954 The unique ID of the Live server event.10176### decision.item.deleted

8955 10177 

8956- `offset_ms: number`10178An input item was removed from future decisions.

8957 10179 

8958 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.10180#### Schema

8959 10181 

8960- `type: "session.delegation.created"`10182Schema name: `LiveDecisionItemDeleted`

8961 10183 

8962 The event type, always `session.delegation.created`.10184- `event_id: string`

8963 10185 

8964 - `"session.delegation.created"`10186 The unique ID of the Live server event.

10187 

10188- `item_id: string`

10189 

10190- `type: "decision.item.deleted"`

10191 

10192 - `"decision.item.deleted"`

8965 10193 

8966- `client_event_id: optional string`10194- `client_event_id: optional string`

8967 10195 


8971 10199 

8972```json10200```json

8973{10201{

8974 "type": "session.delegation.created",10202 "type": "decision.item.deleted",

8975 "event_id": "evt_delegation_001",10203 "event_id": "evt_item_deleted_1",

8976 "offset_ms": 3600,10204 "client_event_id": "remove_browser_1",

8977 "delegation": {10205 "item_id": "msg_browser_1"

8978 "id": "del_abc123",

8979 "type": "delegation",

8980 "target": "client"

8981 }

8982}10206}

8983```10207```

8984 10208 


9320 10544 

9321 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.10545 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

9322 10546 

9323 - `delegation: optional ClientDelegation or Responses { responses, type } or null`10547 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

9324 10548 

9325 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.10549 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

9326 10550 

9327 - `ClientDelegation object { type }`10551 - `ClientDelegation object { type }`

9328 10552 


9940 11164 

9941 - `"responses"`11165 - `"responses"`

9942 11166 

11167 - `Decisions object { decisions, type }`

11168 

11169 - `decisions: object { model, questions }`

11170 

11171 - `model: string`

11172 

11173 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

11174 

11175 Native Decision API questions evaluated together, in order.

11176 

11177 - `Predicate object { instructions, type, name }`

11178 

11179 Estimate how likely it is that a statement about the input is true.

11180 

11181 - `instructions: string`

11182 

11183 - `type: "predicate"`

11184 

11185 The type of the object. Always `predicate`.

11186 

11187 - `"predicate"`

11188 

11189 - `name: optional string`

11190 

11191 - `Choice object { choices, instructions, type, name }`

11192 

11193 Choose from the supplied options based on the input.

11194 

11195 - `choices: array of object { value, description }`

11196 

11197 Provide between 2 and 255 choices. Each choice must be unique.

11198 

11199 - `value: string or boolean`

11200 

11201 Choice values are typed: a string and a boolean with the same text are distinct.

11202 

11203 - `string`

11204 

11205 - `boolean`

11206 

11207 - `description: optional string`

11208 

11209 - `instructions: string`

11210 

11211 - `type: "choice"`

11212 

11213 The type of the object. Always `choice`.

11214 

11215 - `"choice"`

11216 

11217 - `name: optional string`

11218 

11219 - `Score object { instructions, levels, type, name }`

11220 

11221 Rate the input against the supplied ordered levels.

11222 

11223 - `instructions: string`

11224 

11225 - `levels: array of object { label, description }`

11226 

11227 - `label: string`

11228 

11229 - `description: optional string`

11230 

11231 - `type: "score"`

11232 

11233 The type of the object. Always `score`.

11234 

11235 - `"score"`

11236 

11237 - `name: optional string`

11238 

11239 - `type: "decisions"`

11240 

11241 - `"decisions"`

11242 

9943 - `input: optional array of InitialItem`11243 - `input: optional array of InitialItem`

9944 11244 

9945 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.11245 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).

9946 11246 

9947 - `Developer object { content, role, id, 2 more }`11247 - `Developer object { content, role, id, 2 more }`

9948 11248 


10096 11396 

10097 Whether to store the session for later forking and recording download. Defaults to false for new sessions.11397 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

10098 11398 

11399 - `triggers: optional array of object { decisions, event_type, type }`

11400 

11401 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

11402 

11403 - `decisions: object { questions }`

11404 

11405 Questions evaluated using the current transcript and the session's shared Decision items.

11406 

11407 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

11408 

11409 Native Decision API questions evaluated together, in order.

11410 

11411 - `Predicate object { instructions, type, name }`

11412 

11413 Estimate how likely it is that a statement about the input is true.

11414 

11415 - `instructions: string`

11416 

11417 - `type: "predicate"`

11418 

11419 The type of the object. Always `predicate`.

11420 

11421 - `"predicate"`

11422 

11423 - `name: optional string`

11424 

11425 - `Choice object { choices, instructions, type, name }`

11426 

11427 Choose from the supplied options based on the input.

11428 

11429 - `choices: array of object { value, description }`

11430 

11431 Provide between 2 and 255 choices. Each choice must be unique.

11432 

11433 - `value: string or boolean`

11434 

11435 Choice values are typed: a string and a boolean with the same text are distinct.

11436 

11437 - `string`

11438 

11439 - `boolean`

11440 

11441 - `description: optional string`

11442 

11443 - `instructions: string`

11444 

11445 - `type: "choice"`

11446 

11447 The type of the object. Always `choice`.

11448 

11449 - `"choice"`

11450 

11451 - `name: optional string`

11452 

11453 - `Score object { instructions, levels, type, name }`

11454 

11455 Rate the input against the supplied ordered levels.

11456 

11457 - `instructions: string`

11458 

11459 - `levels: array of object { label, description }`

11460 

11461 - `label: string`

11462 

11463 - `description: optional string`

11464 

11465 - `type: "score"`

11466 

11467 The type of the object. Always `score`.

11468 

11469 - `"score"`

11470 

11471 - `name: optional string`

11472 

11473 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

11474 

11475 - `"session.input_transcript.delta"`

11476 

11477 - `"session.output_transcript.delta"`

11478 

11479 - `type: "decisions"`

11480 

11481 - `"decisions"`

11482 

10099- `type: "session.closed"`11483- `type: "session.closed"`

10100 11484 

10101 The event type, always `session.closed`.11485 The event type, always `session.closed`.


10255}11639}

10256```11640```

10257 11641 

10258<a id="session.output_audio.fixture.playing"></a>

10259 

10260### session.output_audio.fixture.playing

10261 

10262The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

10263 

10264#### Schema

10265 

10266Schema name: `LiveOutputAudioFixturePlaying`

10267 

10268- `event_id: string`

10269 

10270 The unique ID of the Live server event.

10271 

10272- `type: "session.output_audio.fixture.playing"`

10273 

10274 - `"session.output_audio.fixture.playing"`

10275 

10276- `client_event_id: optional string`

10277 

10278 The event_id of the client command associated with this server event, when supplied.

10279 

10280#### Example

10281 

10282```json

10283{

10284 "type": "session.output_audio.fixture.playing",

10285 "event_id": "evt_play_started_001",

10286 "client_event_id": "evt_play_001"

10287}

10288```

10289 

10290<a id="session.output_audio.fixture.played"></a>

10291 

10292### session.output_audio.fixture.played

10293 

10294The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

10295 

10296#### Schema

10297 

10298Schema name: `LiveOutputAudioFixturePlayed`

10299 

10300- `event_id: string`

10301 

10302 The unique ID of the Live server event.

10303 

10304- `type: "session.output_audio.fixture.played"`

10305 

10306 - `"session.output_audio.fixture.played"`

10307 

10308- `client_event_id: optional string`

10309 

10310 The event_id of the client command associated with this server event, when supplied.

10311 

10312#### Example

10313 

10314```json

10315{

10316 "type": "session.output_audio.fixture.played",

10317 "event_id": "evt_played_001",

10318 "client_event_id": "evt_play_001"

10319}

10320```

10321 

10322<a id="server-events-session.input_audio.append"></a>11642<a id="server-events-session.input_audio.append"></a>

10323 11643 

10324### session.input_audio.append11644### session.input_audio.append

Details

71 71 

72### session.update72### session.update

73 73 

74Update the delegation settings of an active Live session. The server acknowledges accepted changes with `session.updated`.74Update the delegation settings or transcript triggers of an active Live session. The server acknowledges accepted changes with `session.updated`.

75 75 

76#### Schema76#### Schema

77 77 


79 79 

80- `session: SessionUpdateConfig`80- `session: SessionUpdateConfig`

81 81 

82 Sparse delegation updates. Omitted settings retain their values. The delegation type cannot change, including resetting Responses delegation to null or client. Model, frontend instructions, audio, and startup input are immutable.82 Sparse delegation and trigger updates. Omitted settings retain their values. The delegation type cannot change. Model, frontend instructions, audio, and startup input are immutable.

83 83 

84 - `delegation: optional ClientDelegation or Responses { type, responses } or null`84 - `delegation: optional ClientDelegation or Responses { type, responses } or Decisions { type, decisions } or null`

85 85 

86 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.86 Delegation settings to update. The delegation type must match the current session; omitted settings retain their values.

87 87 


701 701 

702 - `"apply_patch"`702 - `"apply_patch"`

703 703 

704 - `Decisions object { type, decisions }`

705 

706 - `type: "decisions"`

707 

708 - `"decisions"`

709 

710 - `decisions: optional DecisionsDelegationUpdateConfig`

711 

712 - `model: optional string`

713 

714 - `questions: optional array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

715 

716 Native Decision API questions evaluated together, in order.

717 

718 - `Predicate object { instructions, type, name }`

719 

720 Estimate how likely it is that a statement about the input is true.

721 

722 - `instructions: string`

723 

724 - `type: "predicate"`

725 

726 The type of the object. Always `predicate`.

727 

728 - `"predicate"`

729 

730 - `name: optional string`

731 

732 - `Choice object { choices, instructions, type, name }`

733 

734 Choose from the supplied options based on the input.

735 

736 - `choices: array of object { value, description }`

737 

738 Provide between 2 and 255 choices. Each choice must be unique.

739 

740 - `value: string or boolean`

741 

742 Choice values are typed: a string and a boolean with the same text are distinct.

743 

744 - `string`

745 

746 - `boolean`

747 

748 - `description: optional string`

749 

750 - `instructions: string`

751 

752 - `type: "choice"`

753 

754 The type of the object. Always `choice`.

755 

756 - `"choice"`

757 

758 - `name: optional string`

759 

760 - `Score object { instructions, levels, type, name }`

761 

762 Rate the input against the supplied ordered levels.

763 

764 - `instructions: string`

765 

766 - `levels: array of object { label, description }`

767 

768 - `label: string`

769 

770 - `description: optional string`

771 

772 - `type: "score"`

773 

774 The type of the object. Always `score`.

775 

776 - `"score"`

777 

778 - `name: optional string`

779 

780 - `triggers: optional array of object { decisions, event_type, type }`

781 

782 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

783 

784 - `decisions: object { questions }`

785 

786 Questions evaluated using the current transcript and the session's shared Decision items.

787 

788 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

789 

790 Native Decision API questions evaluated together, in order.

791 

792 - `Predicate object { instructions, type, name }`

793 

794 Estimate how likely it is that a statement about the input is true.

795 

796 - `instructions: string`

797 

798 - `type: "predicate"`

799 

800 The type of the object. Always `predicate`.

801 

802 - `"predicate"`

803 

804 - `name: optional string`

805 

806 - `Choice object { choices, instructions, type, name }`

807 

808 Choose from the supplied options based on the input.

809 

810 - `choices: array of object { value, description }`

811 

812 Provide between 2 and 255 choices. Each choice must be unique.

813 

814 - `value: string or boolean`

815 

816 Choice values are typed: a string and a boolean with the same text are distinct.

817 

818 - `string`

819 

820 - `boolean`

821 

822 - `description: optional string`

823 

824 - `instructions: string`

825 

826 - `type: "choice"`

827 

828 The type of the object. Always `choice`.

829 

830 - `"choice"`

831 

832 - `name: optional string`

833 

834 - `Score object { instructions, levels, type, name }`

835 

836 Rate the input against the supplied ordered levels.

837 

838 - `instructions: string`

839 

840 - `levels: array of object { label, description }`

841 

842 - `label: string`

843 

844 - `description: optional string`

845 

846 - `type: "score"`

847 

848 The type of the object. Always `score`.

849 

850 - `"score"`

851 

852 - `name: optional string`

853 

854 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

855 

856 - `"session.input_transcript.delta"`

857 

858 - `"session.output_transcript.delta"`

859 

860 - `type: "decisions"`

861 

862 - `"decisions"`

863 

704- `type: "session.update"`864- `type: "session.update"`

705 865 

706 The Live client event type. Always `session.update`.866 The Live client event type. Always `session.update`.


787}947}

788```948```

789 949 

950<a id="session.output_audio.fixture.play"></a>

951 

952### session.output_audio.fixture.play

953 

954Play one complete audio fixture through the session output. Send this event over the primary WebSocket or a server sideband. Audio must be raw mono PCM16 little-endian at 24 kHz, regardless of the session audio format, and at most 30 seconds. The entire payload is validated before model speech is interrupted and input is muted. Only one fixture can be active. fixture.playing acknowledges acceptance and fixture.played reports server mixer drain. These notifications are not exact transport-media boundaries. Input arriving during playback is dropped and not replayed.

955 

956#### Schema

957 

958Schema name: `LiveOutputAudioFixturePlayParam`

959 

960- `audio: string`

961 

962 Base64-encoded raw mono PCM16 audio, little-endian, at 24 kHz. Do not include a WAV or other container header.

963 

964- `type: "session.output_audio.fixture.play"`

965 

966 - `"session.output_audio.fixture.play"`

967 

968- `event_id: optional string or null`

969 

970 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

971 

972#### Example

973 

974```json

975{

976 "type": "session.output_audio.fixture.play",

977 "event_id": "evt_play_001",

978 "audio": "AAAAAA=="

979}

980```

981 

790<a id="session.instructions.append"></a>982<a id="session.instructions.append"></a>

791 983 

792### session.instructions.append984### session.instructions.append


904}1096}

905```1097```

906 1098 

1099<a id="decision.create"></a>

1100 

1101### decision.create

1102 

1103Evaluate the configured questions using the current conversation and Decision inputs. Reusing an event_id is rejected for the lifetime of the session.

1104 

1105#### Schema

1106 

1107Schema name: `LiveDecisionCreateParam`

1108 

1109- `event_id: string`

1110 

1111- `type: "decision.create"`

1112 

1113 - `"decision.create"`

1114 

1115#### Example

1116 

1117```json

1118{

1119 "type": "decision.create",

1120 "event_id": "decision_1"

1121}

1122```

1123 

1124<a id="decision.item.create"></a>

1125 

1126### decision.item.create

1127 

1128Append an input item for future decisions without starting an evaluation or changing Live voice context.

1129 

1130#### Schema

1131 

1132Schema name: `LiveDecisionItemCreateParam`

1133 

1134- `item: object { content, role, id, type }`

1135 

1136 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

1137 

1138 The text input to the model.

1139 

1140 - `string`

1141 

1142 The text input to the model.

1143 

1144 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

1145 

1146 - `InputText object { text, type }`

1147 

1148 - `text: string`

1149 

1150 The text input to the model.

1151 

1152 - `type: "input_text"`

1153 

1154 The type of the input item. Always `input_text`.

1155 

1156 - `"input_text"`

1157 

1158 - `InputImage object { image_url, type, detail }`

1159 

1160 - `image_url: string`

1161 

1162 An inline image encoded as a data URL.

1163 

1164 - `type: "input_image"`

1165 

1166 The type of the input item. Always `input_image`.

1167 

1168 - `"input_image"`

1169 

1170 - `detail: optional "low" or "high" or "auto" or "original" or null`

1171 

1172 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

1173 

1174 - `"low"`

1175 

1176 - `"high"`

1177 

1178 - `"auto"`

1179 

1180 - `"original"`

1181 

1182 - `role: "user"`

1183 

1184 The message role. Always `user`.

1185 

1186 - `"user"`

1187 

1188 - `id: optional string or null`

1189 

1190 The unique ID of this message item.

1191 

1192 - `type: optional "message"`

1193 

1194 - `"message"`

1195 

1196- `type: "decision.item.create"`

1197 

1198 - `"decision.item.create"`

1199 

1200- `event_id: optional string or null`

1201 

1202 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

1203 

1204#### Example

1205 

1206```json

1207{

1208 "type": "decision.item.create",

1209 "event_id": "browser_1",

1210 "item": {

1211 "type": "message",

1212 "role": "user",

1213 "content": [

1214 {

1215 "type": "input_text",

1216 "text": "Wikipedia is open."

1217 }

1218 ]

1219 }

1220}

1221```

1222 

1223<a id="decision.item.delete"></a>

1224 

1225### decision.item.delete

1226 

1227Delete an input item from future decisions without starting an evaluation or changing Live voice context.

1228 

1229#### Schema

1230 

1231Schema name: `LiveDecisionItemDeleteParam`

1232 

1233- `item_id: string`

1234 

1235- `type: "decision.item.delete"`

1236 

1237 - `"decision.item.delete"`

1238 

1239- `event_id: optional string or null`

1240 

1241 Optional client identifier for correlating this command with a server event's client_event_id or error.client_event_id.

1242 

1243#### Example

1244 

1245```json

1246{

1247 "type": "decision.item.delete",

1248 "event_id": "remove_browser_1",

1249 "item_id": "msg_browser_1"

1250}

1251```

1252 

907<a id="response.item.create"></a>1253<a id="response.item.create"></a>

908 1254 

909### response.item.create1255### response.item.create


5677 6023 

5678 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.6024 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

5679 6025 

5680 - `delegation: optional ClientDelegation or Responses { responses, type } or null`6026 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

5681 6027 

5682 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.6028 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

5683 6029 

5684 - `ClientDelegation object { type }`6030 - `ClientDelegation object { type }`

5685 6031 


6297 6643 

6298 - `"responses"`6644 - `"responses"`

6299 6645 

6300 - `input: optional array of InitialItem`6646 - `Decisions object { decisions, type }`

6301 6647 

6302 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.6648 - `decisions: object { model, questions }`

6303 6649 

6304 - `Developer object { content, role, id, 2 more }`6650 - `model: string`

6305 6651 

6306 A developer message included in the initial text history of a Live session.6652 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

6307 6653 

6308 - `content: array of object { text, type }`6654 Native Decision API questions evaluated together, in order.

6309 6655 

6310 The message content. Supply exactly one text part for the initial Live conversation history.6656 - `Predicate object { instructions, type, name }`

6311 6657 

6312 - `text: string`6658 Estimate how likely it is that a statement about the input is true.

6313 6659 

6314 The message text to include in the Live session’s initial conversation history.6660 - `instructions: string`

6315 6661 

6316 - `type: optional "input_text"`6662 - `type: "predicate"`

6317 6663 

6318 The text content type. Always `input_text`.6664 The type of the object. Always `predicate`.

6319 6665 

6320 - `"input_text"`6666 - `"predicate"`

6321 6667 

6322 - `role: "developer"`6668 - `name: optional string`

6323 6669 

6324 The author of this history message. Always `developer`.6670 - `Choice object { choices, instructions, type, name }`

6325 6671 

6326 - `"developer"`6672 Choose from the supplied options based on the input.

6327 6673 

6328 - `id: optional string or null`6674 - `choices: array of object { value, description }`

6329 6675 

6330 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.6676 Provide between 2 and 255 choices. Each choice must be unique.

6331 6677 

6332 - `status: optional "incomplete" or "completed" or null`6678 - `value: string or boolean`

6333 6679 

6334 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.6680 Choice values are typed: a string and a boolean with the same text are distinct.

6335 6681 

6336 - `"incomplete"`6682 - `string`

6337 6683 

6338 - `"completed"`6684 - `boolean`

6339 6685 

6340 - `type: optional "message"`6686 - `description: optional string`

6341 6687 

6342 The history item type. Always `message`.6688 - `instructions: string`

6343 6689 

6344 - `"message"`6690 - `type: "choice"`

6691 

6692 The type of the object. Always `choice`.

6693 

6694 - `"choice"`

6695 

6696 - `name: optional string`

6697 

6698 - `Score object { instructions, levels, type, name }`

6699 

6700 Rate the input against the supplied ordered levels.

6701 

6702 - `instructions: string`

6703 

6704 - `levels: array of object { label, description }`

6705 

6706 - `label: string`

6707 

6708 - `description: optional string`

6709 

6710 - `type: "score"`

6711 

6712 The type of the object. Always `score`.

6713 

6714 - `"score"`

6715 

6716 - `name: optional string`

6717 

6718 - `type: "decisions"`

6719 

6720 - `"decisions"`

6721 

6722 - `input: optional array of InitialItem`

6723 

6724 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).

6725 

6726 - `Developer object { content, role, id, 2 more }`

6727 

6728 A developer message included in the initial text history of a Live session.

6729 

6730 - `content: array of object { text, type }`

6731 

6732 The message content. Supply exactly one text part for the initial Live conversation history.

6733 

6734 - `text: string`

6735 

6736 The message text to include in the Live session’s initial conversation history.

6737 

6738 - `type: optional "input_text"`

6739 

6740 The text content type. Always `input_text`.

6741 

6742 - `"input_text"`

6743 

6744 - `role: "developer"`

6745 

6746 The author of this history message. Always `developer`.

6747 

6748 - `"developer"`

6749 

6750 - `id: optional string or null`

6751 

6752 An optional identifier for the supplied history message. Live uses the message’s role and text to initialize the conversation.

6753 

6754 - `status: optional "incomplete" or "completed" or null`

6755 

6756 The supplied message’s status. Live uses its text as history and does not resume an incomplete message.

6757 

6758 - `"incomplete"`

6759 

6760 - `"completed"`

6761 

6762 - `type: optional "message"`

6763 

6764 The history item type. Always `message`.

6765 

6766 - `"message"`

6345 6767 

6346 - `User object { content, role, id, 2 more }`6768 - `User object { content, role, id, 2 more }`

6347 6769 


6453 6875 

6454 Whether to store the session for later forking and recording download. Defaults to false for new sessions.6876 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

6455 6877 

6878 - `triggers: optional array of object { decisions, event_type, type }`

6879 

6880 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

6881 

6882 - `decisions: object { questions }`

6883 

6884 Questions evaluated using the current transcript and the session's shared Decision items.

6885 

6886 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

6887 

6888 Native Decision API questions evaluated together, in order.

6889 

6890 - `Predicate object { instructions, type, name }`

6891 

6892 Estimate how likely it is that a statement about the input is true.

6893 

6894 - `instructions: string`

6895 

6896 - `type: "predicate"`

6897 

6898 The type of the object. Always `predicate`.

6899 

6900 - `"predicate"`

6901 

6902 - `name: optional string`

6903 

6904 - `Choice object { choices, instructions, type, name }`

6905 

6906 Choose from the supplied options based on the input.

6907 

6908 - `choices: array of object { value, description }`

6909 

6910 Provide between 2 and 255 choices. Each choice must be unique.

6911 

6912 - `value: string or boolean`

6913 

6914 Choice values are typed: a string and a boolean with the same text are distinct.

6915 

6916 - `string`

6917 

6918 - `boolean`

6919 

6920 - `description: optional string`

6921 

6922 - `instructions: string`

6923 

6924 - `type: "choice"`

6925 

6926 The type of the object. Always `choice`.

6927 

6928 - `"choice"`

6929 

6930 - `name: optional string`

6931 

6932 - `Score object { instructions, levels, type, name }`

6933 

6934 Rate the input against the supplied ordered levels.

6935 

6936 - `instructions: string`

6937 

6938 - `levels: array of object { label, description }`

6939 

6940 - `label: string`

6941 

6942 - `description: optional string`

6943 

6944 - `type: "score"`

6945 

6946 The type of the object. Always `score`.

6947 

6948 - `"score"`

6949 

6950 - `name: optional string`

6951 

6952 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

6953 

6954 - `"session.input_transcript.delta"`

6955 

6956 - `"session.output_transcript.delta"`

6957 

6958 - `type: "decisions"`

6959 

6960 - `"decisions"`

6961 

6456- `type: "session.started"`6962- `type: "session.started"`

6457 6963 

6458 The event type, always `session.started`.6964 The event type, always `session.started`.


6707 7213 

6708 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.7214 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

6709 7215 

6710 - `delegation: optional ClientDelegation or Responses { responses, type } or null`7216 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

6711 7217 

6712 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.7218 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

6713 7219 

6714 - `ClientDelegation object { type }`7220 - `ClientDelegation object { type }`

6715 7221 


7327 7833 

7328 - `"responses"`7834 - `"responses"`

7329 7835 

7836 - `Decisions object { decisions, type }`

7837 

7838 - `decisions: object { model, questions }`

7839 

7840 - `model: string`

7841 

7842 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

7843 

7844 Native Decision API questions evaluated together, in order.

7845 

7846 - `Predicate object { instructions, type, name }`

7847 

7848 Estimate how likely it is that a statement about the input is true.

7849 

7850 - `instructions: string`

7851 

7852 - `type: "predicate"`

7853 

7854 The type of the object. Always `predicate`.

7855 

7856 - `"predicate"`

7857 

7858 - `name: optional string`

7859 

7860 - `Choice object { choices, instructions, type, name }`

7861 

7862 Choose from the supplied options based on the input.

7863 

7864 - `choices: array of object { value, description }`

7865 

7866 Provide between 2 and 255 choices. Each choice must be unique.

7867 

7868 - `value: string or boolean`

7869 

7870 Choice values are typed: a string and a boolean with the same text are distinct.

7871 

7872 - `string`

7873 

7874 - `boolean`

7875 

7876 - `description: optional string`

7877 

7878 - `instructions: string`

7879 

7880 - `type: "choice"`

7881 

7882 The type of the object. Always `choice`.

7883 

7884 - `"choice"`

7885 

7886 - `name: optional string`

7887 

7888 - `Score object { instructions, levels, type, name }`

7889 

7890 Rate the input against the supplied ordered levels.

7891 

7892 - `instructions: string`

7893 

7894 - `levels: array of object { label, description }`

7895 

7896 - `label: string`

7897 

7898 - `description: optional string`

7899 

7900 - `type: "score"`

7901 

7902 The type of the object. Always `score`.

7903 

7904 - `"score"`

7905 

7906 - `name: optional string`

7907 

7908 - `type: "decisions"`

7909 

7910 - `"decisions"`

7911 

7330 - `input: optional array of InitialItem`7912 - `input: optional array of InitialItem`

7331 7913 

7332 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.7914 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).

7333 7915 

7334 - `Developer object { content, role, id, 2 more }`7916 - `Developer object { content, role, id, 2 more }`

7335 7917 


7483 8065 

7484 Whether to store the session for later forking and recording download. Defaults to false for new sessions.8066 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

7485 8067 

8068 - `triggers: optional array of object { decisions, event_type, type }`

8069 

8070 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

8071 

8072 - `decisions: object { questions }`

8073 

8074 Questions evaluated using the current transcript and the session's shared Decision items.

8075 

8076 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

8077 

8078 Native Decision API questions evaluated together, in order.

8079 

8080 - `Predicate object { instructions, type, name }`

8081 

8082 Estimate how likely it is that a statement about the input is true.

8083 

8084 - `instructions: string`

8085 

8086 - `type: "predicate"`

8087 

8088 The type of the object. Always `predicate`.

8089 

8090 - `"predicate"`

8091 

8092 - `name: optional string`

8093 

8094 - `Choice object { choices, instructions, type, name }`

8095 

8096 Choose from the supplied options based on the input.

8097 

8098 - `choices: array of object { value, description }`

8099 

8100 Provide between 2 and 255 choices. Each choice must be unique.

8101 

8102 - `value: string or boolean`

8103 

8104 Choice values are typed: a string and a boolean with the same text are distinct.

8105 

8106 - `string`

8107 

8108 - `boolean`

8109 

8110 - `description: optional string`

8111 

8112 - `instructions: string`

8113 

8114 - `type: "choice"`

8115 

8116 The type of the object. Always `choice`.

8117 

8118 - `"choice"`

8119 

8120 - `name: optional string`

8121 

8122 - `Score object { instructions, levels, type, name }`

8123 

8124 Rate the input against the supplied ordered levels.

8125 

8126 - `instructions: string`

8127 

8128 - `levels: array of object { label, description }`

8129 

8130 - `label: string`

8131 

8132 - `description: optional string`

8133 

8134 - `type: "score"`

8135 

8136 The type of the object. Always `score`.

8137 

8138 - `"score"`

8139 

8140 - `name: optional string`

8141 

8142 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

8143 

8144 - `"session.input_transcript.delta"`

8145 

8146 - `"session.output_transcript.delta"`

8147 

8148 - `type: "decisions"`

8149 

8150 - `"decisions"`

8151 

7486- `type: "session.updated"`8152- `type: "session.updated"`

7487 8153 

7488 The event type, always `session.updated`.8154 The event type, always `session.updated`.


7597}8263}

7598```8264```

7599 8265 

8266<a id="session.output_audio.fixture.playing"></a>

8267 

8268### session.output_audio.fixture.playing

8269 

8270The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

8271 

8272#### Schema

8273 

8274Schema name: `LiveOutputAudioFixturePlaying`

8275 

8276- `event_id: string`

8277 

8278 The unique ID of the Live server event.

8279 

8280- `type: "session.output_audio.fixture.playing"`

8281 

8282 - `"session.output_audio.fixture.playing"`

8283 

8284- `client_event_id: optional string`

8285 

8286 The event_id of the client command associated with this server event, when supplied.

8287 

8288#### Example

8289 

8290```json

8291{

8292 "type": "session.output_audio.fixture.playing",

8293 "event_id": "evt_playing_001",

8294 "client_event_id": "evt_play_001"

8295}

8296```

8297 

8298<a id="session.output_audio.fixture.played"></a>

8299 

8300### session.output_audio.fixture.played

8301 

8302The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

8303 

8304#### Schema

8305 

8306Schema name: `LiveOutputAudioFixturePlayed`

8307 

8308- `event_id: string`

8309 

8310 The unique ID of the Live server event.

8311 

8312- `type: "session.output_audio.fixture.played"`

8313 

8314 - `"session.output_audio.fixture.played"`

8315 

8316- `client_event_id: optional string`

8317 

8318 The event_id of the client command associated with this server event, when supplied.

8319 

8320#### Example

8321 

8322```json

8323{

8324 "type": "session.output_audio.fixture.played",

8325 "event_id": "evt_played_001",

8326 "client_event_id": "evt_play_001"

8327}

8328```

8329 

7600<a id="session.instructions.appended"></a>8330<a id="session.instructions.appended"></a>

7601 8331 

7602### session.instructions.appended8332### session.instructions.appended


7816}8546}

7817```8547```

7818 8548 

7819<a id="session.output_transcript.delta"></a>8549<a id="session.output_transcript.delta"></a>

8550 

8551### session.output_transcript.delta

8552 

8553A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.

8554 

8555#### Schema

8556 

8557Schema name: `LiveOutputTranscriptDelta`

8558 

8559- `delta: string`

8560 

8561 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.

8562 

8563- `end_ms: number`

8564 

8565 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.

8566 

8567- `event_id: string`

8568 

8569 The unique ID of the Live server event.

8570 

8571- `start_ms: number`

8572 

8573 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.

8574 

8575- `type: "session.output_transcript.delta"`

8576 

8577 The event type, always `session.output_transcript.delta`.

8578 

8579 - `"session.output_transcript.delta"`

8580 

8581- `client_event_id: optional string`

8582 

8583 The event_id of the client command associated with this server event, when supplied.

8584 

8585#### Example

8586 

8587```json

8588{

8589 "type": "session.output_transcript.delta",

8590 "event_id": "evt_output_transcript_001",

8591 "delta": "Would you like me to reserve that table?",

8592 "start_ms": 5400,

8593 "end_ms": 7200

8594}

8595```

8596 

8597<a id="session.delegation.created"></a>

8598 

8599### session.delegation.created

8600 

8601Returned when the Live model delegates work to your application, Responses, or Decisions. Contains delegation metadata and the position on the session timeline where the work was delegated.

8602 

8603#### Schema

8604 

8605Schema name: `LiveDelegationCreated`

8606 

8607- `delegation: object { id, target, type, response_id }`

8608 

8609 The delegated work identifier and destination. This object contains metadata, not the task text.

8610 

8611 - `id: string`

8612 

8613 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating backend events.

8614 

8615 - `target: "client" or "responses" or "decisions"`

8616 

8617 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

8618 

8619 - `"client" or "responses" or "decisions"`

8620 

8621 Where the Live model delegated the work: `client`, `responses`, or `decisions`.

8622 

8623 - `"client"`

8624 

8625 - `"responses"`

8626 

8627 - `"decisions"`

8628 

8629 - `type: "delegation"`

8630 

8631 The object type, always `delegation`.

8632 

8633 - `"delegation"`

8634 

8635 - `response_id: optional string`

8636 

8637 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.

8638 

8639- `event_id: string`

8640 

8641 The unique ID of the Live server event.

8642 

8643- `offset_ms: number`

8644 

8645 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.

8646 

8647- `type: "session.delegation.created"`

8648 

8649 The event type, always `session.delegation.created`.

8650 

8651 - `"session.delegation.created"`

8652 

8653- `client_event_id: optional string`

8654 

8655 The event_id of the client command associated with this server event, when supplied.

8656 

8657#### Example

8658 

8659```json

8660{

8661 "type": "session.delegation.created",

8662 "event_id": "evt_delegation_001",

8663 "offset_ms": 3600,

8664 "delegation": {

8665 "id": "del_abc123",

8666 "type": "delegation",

8667 "target": "client"

8668 }

8669}

8670```

8671 

8672<a id="decision.event"></a>

8673 

8674### decision.event

8675 

8676A Decision API event for a Live delegation or transcript trigger. For a trigger, source_event_id identifies the transcript delta that caused this evaluation.

8677 

8678#### Schema

8679 

8680Schema name: `LiveDecisionEvent`

8681 

8682- `delegation_id: string or null`

8683 

8684 The Live delegation ID, or null for a transcript trigger.

8685 

8686- `event: object { decision, type }`

8687 

8688 - `decision: Decision`

8689 

8690 The native Decision API response, including its model, ordered answers, and token usage.

8691 

8692 - `answers: array of Predicate { name, probability, type } or Choice { choice, confidence, name, 2 more } or Score { confidence, name, probabilities, 2 more } or Refusal { name, type }`

8693 

8694 Answers in question order. Any question can return a refusal instead of an answer; other questions can still receive answers. A refusal has `type: "refusal"` and the question's `name`, or `null` if it was unnamed.

8695 

8696 - `Predicate object { name, probability, type }`

8697 

8698 - `name: string or null`

8699 

8700 - `probability: number`

8701 

8702 - `type: "predicate"`

8703 

8704 The type of the object. Always `predicate`.

8705 

8706 - `"predicate"`

8707 

8708 - `Choice object { choice, confidence, name, 2 more }`

8709 

8710 - `choice: string or boolean`

8711 

8712 Choice values are typed: a string and a boolean with the same text are distinct.

8713 

8714 - `string`

8715 

8716 - `boolean`

8717 

8718 - `confidence: number`

8719 

8720 - `name: string or null`

8721 

8722 - `probabilities: array of object { probability, value }`

8723 

8724 - `probability: number`

8725 

8726 - `value: string or boolean`

8727 

8728 Choice values are typed: a string and a boolean with the same text are distinct.

8729 

8730 - `string`

8731 

8732 - `boolean`

8733 

8734 - `type: "choice"`

8735 

8736 The type of the object. Always `choice`.

8737 

8738 - `"choice"`

8739 

8740 - `Score object { confidence, name, probabilities, 2 more }`

8741 

8742 - `confidence: number`

8743 

8744 - `name: string or null`

8745 

8746 - `probabilities: array of object { label, probability, value }`

8747 

8748 - `label: string`

8749 

8750 - `probability: number`

8751 

8752 - `value: number`

8753 

8754 - `score: number`

8755 

8756 - `type: "score"`

8757 

8758 The type of the object. Always `score`.

8759 

8760 - `"score"`

8761 

8762 - `Refusal object { name, type }`

8763 

8764 The model declined to answer this question. Other questions in the same request can still receive answers.

8765 

8766 - `name: string or null`

8767 

8768 - `type: "refusal"`

8769 

8770 The type of the object. Always `refusal`.

8771 

8772 - `"refusal"`

8773 

8774 - `model: string`

8775 

8776 The model used.

8777 

8778 - `usage: object { input_tokens, input_tokens_details, output_tokens, 2 more }`

8779 

8780 Token usage for the request.

8781 

8782 - `input_tokens: number`

8783 

8784 - `input_tokens_details: object { cache_write_tokens, cached_tokens }`

8785 

8786 - `cache_write_tokens: number`

8787 

8788 - `cached_tokens: number`

8789 

8790 - `output_tokens: number`

8791 

8792 - `output_tokens_details: object { reasoning_tokens }`

8793 

8794 - `reasoning_tokens: number`

8795 

8796 - `total_tokens: number`

8797 

8798 - `type: "decision.completed"`

8799 

8800 - `"decision.completed"`

8801 

8802- `event_id: string`

8803 

8804 The unique ID of this Live server event.

8805 

8806- `source_event_id: string or null`

8807 

8808 The event_id of the transcript delta that fired this trigger, or null for a delegation.

8809 

8810- `source_event_type: "session.input_transcript.delta" or "session.output_transcript.delta" or null`

8811 

8812 - `"session.input_transcript.delta" or "session.output_transcript.delta"`

8813 

8814 - `"session.input_transcript.delta"`

8815 

8816 - `"session.output_transcript.delta"`

8817 

8818- `trigger_id: string or null`

8819 

8820 The Live-assigned ID of this trigger firing, or null for a delegation.

8821 

8822- `type: "decision.event"`

8823 

8824 - `"decision.event"`

8825 

8826#### Example

8827 

8828```json

8829{

8830 "type": "decision.event",

8831 "event_id": "evt_decision_1",

8832 "delegation_id": "del_abc123",

8833 "trigger_id": null,

8834 "source_event_type": null,

8835 "source_event_id": null,

8836 "event": {

8837 "type": "decision.completed",

8838 "decision": {

8839 "model": "gpt-6-luna",

8840 "answers": [

8841 {

8842 "type": "predicate",

8843 "name": "damaged",

8844 "probability": 0.95

8845 }

8846 ],

8847 "usage": {

8848 "input_tokens": 42,

8849 "input_tokens_details": {

8850 "cached_tokens": 0,

8851 "cache_write_tokens": 0

8852 },

8853 "output_tokens": 0,

8854 "output_tokens_details": {

8855 "reasoning_tokens": 0

8856 },

8857 "total_tokens": 42

8858 }

8859 }

8860 }

8861}

8862```

8863 

8864<a id="decision.item.created"></a>

8865 

8866### decision.item.created

8867 

8868An input item was appended for future decisions.

8869 

8870#### Schema

8871 

8872Schema name: `LiveDecisionItemCreated`

7820 8873 

7821### session.output_transcript.delta8874- `event_id: string`

7822 8875 

7823A transcript fragment for assistant output audio in the Live session. Accumulate fragments in delivery order; these events do not define complete turns or include a transcript-done event.8876 The unique ID of the Live server event.

7824 8877 

7825#### Schema8878- `item: object { id, content, role, type }`

7826 8879 

7827Schema name: `LiveOutputTranscriptDelta`8880 - `id: string`

7828 8881 

7829- `delta: string`8882 The ID of the stored Decision input item.

7830 8883 

7831 The transcript text fragment for the audio in this time range. Append fragments in delivery order to build the transcript.8884 - `content: string or array of InputText { text, type } or InputImage { image_url, type, detail }`

7832 8885 

7833- `end_ms: number`8886 The text input to the model.

7834 8887 

7835 The end of this event on the Live session timeline, in milliseconds from the beginning of the session. For appended context, this can equal start_ms.8888 - `string`

7836 8889 

7837- `event_id: string`8890 The text input to the model.

7838 8891 

7839 The unique ID of the Live server event.8892 - `array of InputText { text, type } or InputImage { image_url, type, detail }`

7840 8893 

7841- `start_ms: number`8894 - `InputText object { text, type }`

7842 8895 

7843 The start of this event on the Live session timeline, in milliseconds from the beginning of the session.8896 - `text: string`

7844 8897 

7845- `type: "session.output_transcript.delta"`8898 The text input to the model.

7846 8899 

7847 The event type, always `session.output_transcript.delta`.8900 - `type: "input_text"`

7848 8901 

7849 - `"session.output_transcript.delta"`8902 The type of the input item. Always `input_text`.

7850 8903 

7851- `client_event_id: optional string`8904 - `"input_text"`

7852 8905 

7853 The event_id of the client command associated with this server event, when supplied.8906 - `InputImage object { image_url, type, detail }`

7854 8907 

7855#### Example8908 - `image_url: string`

7856 8909 

7857```json8910 An inline image encoded as a data URL.

7858{

7859 "type": "session.output_transcript.delta",

7860 "event_id": "evt_output_transcript_001",

7861 "delta": "Would you like me to reserve that table?",

7862 "start_ms": 5400,

7863 "end_ms": 7200

7864}

7865```

7866 8911 

7867<a id="session.delegation.created"></a>8912 - `type: "input_image"`

7868 8913 

7869### session.delegation.created8914 The type of the input item. Always `input_image`.

7870 8915 

7871Returned when the Live model delegates work to your application or a Responses backend. Contains delegation metadata and the position on the session timeline where the work was delegated.8916 - `"input_image"`

7872 8917 

7873#### Schema8918 - `detail: optional "low" or "high" or "auto" or "original" or null`

7874 8919 

7875Schema name: `LiveDelegationCreated`8920 The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.

7876 8921 

7877- `delegation: object { id, target, type, response_id }`8922 - `"low"`

7878 8923 

7879 The delegated work identifier and destination. This object contains metadata, not the task text.8924 - `"high"`

7880 8925 

7881 - `id: string`8926 - `"auto"`

7882 8927 

7883 The unique ID of the delegation. Use this as delegation_id when replying to client-owned work or correlating Responses events.8928 - `"original"`

7884 8929 

7885 - `target: "client" or "responses"`8930 - `role: "user"`

7886 8931 

7887 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.8932 The message role. Always `user`.

7888 8933 

7889 - `"client" or "responses"`8934 - `"user"`

7890 8935 

7891 Where the Live model delegated the work: `client` for your application, or `responses` for the configured Responses backend.8936 - `type: optional "message"`

7892 8937 

7893 - `"client"`8938 - `"message"`

7894 8939 

7895 - `"responses"`8940- `type: "decision.item.created"`

7896 8941 

7897 - `type: "delegation"`8942 - `"decision.item.created"`

7898 8943 

7899 The object type, always `delegation`.8944- `client_event_id: optional string`

7900 8945 

7901 - `"delegation"`8946 The event_id of the client command associated with this server event, when supplied.

7902 8947 

7903 - `response_id: optional string`8948#### Example

7904 8949 

7905 The ID of the Responses API response associated with a Responses delegation. Omitted for client delegations.8950```json

8951{

8952 "type": "decision.item.created",

8953 "event_id": "evt_item_1",

8954 "client_event_id": "browser_1",

8955 "item": {

8956 "id": "msg_browser_1",

8957 "type": "message",

8958 "role": "user",

8959 "content": [

8960 {

8961 "type": "input_text",

8962 "text": "Wikipedia is open."

8963 }

8964 ]

8965 }

8966}

8967```

7906 8968 

7907- `event_id: string`8969<a id="decision.item.deleted"></a>

7908 8970 

7909 The unique ID of the Live server event.8971### decision.item.deleted

7910 8972 

7911- `offset_ms: number`8973An input item was removed from future decisions.

7912 8974 

7913 The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.8975#### Schema

7914 8976 

7915- `type: "session.delegation.created"`8977Schema name: `LiveDecisionItemDeleted`

7916 8978 

7917 The event type, always `session.delegation.created`.8979- `event_id: string`

7918 8980 

7919 - `"session.delegation.created"`8981 The unique ID of the Live server event.

8982 

8983- `item_id: string`

8984 

8985- `type: "decision.item.deleted"`

8986 

8987 - `"decision.item.deleted"`

7920 8988 

7921- `client_event_id: optional string`8989- `client_event_id: optional string`

7922 8990 


7926 8994 

7927```json8995```json

7928{8996{

7929 "type": "session.delegation.created",8997 "type": "decision.item.deleted",

7930 "event_id": "evt_delegation_001",8998 "event_id": "evt_item_deleted_1",

7931 "offset_ms": 3600,8999 "client_event_id": "remove_browser_1",

7932 "delegation": {9000 "item_id": "msg_browser_1"

7933 "id": "del_abc123",

7934 "type": "delegation",

7935 "target": "client"

7936 }

7937}9001}

7938```9002```

7939 9003 


8275 9339 

8276 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.9340 The nested Responses event type. Required when type is 'response.event'; forbidden for other event types.

8277 9341 

8278 - `delegation: optional ClientDelegation or Responses { responses, type } or null`9342 - `delegation: optional ClientDelegation or Responses { responses, type } or Decisions { decisions, type } or null`

8279 9343 

8280 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` to let the API manage a Responses backend.9344 Who handles tasks delegated by the Live model. Omitted or null selects your application; use `responses` or `decisions` to delegate to the corresponding API.

8281 9345 

8282 - `ClientDelegation object { type }`9346 - `ClientDelegation object { type }`

8283 9347 


8895 9959 

8896 - `"responses"`9960 - `"responses"`

8897 9961 

9962 - `Decisions object { decisions, type }`

9963 

9964 - `decisions: object { model, questions }`

9965 

9966 - `model: string`

9967 

9968 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

9969 

9970 Native Decision API questions evaluated together, in order.

9971 

9972 - `Predicate object { instructions, type, name }`

9973 

9974 Estimate how likely it is that a statement about the input is true.

9975 

9976 - `instructions: string`

9977 

9978 - `type: "predicate"`

9979 

9980 The type of the object. Always `predicate`.

9981 

9982 - `"predicate"`

9983 

9984 - `name: optional string`

9985 

9986 - `Choice object { choices, instructions, type, name }`

9987 

9988 Choose from the supplied options based on the input.

9989 

9990 - `choices: array of object { value, description }`

9991 

9992 Provide between 2 and 255 choices. Each choice must be unique.

9993 

9994 - `value: string or boolean`

9995 

9996 Choice values are typed: a string and a boolean with the same text are distinct.

9997 

9998 - `string`

9999 

10000 - `boolean`

10001 

10002 - `description: optional string`

10003 

10004 - `instructions: string`

10005 

10006 - `type: "choice"`

10007 

10008 The type of the object. Always `choice`.

10009 

10010 - `"choice"`

10011 

10012 - `name: optional string`

10013 

10014 - `Score object { instructions, levels, type, name }`

10015 

10016 Rate the input against the supplied ordered levels.

10017 

10018 - `instructions: string`

10019 

10020 - `levels: array of object { label, description }`

10021 

10022 - `label: string`

10023 

10024 - `description: optional string`

10025 

10026 - `type: "score"`

10027 

10028 The type of the object. Always `score`.

10029 

10030 - `"score"`

10031 

10032 - `name: optional string`

10033 

10034 - `type: "decisions"`

10035 

10036 - `"decisions"`

10037 

8898 - `input: optional array of InitialItem`10038 - `input: optional array of InitialItem`

8899 10039 

8900 Ordered text-only history supplied before startup. Supports developer, user, and assistant messages with one text part each; at most 128 messages and 8,192 rendered tokens in total.10040 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).

8901 10041 

8902 - `Developer object { content, role, id, 2 more }`10042 - `Developer object { content, role, id, 2 more }`

8903 10043 


9051 10191 

9052 Whether to store the session for later forking and recording download. Defaults to false for new sessions.10192 Whether to store the session for later forking and recording download. Defaults to false for new sessions.

9053 10193 

10194 - `triggers: optional array of object { decisions, event_type, type }`

10195 

10196 At most one Decisions trigger per transcript event type. Triggers run independently of delegation. On update, omit triggers to keep the current configuration, send a list to replace it, or send an empty list to disable triggers.

10197 

10198 - `decisions: object { questions }`

10199 

10200 Questions evaluated using the current transcript and the session's shared Decision items.

10201 

10202 - `questions: array of Predicate { instructions, type, name } or Choice { choices, instructions, type, name } or Score { instructions, levels, type, name }`

10203 

10204 Native Decision API questions evaluated together, in order.

10205 

10206 - `Predicate object { instructions, type, name }`

10207 

10208 Estimate how likely it is that a statement about the input is true.

10209 

10210 - `instructions: string`

10211 

10212 - `type: "predicate"`

10213 

10214 The type of the object. Always `predicate`.

10215 

10216 - `"predicate"`

10217 

10218 - `name: optional string`

10219 

10220 - `Choice object { choices, instructions, type, name }`

10221 

10222 Choose from the supplied options based on the input.

10223 

10224 - `choices: array of object { value, description }`

10225 

10226 Provide between 2 and 255 choices. Each choice must be unique.

10227 

10228 - `value: string or boolean`

10229 

10230 Choice values are typed: a string and a boolean with the same text are distinct.

10231 

10232 - `string`

10233 

10234 - `boolean`

10235 

10236 - `description: optional string`

10237 

10238 - `instructions: string`

10239 

10240 - `type: "choice"`

10241 

10242 The type of the object. Always `choice`.

10243 

10244 - `"choice"`

10245 

10246 - `name: optional string`

10247 

10248 - `Score object { instructions, levels, type, name }`

10249 

10250 Rate the input against the supplied ordered levels.

10251 

10252 - `instructions: string`

10253 

10254 - `levels: array of object { label, description }`

10255 

10256 - `label: string`

10257 

10258 - `description: optional string`

10259 

10260 - `type: "score"`

10261 

10262 The type of the object. Always `score`.

10263 

10264 - `"score"`

10265 

10266 - `name: optional string`

10267 

10268 - `event_type: "session.input_transcript.delta" or "session.output_transcript.delta"`

10269 

10270 - `"session.input_transcript.delta"`

10271 

10272 - `"session.output_transcript.delta"`

10273 

10274 - `type: "decisions"`

10275 

10276 - `"decisions"`

10277 

9054- `type: "session.closed"`10278- `type: "session.closed"`

9055 10279 

9056 The event type, always `session.closed`.10280 The event type, always `session.closed`.


9210}10434}

9211```10435```

9212 10436 

9213<a id="session.output_audio.fixture.playing"></a>

9214 

9215### session.output_audio.fixture.playing

9216 

9217The existing playback path has accepted the validated audio fixture. This acknowledgment does not identify when the listener receives the first sample. The optional client_event_id echoes the play command.

9218 

9219#### Schema

9220 

9221Schema name: `LiveOutputAudioFixturePlaying`

9222 

9223- `event_id: string`

9224 

9225 The unique ID of the Live server event.

9226 

9227- `type: "session.output_audio.fixture.playing"`

9228 

9229 - `"session.output_audio.fixture.playing"`

9230 

9231- `client_event_id: optional string`

9232 

9233 The event_id of the client command associated with this server event, when supplied.

9234 

9235#### Example

9236 

9237```json

9238{

9239 "type": "session.output_audio.fixture.playing",

9240 "event_id": "evt_play_started_001",

9241 "client_event_id": "evt_play_001"

9242}

9243```

9244 

9245<a id="session.output_audio.fixture.played"></a>

9246 

9247### session.output_audio.fixture.played

9248 

9249The complete audio fixture has drained from the server mixer and normal inference has resumed. Transport buffers may still contain audio; this event does not prove listener-side completion. The optional client_event_id echoes the play command. This event is not emitted for canceled or failed playback.

9250 

9251#### Schema

9252 

9253Schema name: `LiveOutputAudioFixturePlayed`

9254 

9255- `event_id: string`

9256 

9257 The unique ID of the Live server event.

9258 

9259- `type: "session.output_audio.fixture.played"`

9260 

9261 - `"session.output_audio.fixture.played"`

9262 

9263- `client_event_id: optional string`

9264 

9265 The event_id of the client command associated with this server event, when supplied.

9266 

9267#### Example

9268 

9269```json

9270{

9271 "type": "session.output_audio.fixture.played",

9272 "event_id": "evt_played_001",

9273 "client_event_id": "evt_play_001"

9274}

9275```

9276 

9277<a id="session.input_audio.append"></a>10437<a id="session.input_audio.append"></a>

9278 10438 

9279### session.input_audio.append10439### session.input_audio.append

Details

126 126 

127 The public continuation instruction.127 The public continuation instruction.

128 128 

129 - `param: optional string or null`

130 

131 The request parameter associated with the error, or null if none was recorded.

132 

133 - `type: optional string or null`

134 

135 The original error type, or null if it was not recorded.

136 

129 - `incomplete_details: object { reason } or null`137 - `incomplete_details: object { reason } or null`

130 138 

131 Details about why the response is incomplete.139 Details about why the response is incomplete.

Details

6276 6276 

6277 The public continuation instruction.6277 The public continuation instruction.

6278 6278 

6279 - `param: optional string or null`

6280 

6281 The request parameter associated with the error, or null if none was recorded.

6282 

6283 - `type: optional string or null`

6284 

6285 The original error type, or null if it was not recorded.

6286 

6279 - `incomplete_details: object { reason } or null`6287 - `incomplete_details: object { reason } or null`

6280 6288 

6281 Details about why the response is incomplete.6289 Details about why the response is incomplete.

Details

170 170 

171 The public continuation instruction.171 The public continuation instruction.

172 172 

173 - `param: optional string or null`

174 

175 The request parameter associated with the error, or null if none was recorded.

176 

177 - `type: optional string or null`

178 

179 The original error type, or null if it was not recorded.

180 

173 - `incomplete_details: object { reason } or null`181 - `incomplete_details: object { reason } or null`

174 182 

175 Details about why the response is incomplete.183 Details about why the response is incomplete.