Schema
Schema name: SessionEventAgentSessionTurnOutputTextDelta
json
{
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta",
"docstring": "Emitted when text is appended to an output text content part.",
"ident": "AgentSessionTurnOutputTextDeltaEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "content_index"
},
{
"ident": "delta"
},
{
"ident": "event_id"
},
{
"ident": "item_id"
},
{
"ident": "output_index"
},
{
"ident": "session_id"
},
{
"ident": "turn_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) content_index",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) delta",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) event_id",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) item_id",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) output_index",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) session_id",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) turn_id",
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) type"
]
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) content_index": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/content_index",
"deprecated": false,
"key": "content_index",
"docstring": "The index of the content part in the message.",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "int64",
"minimum": 0,
"maximum": 4294967295
},
"optional": false,
"nullable": false,
"schemaType": "integer",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) delta": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/delta",
"deprecated": false,
"key": "delta",
"docstring": "The text that was appended.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "The unique ID of the event.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) item_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/item_id",
"deprecated": false,
"key": "item_id",
"docstring": "The ID of the message item.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) output_index": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/output_index",
"deprecated": false,
"key": "output_index",
"docstring": "The index of the item in the turn output.",
"type": {
"kind": "HttpTypeNumber"
},
"constraints": {
"format": "int64",
"minimum": 0,
"maximum": 4294967295
},
"optional": false,
"nullable": false,
"schemaType": "integer",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) session_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/session_id",
"deprecated": false,
"key": "session_id",
"docstring": "The ID of the session associated with the event.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) turn_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/turn_id",
"deprecated": false,
"key": "turn_id",
"docstring": "The ID of the turn associated with the event, when applicable.",
"type": {
"kind": "HttpTypeString"
},
"constraints": {
"minLength": 0
},
"optional": false,
"nullable": true,
"schemaType": "string",
"children": []
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The type of the object. Always `agent.session.turn.output_text.delta`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/SessionEventAgentSessionTurnOutputTextDelta/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "agent.session.turn.output_text.delta"
}
]
},
"default": "agent.session.turn.output_text.delta",
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) type > (member) 0"
]
},
"(resource) beta.agents > (model) agent_session_turn_output_text_delta_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "agent.session.turn.output_text.delta"
}
}
}