Skip to main content

Find a Log by ID

GET 

/logs/:id

Permissions

The API token must include the following scopes: Voice.

Request

Path Parameters

    id uuidrequired

    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

OK

Schema

    id uuid

    A unique identifier for the log.

    from string

    The origin phone number.

    to string

    The destination phone number.

    direction string

    The direction of the voice activity.

    status string

    The status of the voice activity.

    duration integer

    The duration of the voice activity in seconds.

    duration_ms integer

    The duration of the voice activity in milliseconds.

    billing_ms integer

    The billable duration of the voice activity in seconds.

    source string

    Source of this log entry.

    type string

    Type of this log entry.

    url string

    URL for the resource associated with this log entry (if available)

    charge number

    The charge in dollars.

    charge_details

    object[]

    Details on charges associated with this log.

  • Array [

  • description string

    Description for this charge.

    charge number

    Charged amount.

  • ]

  • created_at date-time
Loading...