{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-empower-logs-calls-response-schema.json",
  "title": "empowerLogsCallsResponse",
  "description": "Empower call logs list (CDR list).",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-openapi.yml#/components/schemas/empowerLogsCallsResponse",
  "type": "object",
  "properties": {
    "total_calls": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of calls matching the filters."
    },
    "total_pages": {
      "type": "integer",
      "format": "int64",
      "description": "Total number of pages for pagination."
    },
    "limit_offset_setted": {
      "type": "integer",
      "format": "int64",
      "description": "Pagination offset that was applied."
    },
    "limit_count_setted": {
      "type": "integer",
      "format": "int64",
      "description": "Page size (limit) that was applied."
    },
    "cdr_list_count": {
      "type": "integer",
      "description": "Number of call records in this response."
    },
    "cdr_list": {
      "type": "array",
      "description": "List of call records (CDRs).",
      "items": {
        "type": "object",
        "properties": {
          "call_uuid": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier of the call."
          },
          "external_id": {
            "type": "string",
            "description": "External identifier (e.g. from meeting provider)."
          },
          "provider": {
            "type": [
              "string",
              "null"
            ],
            "description": "CAI/provider name."
          },
          "call_date": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time of the call."
          },
          "audio_duration": {
            "type": "number",
            "description": "Duration of the audio in seconds."
          },
          "context": {
            "type": [
              "string",
              "null"
            ],
            "description": "Call context or direction."
          },
          "call_source": {
            "type": "string",
            "description": "Source of the call (e.g. video, phone)."
          },
          "is_favorite": {
            "type": "boolean",
            "description": "Whether the call is marked as favorite."
          },
          "language": {
            "type": "string",
            "description": "Language code of the call."
          },
          "transcription_state": {
            "type": "string",
            "description": "State of transcription (e.g. PENDING, DONE, ERROR)."
          },
          "moments": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "description": "List of moment IDs."
          },
          "call_category_uuid": {
            "type": "string",
            "format": "uuid",
            "description": "UUID of the call category."
          },
          "speakers": {
            "type": "array",
            "description": "List of speakers in the call.",
            "items": {
              "type": "object",
              "properties": {
                "phone_number": {
                  "type": "integer",
                  "format": "int64"
                },
                "user_id": {
                  "type": "string",
                  "description": "User identifier."
                },
                "nickname": {
                  "type": "string",
                  "description": "Display name of the speaker."
                },
                "speaker_type": {
                  "type": "string",
                  "description": "Type of speaker (e.g. AGENT, CLIENT)."
                },
                "mood_label": {
                  "type": "string",
                  "description": "Mood label (e.g. NEUTRAL)."
                },
                "CallUUIstr": {
                  "type": "string",
                  "description": "Call UUID string for the speaker."
                }
              }
            }
          },
          "tags": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "description": "Tag IDs associated with the call."
          },
          "recap_url": {
            "type": "string",
            "description": "URL to the after-call recap JSON."
          },
          "sales_analysis_url": {
            "type": "string",
            "description": "URL to the sales analysis JSON."
          },
          "transcription_url": {
            "type": "string",
            "description": "URL to the transcript JSON."
          },
          "call_rating": {
            "type": "integer",
            "format": "int64",
            "description": "Call rating score."
          },
          "sales_framework_score": {
            "type": "number",
            "description": "Sales framework score."
          },
          "framework_uuid": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "UUID of the sales framework."
          },
          "updated_by": {
            "type": "integer",
            "format": "int64",
            "description": "User ID of who last updated the call."
          },
          "update_date": {
            "type": "string",
            "format": "date-time",
            "description": "Last update date and time."
          },
          "platform_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the meeting/call platform."
          },
          "moment_keywords": {
            "type": "array",
            "description": "Moment IDs with keyword counts.",
            "items": {
              "type": "object",
              "properties": {
                "moment_id": {
                  "type": "integer",
                  "format": "int64"
                },
                "keyword_count": {
                  "type": "integer",
                  "format": "int64"
                }
              }
            }
          },
          "call_url": {
            "type": "string",
            "description": "URL to the call recording (e.g. MP3)."
          },
          "meet_url": {
            "type": "string",
            "description": "URL of the meeting (e.g. Google Meet link)."
          },
          "meeting_name": {
            "type": "string",
            "description": "Name of the meeting."
          },
          "call_name": {
            "type": "string",
            "description": "Name of the call."
          },
          "is_private": {
            "type": "integer",
            "description": "Whether the call is private (0 or 1)."
          },
          "flags": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "description": "Flag IDs."
          },
          "persona_uuid": {
            "type": [
              "string",
              "null"
            ],
            "description": "UUID of the persona if set."
          },
          "metadata": {
            "type": "string",
            "description": "Additional metadata."
          }
        }
      }
    }
  }
}