Skip to main content
GET
/
v1
/
calls
List Calls
curl --request GET \
  --url https://api.openmic.ai/v1/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "call_type": "phonecall",
      "from_number": "<string>",
      "to_number": "<string>",
      "direction": "inbound",
      "call_id": "<string>",
      "agent_id": "<string>",
      "call_status": "registered",
      "customer_id": "<string>",
      "telephony_identifier": {},
      "start_timestamp": 123,
      "end_timestamp": 123,
      "duration_ms": 123,
      "transcript": [
        [
          "<string>"
        ]
      ],
      "recording_url": "<string>",
      "latency": {
        "e2e_min_latency": 123,
        "e2e_median_latency": 123,
        "e2e_p90_latency": 123,
        "llm_min_latency": 123,
        "llm_median_latency": 123,
        "llm_p90_latency": 123,
        "tts_min_latency": 123,
        "tts_median_latency": 123,
        "tts_p90_latency": 123
      },
      "call_analysis": {
        "summary": "<string>",
        "is_successful": true,
        "success_evaluation": "<string>",
        "extracted_data": {}
      },
      "call_cost": {
        "total_cost": 123,
        "llm_cost": 123,
        "tts_cost": 123,
        "stt_cost": 123
      },
      "dynamic_variables": {
        "name": "John"
      }
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123,
    "has_more": true
  }
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key

Query Parameters

limit
integer

Maximum number of calls to return (1-100)

Required range: 1 <= x <= 100
offset
integer

Number of calls to skip

Required range: x >= 0
customer_id
string

Filter by customer ID

from_number
string

Filter by originating phone number

to_number
string

Filter by destination phone number

bot_id
string

Filter by bot ID

from_date
string<date-time>

Filter calls from this date (ISO 8601 format)

to_date
string<date-time>

Filter calls to this date (ISO 8601 format)

call_status
enum<string>

Filter by call status

Available options:
registered,
ongoing,
ended,
error
call_type
enum<string>

Filter by call type

Available options:
phonecall,
webcall

Response

List of calls retrieved successfully

calls
object[]
required
pagination
object
required