{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/openphone-com/main/json-schema/openphone-com-get-v1-calls-response-schema.json",
  "title": "GetV1CallsResponse",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/openphone-com-openapi-generated.yml#/components/schemas/GetV1CallsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "answeredAt": {
            "type": "string",
            "format": "date-time"
          },
          "answeredBy": {
            "type": "string"
          },
          "initiatedBy": {
            "type": "string"
          },
          "direction": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "callRoute": {
            "type": "string"
          },
          "duration": {
            "type": "integer"
          },
          "forwardedFrom": {
            "type": "string"
          },
          "forwardedTo": {
            "type": "string"
          },
          "aiHandled": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "phoneNumberId": {
            "type": "string"
          },
          "participants": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "string"
          }
        }
      }
    },
    "totalItems": {
      "type": "integer"
    },
    "nextPageToken": {
      "type": "string"
    }
  }
}