OpenAI APIs · Schema

Thread

Artificial IntelligenceEmbeddingsImage GenerationLanguage ModelsSpeech

Properties

Name Type Description
id string The identifier of the thread
object string
created_at integer Unix timestamp of creation
metadata object Key-value metadata attached to the thread
View JSON Schema on GitHub

JSON Schema

openai-apis-thread-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Thread",
  "title": "Thread",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The identifier of the thread"
    },
    "object": {
      "type": "string",
      "enum": [
        "thread"
      ]
    },
    "created_at": {
      "type": "integer",
      "description": "Unix timestamp of creation"
    },
    "metadata": {
      "type": "object",
      "description": "Key-value metadata attached to the thread"
    }
  }
}