Skip to content

ConversationsItemsCreateRequest ​

Example Usage ​

typescript
import { ConversationsItemsCreateRequest } from "@meetkai/mka1/models/operations";

let value: ConversationsItemsCreateRequest = {
  conversationId: "conv_abc123",
  createItemsRequest: {
    items: [
      {
        role: "user",
        content: "What is the weather today?",
      },
    ],
  },
};

Fields ​

FieldTypeRequiredDescriptionExample
conversationIdstring✔️N/Aconv_abc123
xOnBehalfOfstring➖Optional external end-user identifier forwarded by the API gateway.
createItemsRequestcomponents.CreateItemsRequest✔️N/A{
"items": [
{
"type": "message",
"role": "user",
"content": "What is the weather today?"
}
]
}