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
}
}Retrieve all calls with optional filtering and pagination.
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
}
}Bearer token authentication using API key. Find it at: https://chat.openmic.ai/api-key
Maximum number of calls to return (1-100)
1 <= x <= 100Number of calls to skip
x >= 0Filter by customer ID
Filter by originating phone number
Filter by destination phone number
Filter by bot ID
Filter calls from this date (ISO 8601 format)
Filter calls to this date (ISO 8601 format)
Filter by call status
registered, ongoing, ended, error Filter by call type
phonecall, webcall List of calls retrieved successfully
Show child attributes
Type of call
phonecall, webcall Originating phone number
Destination phone number
Call direction
inbound, outbound Unique call identifier
Bot/agent identifier
Current call status
registered, ongoing, ended, error Customer identifier
Telephony system identifiers
Call start time (Unix timestamp in milliseconds)
Call end time (Unix timestamp in milliseconds)
Call duration in milliseconds
Call transcript as array of [speaker, message] pairs
Transcript entry with [speaker, message] format
2 elementsURL to call recording
Latency metrics for different components
Show child attributes
Minimum end-to-end latency in seconds
Median end-to-end latency in seconds
90th percentile end-to-end latency in seconds
Minimum LLM processing latency in seconds
Median LLM processing latency in seconds
90th percentile LLM processing latency in seconds
Minimum text-to-speech latency in seconds
Median text-to-speech latency in seconds
90th percentile text-to-speech latency in seconds
Post-call analysis results including summary and success metrics
Show child attributes
AI-generated summary of the call
Whether the call was deemed successful
Success evaluation result (e.g., 'good', 'excellent', 'poor')
Structured data extracted from the call based on post-call settings
Detailed cost breakdown for the call
Send dynamic variables in key value pairs to replace in the prompt.
{ "name": "John" }Was this page helpful?