{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-task-status-response-schema.json",
  "title": "TaskStatusResponse",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-embeddings-api-openapi.yml#/components/schemas/TaskStatusResponse",
  "properties": {
    "data": {
      "properties": {
        "created_at": {
          "title": "Created At",
          "type": "string"
        },
        "finished_at": {
          "title": "Finished At",
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/BackgroundTaskStatus"
        },
        "task_id": {
          "format": "uuid",
          "title": "Task ID",
          "type": "string"
        },
        "task_name": {
          "title": "Task Name",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "BackgroundTaskStatus": {
      "description": "Status of an embeddings task.",
      "enum": [
        "queued",
        "processing",
        "success",
        "failure",
        "partial_success"
      ],
      "title": "BackgroundTaskStatus",
      "type": "string"
    }
  }
}