Skip to content

ConversationOrigin

All wire models

Model aliases: ConversationOrigin.

Type: object.

Fields

Required means the key must be present. Nullable means its value may be null; it does not make a required key optional. “Not specified” means the schema declares no default.

Field Type Required Default
kind string Yes Not specified
thread_id string Yes Not specified
message_ids Array of string Yes Not specified

Model constraints

  • Additional properties: permitted

Field constraints

kind

  • Exact value: "conversation"

thread_id

  • Minimum length: 1
  • Maximum length: 64

message_ids

  • Minimum items: 1
  • Maximum items: 200
  • Each item: Minimum length: 1
  • Each item: Maximum length: 64

Exact JSON Schema

This is a schema definition, not an example request. It preserves all declared keywords, including constraints not summarized above.

Complete JSON Schema
JSON
{
  "additionalProperties": true,
  "properties": {
    "kind": {
      "const": "conversation",
      "title": "Kind",
      "type": "string"
    },
    "thread_id": {
      "maxLength": 64,
      "minLength": 1,
      "title": "Thread Id",
      "type": "string"
    },
    "message_ids": {
      "items": {
        "maxLength": 64,
        "minLength": 1,
        "type": "string"
      },
      "maxItems": 200,
      "minItems": 1,
      "title": "Message Ids",
      "type": "array"
    }
  },
  "required": [
    "kind",
    "thread_id",
    "message_ids"
  ],
  "title": "ConversationOrigin",
  "type": "object"
}