Skip to content

List route forensic log records

GET
/v1/ns/{nsid}/route-logs
curl --request GET \
--url 'https://example.com/v1/ns/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/route-logs?source=edge&target_type=line' \
--header 'Authorization: Bearer <token>'
nsid
required
string format: uuid

Namespace UUID

from
string format: date-time
to
string format: date-time
dialed
string

Exact as-dialed number match. This is a partition-key lookup on the by-dialed index (the whole as-dialed number), not a prefix or substring filter.

source
string
Allowed values: edge ingest reroute

Exact (case-sensitive) match on which router run produced the record. An unrecognized value is a 400, not an empty result.

target_type
string
Allowed values: line ring-group device trunk route voicemail-box treatment recording namespace pstn hangup translation-context application

Exact (case-sensitive) match on the resolved target kind. An unrecognized value is a 400, not an empty result.

matched
boolean
include_children
boolean
cursor
string

Opaque pagination cursor from previous page’s next_cursor

limit
integer

Maximum items to return

OK

Media typeapplication/json
object
success
required
boolean
records
required
Array<object>
object
call_ulid
required
string
record_id
required
string
leg_uuid
string
nsid
required
string
at
string format: date-time
source
string
start_context
string
starting_number
string
final_number
string
matched
required
boolean
target_type
string
target_id
string
force_treatment
string
next_cursor
string
Examplegenerated
{
"success": true,
"records": [
{
"call_ulid": "example",
"record_id": "example",
"leg_uuid": "example",
"nsid": "example",
"at": "2026-04-15T12:00:00Z",
"source": "example",
"start_context": "example",
"starting_number": "example",
"final_number": "example",
"matched": true,
"target_type": "example",
"target_id": "example",
"force_treatment": "example"
}
],
"next_cursor": "example"
}

Error response

Media typeapplication/problem+json

RFC 7807 Problem Details

object
type

Problem type slug URI

string
title
string
status
integer
detail
string
key
additional properties
any
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example"
}