Find a Log by ID
GET/logs/:id
Find a log by ID.
Permissions
The API token must include the following scopes: Voice.
Request
Path Parameters
Unique ID of the log. This is the segment_id you can find in Relay call details in your Dashboard UI or in return objects when using the SDK.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
A unique identifier for the log.
The origin phone number.
The destination phone number.
The direction of the voice activity.
The status of the voice activity.
The duration of the voice activity in seconds.
The duration of the voice activity in milliseconds.
The billable duration of the voice activity in seconds.
Source of this log entry.
Type of this log entry.
URL for the resource associated with this log entry (if available)
The charge in dollars.
charge_details
object[]
Details on charges associated with this log.
Description for this charge.
Charged amount.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"from": "+12065551212",
"to": "+12065553434",
"direction": "inbound",
"status": "initiated",
"duration": 0,
"duration_ms": 0,
"billing_ms": 0,
"source": "laml",
"type": "laml_call",
"url": "string",
"charge": "0.01",
"charge_details": [],
"created_at": "2024-07-29T15:51:28.071Z"
}