{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ringover/json-schema/ringover-empower-logs-calls-request-schema.json",
  "title": "empowerLogsCallsRequest",
  "description": "Request body for Empower logs/calls.\nAll fields are optional; omit or send empty to use defaults.\n",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ringover-openapi.yml#/components/schemas/empowerLogsCallsRequest",
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "format": "date-time",
      "description": "Start date for the filter range (inclusive)."
    },
    "end_date": {
      "type": "string",
      "format": "date-time",
      "description": "End date for the filter range (inclusive)."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Empower tag IDs to filter by."
    },
    "related_to": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Related-to IDs to filter by."
    },
    "related_meet": {
      "type": "string",
      "description": "Related meet identifier to filter by."
    },
    "folder_uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Folder UUID to filter calls."
    },
    "number": {
      "type": "integer",
      "format": "int64",
      "description": "Single phone number to filter by."
    },
    "numbers": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Phone numbers to filter by."
    },
    "transcription_state": {
      "type": "string",
      "description": "Transcription state filter (e.g. PENDING, DONE, ERROR)."
    },
    "call_sources": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Call source values to filter by."
    },
    "speaker_types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Speaker types (e.g. client, agent)."
    },
    "agent_mood_labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Agent mood labels to filter by."
    },
    "mood_labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Client mood labels to filter by."
    },
    "favorite": {
      "type": "boolean",
      "description": "Filter by favorite flag."
    },
    "query_phrase": {
      "type": "string",
      "description": "Full-text search phrase in transcription."
    },
    "call_name": {
      "type": "string",
      "description": "Call name filter (LIKE pattern supported)."
    },
    "flags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Flag IDs to filter by."
    },
    "moments": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Moment IDs to filter by."
    },
    "call_category_uuid": {
      "type": "string",
      "format": "uuid",
      "description": "Call category UUID to filter by."
    },
    "call_category_uuid_string": {
      "type": "string",
      "description": "Call category UUID as string."
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Language codes to filter by."
    },
    "cai_providers": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "CAI provider names to filter by."
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "Group IDs to filter by."
    },
    "users": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "User IDs to filter by."
    },
    "lower_call_rating": {
      "type": "integer",
      "format": "int64",
      "description": "Minimum call rating (inclusive)."
    },
    "upper_call_rating": {
      "type": "integer",
      "format": "int64",
      "description": "Maximum call rating (inclusive)."
    },
    "lower_sales_framework_score": {
      "type": "integer",
      "format": "int64",
      "description": "Minimum sales framework score (inclusive)."
    },
    "upper_sales_framework_score": {
      "type": "integer",
      "format": "int64",
      "description": "Maximum sales framework score (inclusive)."
    },
    "framework_uuid": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Framework UUIDs to filter by."
    },
    "lower_audio_duration": {
      "type": "integer",
      "format": "int64",
      "description": "Minimum audio duration in seconds (inclusive)."
    },
    "upper_audio_duration": {
      "type": "integer",
      "format": "int64",
      "description": "Maximum audio duration in seconds (inclusive)."
    },
    "limit_count": {
      "type": "integer",
      "format": "int64",
      "description": "Max number of records to return."
    },
    "limit_offset": {
      "type": "integer",
      "format": "int64",
      "description": "Pagination offset (number of records to skip)."
    },
    "call_uuids": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Specific call UUIDs to fetch."
    },
    "is_persona": {
      "type": "boolean",
      "description": "Filter by persona flag."
    },
    "contexts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Call context/direction (e.g. in, out)."
    }
  }
}