{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/createThreadRequest", "title": "createThreadRequest", "type": "object", "additionalProperties": false, "properties": { "messages": { "description": "A list of [messages](/docs/api-reference/messages) to start the thread with.", "type": "array", "items": { "$ref": "#/components/schemas/createMessageRequest" } }, "metadata": { "description": "Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.\n", "type": "object", "nullable": true } } }