Microsoft Azure · Schema
Thread
Represents a thread that contains [messages](/docs/api-reference/messages).
API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The identifier, which can be referenced in API endpoints. |
| object | string | The object type, which is always `thread`. |
| created_at | integer | The Unix timestamp (in seconds) for when the thread was created. |
| metadata | object | 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 |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/threadObject",
"title": "Thread",
"type": "object",
"description": "Represents a thread that contains [messages](/docs/api-reference/messages).",
"properties": {
"id": {
"description": "The identifier, which can be referenced in API endpoints.",
"type": "string"
},
"object": {
"description": "The object type, which is always `thread`.",
"type": "string",
"enum": [
"thread"
],
"x-ms-enum": {
"name": "ThreadObjectType",
"modelAsString": true,
"values": [
{
"value": "thread",
"description": "The type of thread object which is always `thread`"
}
]
}
},
"created_at": {
"description": "The Unix timestamp (in seconds) for when the thread was created.",
"type": "integer"
},
"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
}
},
"required": [
"id",
"object",
"created_at",
"metadata"
]
}