Schema
Schema name: RealtimeServerEventConversationItemDeleted
json
{
"(resource) realtime > (model) conversation_item_deleted_event > (schema)": {
"kind": "HttpDeclTypeAlias",
"oasRef": "#/components/schemas/RealtimeServerEventConversationItemDeleted",
"docstring": "Returned when an item in the conversation is deleted by the client with a \n`conversation.item.delete` event. This event is used to synchronize the \nserver's understanding of the conversation history with the client's view.\n",
"ident": "ConversationItemDeletedEvent",
"type": {
"kind": "HttpTypeObject",
"members": [
{
"ident": "event_id"
},
{
"ident": "item_id"
},
{
"ident": "type"
}
]
},
"childrenParentSchema": "object",
"children": [
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) event_id",
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) item_id",
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) type"
]
},
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) event_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventConversationItemDeleted/properties/event_id",
"deprecated": false,
"key": "event_id",
"docstring": "The unique ID of the server event.",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) item_id": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventConversationItemDeleted/properties/item_id",
"deprecated": false,
"key": "item_id",
"docstring": "The ID of the item that was deleted.",
"type": {
"kind": "HttpTypeString"
},
"optional": false,
"nullable": false,
"schemaType": "string",
"children": []
},
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) type": {
"kind": "HttpDeclProperty",
"oasRef": "#/components/schemas/RealtimeServerEventConversationItemDeleted/properties/type",
"deprecated": false,
"key": "type",
"docstring": "The event type, must be `conversation.item.deleted`.",
"type": {
"kind": "HttpTypeUnion",
"oasRef": "#/components/schemas/RealtimeServerEventConversationItemDeleted/properties/type",
"types": [
{
"kind": "HttpTypeLiteral",
"literal": "conversation.item.deleted"
}
]
},
"optional": false,
"nullable": false,
"schemaType": "enum",
"childrenParentSchema": "enum",
"children": [
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) type > (member) 0"
]
},
"(resource) realtime > (model) conversation_item_deleted_event > (schema) > (property) type > (member) 0": {
"kind": "HttpDeclReference",
"type": {
"kind": "HttpTypeLiteral",
"literal": "conversation.item.deleted"
}
}
}