{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unifically-com/json-schema/unifically-com-get-v1-tasks-response-schema.json",
  "title": "GetV1TasksResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/unifically-com-openapi-generated.yml#/components/schemas/GetV1TasksResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "task_id": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "cost": {
            "type": "number"
          },
          "created_at": {
            "type": "integer"
          },
          "input": {
            "type": "object",
            "properties": {
              "prompt": {
                "type": "string"
              }
            }
          },
          "output": {
            "type": "object",
            "properties": {
              "video_url": {
                "type": "string"
              }
            }
          },
          "callback_url": {
            "type": "string"
          },
          "callback_result": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "sent_at": {
                  "type": "integer"
                },
                "status": {
                  "type": "integer"
                },
                "status_text": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer"
        },
        "page_size": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        },
        "total_pages": {
          "type": "integer"
        },
        "has_next": {
          "type": "boolean"
        },
        "has_previous": {
          "type": "boolean"
        }
      }
    }
  }
}