{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/erzycall-com/json-schema/erzycall-com-get-api-v1-calls-response-schema.json",
  "title": "GetApiV1CallsResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/erzycall-com-openapi-generated.yml#/components/schemas/GetApiV1CallsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "callTo": {
            "type": "string"
          },
          "callFrom": {
            "type": "string"
          },
          "caseId": {
            "type": "string"
          },
          "contactId": {
            "type": "string"
          },
          "assistantConfigId": {
            "type": "string"
          },
          "firstMessage": {
            "type": "string"
          },
          "apiCallId": {
            "type": "string"
          },
          "apiCallStatus": {
            "type": "string"
          },
          "endedReason": {
            "type": "string"
          },
          "resultStatus": {
            "type": "string"
          },
          "recordingUrl": {
            "type": "string"
          },
          "durationSeconds": {
            "type": "integer"
          },
          "variableValues": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              }
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "cursor": {
          "type": "string"
        },
        "hasMore": {
          "type": "boolean"
        },
        "pageSize": {
          "type": "integer"
        }
      }
    }
  }
}