diff --git a/fern/apis/compatibility/openapi.yaml b/fern/apis/compatibility/openapi.yaml
index 35cfd3824c..bc1ebbf51c 100644
--- a/fern/apis/compatibility/openapi.yaml
+++ b/fern/apis/compatibility/openapi.yaml
@@ -6216,7 +6216,7 @@ components:
anyOf:
- type: string
- type: 'null'
- description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string. Null if the call has no quality measurement.
+ description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string. Null if the call has no quality measurement.
examples:
- '4.5'
sip_result_code:
@@ -6810,7 +6810,7 @@ components:
anyOf:
- type: string
- type: 'null'
- description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string. Null if the call has no quality measurement.
+ description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string. Null if the call has no quality measurement.
examples:
- '4.5'
sip_result_code:
@@ -10093,7 +10093,7 @@ components:
format: double
description: |-
The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay.
- It ranges from about 1 to 4.5, the score for a call with no lost or late packets.
+ It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5.
Sent with up to two decimal places, such as `4.37`. A whole-number score is sent with one decimal place, such as `4.0`.
examples:
- 4.37
@@ -13774,7 +13774,7 @@ components:
format: double
description: |-
The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay.
- It ranges from about 1 to 4.5, the score for a call with no lost or late packets.
+ It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5.
Sent with up to two decimal places, such as `4.37`. A whole-number score is sent with one decimal place, such as `4.0`.
examples:
- 4.37
diff --git a/fern/apis/signalwire-rest/openapi.yaml b/fern/apis/signalwire-rest/openapi.yaml
index 3779812695..a11bf3b129 100644
--- a/fern/apis/signalwire-rest/openapi.yaml
+++ b/fern/apis/signalwire-rest/openapi.yaml
@@ -7940,6 +7940,10 @@ paths:
description: |-
Lists historical fax activity in the project for delivery review, usage reporting, and troubleshooting. The Fax Logs API is read-only; send or manage faxes through the Compatibility API's [Faxes](/docs/compatibility-api/rest/faxes/send-fax) operations instead.
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Fax_.
@@ -7947,12 +7951,12 @@ paths:
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
parameters:
- $ref: '#/components/parameters/Fax.LogListRequest.include_deleted'
- - $ref: '#/components/parameters/Fax.LogListRequest.created_before'
- - $ref: '#/components/parameters/Fax.LogListRequest.created_on'
- - $ref: '#/components/parameters/Fax.LogListRequest.created_after'
- - $ref: '#/components/parameters/Fax.LogListRequest.page_size'
- - $ref: '#/components/parameters/Fax.LogListRequest.page_number'
- - $ref: '#/components/parameters/Fax.LogListRequest.page_token'
+ - $ref: '#/components/parameters/LogListQuery.created_before'
+ - $ref: '#/components/parameters/LogListQuery.created_on'
+ - $ref: '#/components/parameters/LogListQuery.created_after'
+ - $ref: '#/components/parameters/LogListQuery.page_number'
+ - $ref: '#/components/parameters/LogListQuery.page_size'
+ - $ref: '#/components/parameters/LogListQuery.page_token'
responses:
'200':
description: The request has succeeded.
@@ -8052,6 +8056,10 @@ paths:
description: |-
Lists historical voice conferences and Video Room or Conference sessions across the project. Use it for usage reporting and auditing across conference types, not for live control. Use Compatibility [Conferences](/docs/compatibility-api/rest/conferences/list-all-conferences) to inspect or control live voice conferences, or [Video Conferences](/docs/apis/rest/video/video-conferences/list-video-conferences) to manage hosted video conference configurations.
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_ or _Video_.
@@ -8059,12 +8067,12 @@ paths:
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
parameters:
- $ref: '#/components/parameters/Logs.ConferenceLogListRequest.include_deleted'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.created_on'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.created_before'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.created_after'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.page_number'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.page_size'
- - $ref: '#/components/parameters/Logs.ConferenceLogListRequest.page_token'
+ - $ref: '#/components/parameters/LogListQuery.created_before'
+ - $ref: '#/components/parameters/LogListQuery.created_on'
+ - $ref: '#/components/parameters/LogListQuery.created_after'
+ - $ref: '#/components/parameters/LogListQuery.page_number'
+ - $ref: '#/components/parameters/LogListQuery.page_size'
+ - $ref: '#/components/parameters/LogListQuery.page_token'
responses:
'200':
description: The request has succeeded.
@@ -8101,19 +8109,22 @@ paths:
description: |-
Lists historical messaging activity in the project for delivery review, auditing, and troubleshooting. This collection is read-only; send or redact messages through the [Messages API](/docs/apis/rest/messages/create-message) instead.
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Messaging_.
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
parameters:
- - $ref: '#/components/parameters/Message.LogListRequest.include_deleted'
- - $ref: '#/components/parameters/Message.LogListRequest.created_before'
- - $ref: '#/components/parameters/Message.LogListRequest.created_on'
- - $ref: '#/components/parameters/Message.LogListRequest.created_after'
- - $ref: '#/components/parameters/Message.LogListRequest.page_size'
- - $ref: '#/components/parameters/Message.LogListRequest.page_number'
- - $ref: '#/components/parameters/Message.LogListRequest.page_token'
+ - $ref: '#/components/parameters/LogListQuery.created_before'
+ - $ref: '#/components/parameters/LogListQuery.created_on'
+ - $ref: '#/components/parameters/LogListQuery.created_after'
+ - $ref: '#/components/parameters/LogListQuery.page_number'
+ - $ref: '#/components/parameters/LogListQuery.page_size'
+ - $ref: '#/components/parameters/LogListQuery.page_token'
responses:
'200':
description: The request has succeeded.
@@ -15006,8 +15017,8 @@ paths:
description: |-
Lists the balance adjustments recorded for the space: top-ups, auto top-ups, and
credits or debits applied by SignalWire. Narrow the range with `created_after` and
- `created_before`. Results are paged; follow the `links.next` URL for the next page,
- which carries the filters and the `page_token` for you.
+ `created_before`. Results are sorted newest first and paged; follow the `links.next` URL
+ for the next page, which carries the filters and the `page_token` for you.
#### Permissions
@@ -15829,6 +15840,10 @@ paths:
description: |-
Lists historical Video API activity in the project for usage review and troubleshooting. This collection does not manage live Rooms or Conferences; use [Get video log](/docs/apis/rest/video-logs/get-log) when you already have a log ID.
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Video_.
@@ -15836,12 +15851,12 @@ paths:
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
parameters:
- $ref: '#/components/parameters/Video.ListLogsRequest.include_deleted'
- - $ref: '#/components/parameters/Video.ListLogsRequest.created_before'
- - $ref: '#/components/parameters/Video.ListLogsRequest.created_on'
- - $ref: '#/components/parameters/Video.ListLogsRequest.created_after'
- - $ref: '#/components/parameters/Video.ListLogsRequest.page_number'
- - $ref: '#/components/parameters/Video.ListLogsRequest.page_size'
- - $ref: '#/components/parameters/Video.ListLogsRequest.page_token'
+ - $ref: '#/components/parameters/LogListQuery.created_before'
+ - $ref: '#/components/parameters/LogListQuery.created_on'
+ - $ref: '#/components/parameters/LogListQuery.created_after'
+ - $ref: '#/components/parameters/LogListQuery.page_number'
+ - $ref: '#/components/parameters/LogListQuery.page_size'
+ - $ref: '#/components/parameters/LogListQuery.page_token'
responses:
'200':
description: The request has succeeded.
@@ -17138,19 +17153,22 @@ paths:
description: |-
Lists historical voice activity in the project across supported call types. It includes calls handled by cXML, by SWML, and through the Calling API; SWML and Calling API calls aren't in the [Compatibility Calls list](/docs/compatibility-api/rest/calls/list-all-calls). Use it for usage reporting, billing review, and troubleshooting, not live call control. Place or control calls through [Send call commands](/docs/apis/rest/calls/call-commands) or the Compatibility Calls API instead.
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+
#### Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: _Voice_.
[Learn more about API scopes](/docs/platform/your-signalwire-api-space).
parameters:
- - $ref: '#/components/parameters/Voice.LogListRequest.include_deleted'
- - $ref: '#/components/parameters/Voice.LogListRequest.created_before'
- - $ref: '#/components/parameters/Voice.LogListRequest.created_on'
- - $ref: '#/components/parameters/Voice.LogListRequest.created_after'
- - $ref: '#/components/parameters/Voice.LogListRequest.page_number'
- - $ref: '#/components/parameters/Voice.LogListRequest.page_size'
- - $ref: '#/components/parameters/Voice.LogListRequest.page_token'
+ - $ref: '#/components/parameters/LogListQuery.created_before'
+ - $ref: '#/components/parameters/LogListQuery.created_on'
+ - $ref: '#/components/parameters/LogListQuery.created_after'
+ - $ref: '#/components/parameters/LogListQuery.page_number'
+ - $ref: '#/components/parameters/LogListQuery.page_size'
+ - $ref: '#/components/parameters/LogListQuery.page_token'
responses:
'200':
description: The request has succeeded.
@@ -17684,30 +17702,6 @@ components:
description: Unique ID of a Fabric Subscriber.
schema:
$ref: '#/components/schemas/uuid'
- Fax.LogListRequest.created_after:
- name: created_after
- in: query
- required: false
- description: Return logs for activity after this date.
- schema:
- type: string
- explode: false
- Fax.LogListRequest.created_before:
- name: created_before
- in: query
- required: false
- description: Return logs for activity prior to this date.
- schema:
- type: string
- explode: false
- Fax.LogListRequest.created_on:
- name: created_on
- in: query
- required: false
- description: Return logs for activity on this date.
- schema:
- type: string
- explode: false
Fax.LogListRequest.include_deleted:
name: include_deleted
in: query
@@ -17717,37 +17711,6 @@ components:
type: boolean
default: false
explode: false
- Fax.LogListRequest.page_number:
- name: page_number
- in: query
- required: false
- description: Page number to retrieve. Requires `page_token` when greater than `0`.
- schema:
- type: integer
- format: int32
- minimum: 0
- default: 0
- explode: false
- Fax.LogListRequest.page_size:
- name: page_size
- in: query
- required: false
- description: Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.
- schema:
- type: integer
- format: int32
- minimum: 1
- maximum: 1000
- default: 50
- explode: false
- Fax.LogListRequest.page_token:
- name: page_token
- in: query
- required: false
- description: Token for cursor-based pagination. Required when `page_number` is greater than `0`. The token is returned in pagination links.
- schema:
- type: string
- explode: false
Fax.LogPathID:
name: id
in: path
@@ -18076,54 +18039,46 @@ components:
schema:
$ref: '#/components/schemas/uuid'
explode: false
- Logs.ConferenceLogListRequest.created_after:
+ LogListQuery.created_after:
name: created_after
in: query
required: false
- description: Return logs for activity after this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.
+ description: Return logs created at or after this time. Accepts the same formats as `created_before`. A date is read as midnight UTC at the start of that day, so logs from that day are included.
schema:
type: string
explode: false
- Logs.ConferenceLogListRequest.created_before:
+ LogListQuery.created_before:
name: created_before
in: query
required: false
- description: Return logs for activity prior to this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.
+ description: Return logs created at or before this time. Accepts a date (`YYYY-MM-DD`), an ISO 8601 timestamp, or Unix time in seconds. A date is read as midnight UTC at the start of that day, so logs from that day are left out. A timestamp without `Z` or a UTC offset is read as UTC.
schema:
type: string
explode: false
- Logs.ConferenceLogListRequest.created_on:
+ LogListQuery.created_on:
name: created_on
in: query
required: false
- description: Return logs for activity on this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.
+ description: Return logs created during this UTC day. Accepts the same formats as `created_before`. A timestamp selects the whole UTC day that contains it.
schema:
type: string
explode: false
- Logs.ConferenceLogListRequest.include_deleted:
- name: include_deleted
- in: query
- required: false
- description: Include logs for deleted activity.
- schema:
- type: boolean
- explode: false
- Logs.ConferenceLogListRequest.page_number:
+ LogListQuery.page_number:
name: page_number
in: query
required: false
- description: The page number to retrieve (0-indexed).
+ description: The page index, starting at `0`. Any value above `0` also requires `page_token`.
schema:
type: integer
format: int32
minimum: 0
default: 0
explode: false
- Logs.ConferenceLogListRequest.page_size:
+ LogListQuery.page_size:
name: page_size
in: query
required: false
- description: Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.
+ description: The number of results per page. The default is `50` and the maximum is `1000`.
schema:
type: integer
format: int32
@@ -18131,39 +18086,15 @@ components:
maximum: 1000
default: 50
explode: false
- Logs.ConferenceLogListRequest.page_token:
+ LogListQuery.page_token:
name: page_token
in: query
required: false
- description: Token for cursor-based pagination. Required when `page_number` > 0.
+ description: The cursor for any page after the first. Take it from the `links.next` or `links.prev` URL of the previous response.
schema:
type: string
explode: false
- Message.LogListRequest.created_after:
- name: created_after
- in: query
- required: false
- description: Return logs for activity after this date.
- schema:
- type: string
- explode: false
- Message.LogListRequest.created_before:
- name: created_before
- in: query
- required: false
- description: Return logs for activity prior to this date.
- schema:
- type: string
- explode: false
- Message.LogListRequest.created_on:
- name: created_on
- in: query
- required: false
- description: Return logs for activity on this date.
- schema:
- type: string
- explode: false
- Message.LogListRequest.include_deleted:
+ Logs.ConferenceLogListRequest.include_deleted:
name: include_deleted
in: query
required: false
@@ -18172,37 +18103,6 @@ components:
type: boolean
default: false
explode: false
- Message.LogListRequest.page_number:
- name: page_number
- in: query
- required: false
- description: Page number to retrieve. Requires `page_token` when greater than `0`.
- schema:
- type: integer
- format: int32
- minimum: 0
- default: 0
- explode: false
- Message.LogListRequest.page_size:
- name: page_size
- in: query
- required: false
- description: Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.
- schema:
- type: integer
- format: int32
- minimum: 1
- maximum: 1000
- default: 50
- explode: false
- Message.LogListRequest.page_token:
- name: page_token
- in: query
- required: false
- description: Token for cursor-based pagination. Required when `page_number` is greater than `0`. The token is returned in pagination links.
- schema:
- type: string
- explode: false
Message.LogPathID:
name: id
in: path
@@ -18613,7 +18513,7 @@ components:
name: created_after
in: query
required: false
- description: Return only adjustments recorded after this date (`YYYY-MM-DD`) or ISO 8601 timestamp.
+ description: Return only adjustments recorded at or after this time. Accepts a date (`YYYY-MM-DD`), an ISO 8601 timestamp, or Unix time in seconds. A date is read as midnight UTC at the start of that day, so adjustments from that day are included. A timestamp without `Z` or a UTC offset is read as UTC.
schema:
type: string
explode: false
@@ -18621,7 +18521,7 @@ components:
name: created_before
in: query
required: false
- description: Return only adjustments recorded before this date (`YYYY-MM-DD`) or ISO 8601 timestamp.
+ description: Return only adjustments recorded before this time; an adjustment recorded at exactly this time is left out. Accepts the same formats as `created_after`. A date is read as midnight UTC at the start of that day, so adjustments from that day are left out.
schema:
type: string
explode: false
@@ -18647,7 +18547,7 @@ components:
name: page_size
in: query
required: false
- description: The number of results per page.
+ description: The number of results per page. The default is `50` and the maximum is `1000`.
schema:
type: integer
format: int32
@@ -18800,30 +18700,6 @@ components:
schema:
type: string
explode: false
- Video.ListLogsRequest.created_after:
- name: created_after
- in: query
- required: false
- description: Return logs for activity after this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.
- schema:
- type: string
- explode: false
- Video.ListLogsRequest.created_before:
- name: created_before
- in: query
- required: false
- description: Return logs for activity prior to this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.
- schema:
- type: string
- explode: false
- Video.ListLogsRequest.created_on:
- name: created_on
- in: query
- required: false
- description: Return logs for activity on this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.
- schema:
- type: string
- explode: false
Video.ListLogsRequest.include_deleted:
name: include_deleted
in: query
@@ -18833,37 +18709,6 @@ components:
type: boolean
default: false
explode: false
- Video.ListLogsRequest.page_number:
- name: page_number
- in: query
- required: false
- description: Page number to return.
- schema:
- type: integer
- format: int32
- minimum: 0
- default: 0
- explode: false
- Video.ListLogsRequest.page_size:
- name: page_size
- in: query
- required: false
- description: Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.
- schema:
- type: integer
- format: int32
- minimum: 1
- maximum: 1000
- default: 50
- explode: false
- Video.ListLogsRequest.page_token:
- name: page_token
- in: query
- required: false
- description: Token for cursor-based pagination.
- schema:
- type: string
- explode: false
Video.ListRoomRecordingEventsRequest.page_number:
name: page_number
in: query
@@ -19137,70 +18982,6 @@ components:
description: Unique ID of the stream.
schema:
$ref: '#/components/schemas/uuid'
- Voice.LogListRequest.created_after:
- name: created_after
- in: query
- required: false
- description: Return logs for activity after this date.
- schema:
- type: string
- explode: false
- Voice.LogListRequest.created_before:
- name: created_before
- in: query
- required: false
- description: Return logs for activity prior to this date.
- schema:
- type: string
- explode: false
- Voice.LogListRequest.created_on:
- name: created_on
- in: query
- required: false
- description: Return logs for activity on this date.
- schema:
- type: string
- explode: false
- Voice.LogListRequest.include_deleted:
- name: include_deleted
- in: query
- required: false
- description: Include logs for deleted activity.
- schema:
- type: boolean
- default: false
- explode: false
- Voice.LogListRequest.page_number:
- name: page_number
- in: query
- required: false
- description: Page number to return. Requires `page_token` for values greater than 0.
- schema:
- type: integer
- format: int32
- minimum: 0
- default: 0
- explode: false
- Voice.LogListRequest.page_size:
- name: page_size
- in: query
- required: false
- description: Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.
- schema:
- type: integer
- format: int32
- minimum: 1
- maximum: 1000
- default: 50
- explode: false
- Voice.LogListRequest.page_token:
- name: page_token
- in: query
- required: false
- description: Token for cursor-based pagination. Required when `page_number` is greater than 0.
- schema:
- type: string
- explode: false
Voice.LogPathID:
name: id
in: path
@@ -55544,6 +55325,10 @@ components:
allOf:
- $ref: '#/components/schemas/Space.SpacePaginationLinks'
description: Pagination links for the list. The `created_after` and `created_before` filters are preserved in each link.
+ examples:
+ - self: /api/space/payment_history?created_after=2026-07-01&page_number=0&page_size=50
+ first: /api/space/payment_history?created_after=2026-07-01&page_size=50
+ next: /api/space/payment_history?created_after=2026-07-01&page_number=1&page_size=50&page_token=PA6f708192-a3b4-4c5d-9e6f-708192a3b4c5
data:
type: array
items:
@@ -61266,7 +61051,7 @@ components:
anyOf:
- type: string
- type: 'null'
- description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string.
+ description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string.
examples:
- '4.5'
audio_rtt_avg:
@@ -61775,7 +61560,7 @@ components:
anyOf:
- type: string
- type: 'null'
- description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string.
+ description: The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string.
examples:
- '4.5'
audio_rtt_avg:
diff --git a/fern/products/compatibility-api/pages/cxml/voice/overview.mdx b/fern/products/compatibility-api/pages/cxml/voice/overview.mdx
index 8c3f091257..2610d468ef 100644
--- a/fern/products/compatibility-api/pages/cxml/voice/overview.mdx
+++ b/fern/products/compatibility-api/pages/cxml/voice/overview.mdx
@@ -152,7 +152,7 @@ You should respond to any callbacks with a `200 OK` or `204 No Content`, otherwi
The `StatusCallback` request contains the [Standard Request Parameters](#request-parameters) plus the following optional parameters. It also carries call-quality metrics such as packet counts, jitter, and round-trip time. The [Voice status callback reference](/docs/compatibility-api/rest/calls/webhooks/voice-status-callback) lists every parameter.
- The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Sent with up to two decimal places, such as `4.37`.
+ The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Sent with up to two decimal places, such as `4.37`.
diff --git a/specs/compatibility-api/calls/models/core.tsp b/specs/compatibility-api/calls/models/core.tsp
index 078f2ee2bf..1e1c055124 100644
--- a/specs/compatibility-api/calls/models/core.tsp
+++ b/specs/compatibility-api/calls/models/core.tsp
@@ -189,7 +189,7 @@ model Call {
@example(null)
group_sid: string | null;
- @doc("The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string. Null if the call has no quality measurement.")
+ @doc("The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string. Null if the call has no quality measurement.")
@example("4.5")
audio_in_mos: string | null;
diff --git a/specs/compatibility-api/calls/models/webhooks.tsp b/specs/compatibility-api/calls/models/webhooks.tsp
index a82e72caaa..3f19ce7887 100644
--- a/specs/compatibility-api/calls/models/webhooks.tsp
+++ b/specs/compatibility-api/calls/models/webhooks.tsp
@@ -41,7 +41,7 @@ model VoiceStatusCallbackPayload {
@doc("""
The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay.
- It ranges from about 1 to 4.5, the score for a call with no lost or late packets.
+ It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5.
Sent with up to two decimal places, such as `4.37`. A whole-number score is sent with one decimal place, such as `4.0`.
""")
@example(4.37)
diff --git a/specs/signalwire-rest/_globally_shared/log-list-query.tsp b/specs/signalwire-rest/_globally_shared/log-list-query.tsp
new file mode 100644
index 0000000000..d320032bb1
--- /dev/null
+++ b/specs/signalwire-rest/_globally_shared/log-list-query.tsp
@@ -0,0 +1,57 @@
+import "@typespec/http";
+
+using TypeSpec.Http;
+
+namespace SignalWireAPI;
+
+/**
+ * Date filters and cursor paging shared by the five log lists: voice, message, fax, video,
+ * and conference logs. All five read the same contract, so they share one model. Fax, video,
+ * and conference logs also honour `include_deleted` and declare it on their own request
+ * models; voice and message logs ignore it, so it does not belong here.
+ */
+@doc("Date filters and paging for the log list endpoints.")
+model LogListQuery {
+ @doc("Return logs created at or before this time. Accepts a date (`YYYY-MM-DD`), an ISO 8601 timestamp, or Unix time in seconds. A date is read as midnight UTC at the start of that day, so logs from that day are left out. A timestamp without `Z` or a UTC offset is read as UTC.")
+ @example("2026-11-08")
+ @query
+ created_before?: string;
+
+ @doc("Return logs created during this UTC day. Accepts the same formats as `created_before`. A timestamp selects the whole UTC day that contains it.")
+ @example("2026-11-02")
+ @query
+ created_on?: string;
+
+ @doc("Return logs created at or after this time. Accepts the same formats as `created_before`. A date is read as midnight UTC at the start of that day, so logs from that day are included.")
+ @example("2026-11-01")
+ @query
+ created_after?: string;
+
+ @doc("The page index, starting at `0`. Any value above `0` also requires `page_token`.")
+ @example(0)
+ @query
+ @minValue(0)
+ page_number?: int32 = 0;
+
+ @doc("The number of results per page. The default is `50` and the maximum is `1000`.")
+ @example(50)
+ @query
+ @minValue(1)
+ @maxValue(1000)
+ page_size?: int32 = 50;
+
+ @doc("The cursor for any page after the first. Take it from the `links.next` or `links.prev` URL of the previous response.")
+ @example("PAb7182dc2-00f3-40e4-a5ce-20f164b329df")
+ @query
+ page_token?: string;
+}
+
+/**
+ * Ordering, link, and history-window behaviour shared by the log list operations.
+ * Use in the operation's @doc, before the permissions block.
+ */
+alias logListBehavior = """
+ Results are sorted newest first. Each `links.next` URL carries your filters along with the `page_token` for the next page, so follow it as given.
+
+ Lists return at most one year of history: logs created before the start of the UTC day one year ago are never returned, and a `created_before`, `created_on`, or `created_after` value earlier than that returns `422` with the code `exceeds_history_logs_limit`.
+ """;
diff --git a/specs/signalwire-rest/fax-api/logs/main.tsp b/specs/signalwire-rest/fax-api/logs/main.tsp
index 2ce1879a30..83c935cd5a 100644
--- a/specs/signalwire-rest/fax-api/logs/main.tsp
+++ b/specs/signalwire-rest/fax-api/logs/main.tsp
@@ -22,6 +22,8 @@ namespace SignalWireAPI.Fax.Logs {
@doc("""
Lists historical fax activity in the project for delivery review, usage reporting, and troubleshooting. The Fax Logs API is read-only; send or manage faxes through the Compatibility API's [Faxes](/docs/compatibility-api/rest/faxes/send-fax) operations instead.
+ ${logListBehavior}
+
${tokenPermissions<"_Fax_">}
""")
list(...LogListRequest):
diff --git a/specs/signalwire-rest/fax-api/logs/models/requests.tsp b/specs/signalwire-rest/fax-api/logs/models/requests.tsp
index 9e3f36015d..2f3e81b14b 100644
--- a/specs/signalwire-rest/fax-api/logs/models/requests.tsp
+++ b/specs/signalwire-rest/fax-api/logs/models/requests.tsp
@@ -1,44 +1,17 @@
+import "@typespec/http";
+import "../../../_globally_shared/log-list-query.tsp";
+
using TypeSpec.Http;
namespace SignalWireAPI.Fax;
+@doc("Query parameters for listing fax logs.")
model LogListRequest {
@doc("Include logs for deleted activity.")
@example(false)
@query
include_deleted?: boolean = false;
- @doc("Return logs for activity prior to this date.")
- @example("2022-04-30")
- @query
- created_before?: string;
-
- @doc("Return logs for activity on this date.")
- @example("2022-04-30")
- @query
- created_on?: string;
-
- @doc("Return logs for activity after this date.")
- @example("2022-04-30")
- @query
- created_after?: string;
-
- @doc("Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.")
- @example(20)
- @query
- @minValue(1)
- @maxValue(1000)
- page_size?: int32 = 50;
-
- @doc("Page number to retrieve. Requires `page_token` when greater than `0`.")
- @example(0)
- @query
- @minValue(0)
- page_number?: int32 = 0;
-
- @doc("Token for cursor-based pagination. Required when `page_number` is greater than `0`. The token is returned in pagination links.")
- @example("PAbff61159-faab-48b3-959a-3021a8f5beca")
- @query
- page_token?: string;
+ ...LogListQuery;
}
diff --git a/specs/signalwire-rest/logs-api/conferences/main.tsp b/specs/signalwire-rest/logs-api/conferences/main.tsp
index 03de54b1aa..4d3af23836 100644
--- a/specs/signalwire-rest/logs-api/conferences/main.tsp
+++ b/specs/signalwire-rest/logs-api/conferences/main.tsp
@@ -23,6 +23,8 @@ namespace SignalWireAPI.Logs.Conferences {
@doc("""
Lists historical voice conferences and Video Room or Conference sessions across the project. Use it for usage reporting and auditing across conference types, not for live control. Use Compatibility [Conferences](/docs/compatibility-api/rest/conferences/list-all-conferences) to inspect or control live voice conferences, or [Video Conferences](/docs/apis/rest/video/video-conferences/list-video-conferences) to manage hosted video conference configurations.
+ ${logListBehavior}
+
${tokenPermissions<"_Voice_ or _Video_">}
""")
list(...ConferenceLogListRequest):
diff --git a/specs/signalwire-rest/logs-api/conferences/models/requests.tsp b/specs/signalwire-rest/logs-api/conferences/models/requests.tsp
index 36a26f616e..a0e1bb0991 100644
--- a/specs/signalwire-rest/logs-api/conferences/models/requests.tsp
+++ b/specs/signalwire-rest/logs-api/conferences/models/requests.tsp
@@ -1,3 +1,6 @@
+import "@typespec/http";
+import "../../../_globally_shared/log-list-query.tsp";
+
using TypeSpec.Http;
namespace SignalWireAPI.Logs;
@@ -8,38 +11,7 @@ model ConferenceLogListRequest {
@doc("Include logs for deleted activity.")
@example(false)
@query
- include_deleted?: boolean;
-
- @doc("Return logs for activity on this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.")
- @example("2025-03-11")
- @query
- created_on?: string;
-
- @doc("Return logs for activity prior to this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.")
- @example("2025-03-12")
- @query
- created_before?: string;
-
- @doc("Return logs for activity after this date. Accepts a date (YYYY-MM-DD) or ISO 8601 timestamp.")
- @example("2025-03-10")
- @query
- created_after?: string;
-
- @doc("The page number to retrieve (0-indexed).")
- @example(0)
- @query
- @minValue(0)
- page_number?: int32 = 0;
+ include_deleted?: boolean = false;
- @doc("Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.")
- @example(50)
- @query
- @minValue(1)
- @maxValue(1000)
- page_size?: int32 = 50;
-
- @doc("Token for cursor-based pagination. Required when `page_number` > 0.")
- @example("PAb3877c40da604998")
- @query
- page_token?: string;
+ ...LogListQuery;
}
diff --git a/specs/signalwire-rest/message-api/logs/main.tsp b/specs/signalwire-rest/message-api/logs/main.tsp
index 464190bbc5..8f69d85bd4 100644
--- a/specs/signalwire-rest/message-api/logs/main.tsp
+++ b/specs/signalwire-rest/message-api/logs/main.tsp
@@ -3,7 +3,7 @@ import "@typespec/openapi";
import "../../types/status-codes/main.tsp";
import "../tags.tsp";
import "./models/core.tsp";
-import "./models/requests.tsp";
+import "../../_globally_shared/log-list-query.tsp";
import "./models/responses.tsp";
import "./models/errors.tsp";
import "../../../_shared/alias/token-permissions.tsp";
@@ -22,9 +22,11 @@ namespace SignalWireAPI.Message.Logs {
@doc("""
Lists historical messaging activity in the project for delivery review, auditing, and troubleshooting. This collection is read-only; send or redact messages through the [Messages API](/docs/apis/rest/messages/create-message) instead.
+ ${logListBehavior}
+
${tokenPermissions<"_Messaging_">}
""")
- list(...LogListRequest):
+ list(...LogListQuery):
| LogListResponse
| StatusCode400
| StatusCode401
diff --git a/specs/signalwire-rest/message-api/logs/models/requests.tsp b/specs/signalwire-rest/message-api/logs/models/requests.tsp
deleted file mode 100644
index 124e4f6627..0000000000
--- a/specs/signalwire-rest/message-api/logs/models/requests.tsp
+++ /dev/null
@@ -1,47 +0,0 @@
-import "@typespec/http";
-
-using TypeSpec.Http;
-
-namespace SignalWireAPI.Message;
-
-
-@doc("Request parameters for listing message logs")
-model LogListRequest {
- @doc("Include logs for deleted activity.")
- @example(false)
- @query
- include_deleted?: boolean = false;
-
- @doc("Return logs for activity prior to this date.")
- @example("2022-04-30")
- @query
- created_before?: string;
-
- @doc("Return logs for activity on this date.")
- @example("2022-04-30")
- @query
- created_on?: string;
-
- @doc("Return logs for activity after this date.")
- @example("2022-04-30")
- @query
- created_after?: string;
-
- @doc("Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.")
- @example(20)
- @query
- @minValue(1)
- @maxValue(1000)
- page_size?: int32 = 50;
-
- @doc("Page number to retrieve. Requires `page_token` when greater than `0`.")
- @example(0)
- @query
- @minValue(0)
- page_number?: int32 = 0;
-
- @doc("Token for cursor-based pagination. Required when `page_number` is greater than `0`. The token is returned in pagination links.")
- @example("PAbff61159-faab-48b3-959a-3021a8f5beca")
- @query
- page_token?: string;
-}
diff --git a/specs/signalwire-rest/space-api/billing/main.tsp b/specs/signalwire-rest/space-api/billing/main.tsp
index e493db3550..de006c73f4 100644
--- a/specs/signalwire-rest/space-api/billing/main.tsp
+++ b/specs/signalwire-rest/space-api/billing/main.tsp
@@ -183,8 +183,8 @@ interface Billing {
@doc("""
Lists the balance adjustments recorded for the space: top-ups, auto top-ups, and
credits or debits applied by SignalWire. Narrow the range with `created_after` and
- `created_before`. Results are paged; follow the `links.next` URL for the next page,
- which carries the filters and the `page_token` for you.
+ `created_before`. Results are sorted newest first and paged; follow the `links.next` URL
+ for the next page, which carries the filters and the `page_token` for you.
${patPermissions}
""")
diff --git a/specs/signalwire-rest/space-api/billing/models/requests.tsp b/specs/signalwire-rest/space-api/billing/models/requests.tsp
index 701726dce8..e201c68d7d 100644
--- a/specs/signalwire-rest/space-api/billing/models/requests.tsp
+++ b/specs/signalwire-rest/space-api/billing/models/requests.tsp
@@ -97,12 +97,12 @@ model UsageQuery {
@doc("Query parameters for payment history.")
model PaymentHistoryQuery {
- @doc("Return only adjustments recorded after this date (`YYYY-MM-DD`) or ISO 8601 timestamp.")
+ @doc("Return only adjustments recorded at or after this time. Accepts a date (`YYYY-MM-DD`), an ISO 8601 timestamp, or Unix time in seconds. A date is read as midnight UTC at the start of that day, so adjustments from that day are included. A timestamp without `Z` or a UTC offset is read as UTC.")
@query
@example("2026-07-01")
created_after?: string;
- @doc("Return only adjustments recorded before this date (`YYYY-MM-DD`) or ISO 8601 timestamp.")
+ @doc("Return only adjustments recorded before this time; an adjustment recorded at exactly this time is left out. Accepts the same formats as `created_after`. A date is read as midnight UTC at the start of that day, so adjustments from that day are left out.")
@query
@example("2026-08-01")
created_before?: string;
diff --git a/specs/signalwire-rest/space-api/billing/models/responses.tsp b/specs/signalwire-rest/space-api/billing/models/responses.tsp
index 7745569c40..117361ad86 100644
--- a/specs/signalwire-rest/space-api/billing/models/responses.tsp
+++ b/specs/signalwire-rest/space-api/billing/models/responses.tsp
@@ -38,6 +38,11 @@ model BillingStatementPdfRedirect {
@doc("A page of balance adjustments.")
model PaymentHistoryListResponse {
@doc("Pagination links for the list. The `created_after` and `created_before` filters are preserved in each link.")
+ @example(#{
+ self: "/api/space/payment_history?created_after=2026-07-01&page_number=0&page_size=50",
+ first: "/api/space/payment_history?created_after=2026-07-01&page_size=50",
+ next: "/api/space/payment_history?created_after=2026-07-01&page_number=1&page_size=50&page_token=PA6f708192-a3b4-4c5d-9e6f-708192a3b4c5",
+ })
links: SpacePaginationLinks;
@doc("The balance adjustments on this page.")
diff --git a/specs/signalwire-rest/space-api/models/shared.tsp b/specs/signalwire-rest/space-api/models/shared.tsp
index 78a43b2fdf..99e754e779 100644
--- a/specs/signalwire-rest/space-api/models/shared.tsp
+++ b/specs/signalwire-rest/space-api/models/shared.tsp
@@ -31,7 +31,7 @@ model SpacePaginationLinks {
@doc("Cursor pagination query parameters shared by the space list endpoints.")
model SpacePaginationQuery {
- @doc("The number of results per page.")
+ @doc("The number of results per page. The default is `50` and the maximum is `1000`.")
@query
@minValue(1)
@maxValue(1000)
diff --git a/specs/signalwire-rest/video-api/logs/main.tsp b/specs/signalwire-rest/video-api/logs/main.tsp
index dbc15403b6..b492e0bb9c 100644
--- a/specs/signalwire-rest/video-api/logs/main.tsp
+++ b/specs/signalwire-rest/video-api/logs/main.tsp
@@ -23,6 +23,8 @@ namespace SignalWireAPI.Video.Logs {
@doc("""
Lists historical Video API activity in the project for usage review and troubleshooting. This collection does not manage live Rooms or Conferences; use [Get video log](/docs/apis/rest/video-logs/get-log) when you already have a log ID.
+ ${logListBehavior}
+
${tokenPermissions<"_Video_">}
""")
list(...ListLogsRequest):
diff --git a/specs/signalwire-rest/video-api/logs/models/requests.tsp b/specs/signalwire-rest/video-api/logs/models/requests.tsp
index 2b08d65391..cbfa6cee6f 100644
--- a/specs/signalwire-rest/video-api/logs/models/requests.tsp
+++ b/specs/signalwire-rest/video-api/logs/models/requests.tsp
@@ -1,4 +1,5 @@
import "@typespec/http";
+import "../../../_globally_shared/log-list-query.tsp";
using TypeSpec.Http;
@@ -12,36 +13,5 @@ model ListLogsRequest {
@example(false)
include_deleted?: boolean = false;
- @query
- @doc("Return logs for activity prior to this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.")
- @example("2022-04-30")
- created_before?: string;
-
- @query
- @doc("Return logs for activity on this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.")
- @example("2022-04-30")
- created_on?: string;
-
- @query
- @doc("Return logs for activity after this date. Accepts date (YYYY-MM-DD) or ISO 8601 datetime formats.")
- @example("2022-04-30")
- created_after?: string;
-
- @query
- @doc("Page number to return.")
- @example(0)
- @minValue(0)
- page_number?: int32 = 0;
-
- @query
- @doc("Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.")
- @example(50)
- @minValue(1)
- @maxValue(1000)
- page_size?: int32 = 50;
-
- @query
- @doc("Token for cursor-based pagination.")
- @example("PAb3877c40da604998")
- page_token?: string;
+ ...LogListQuery;
}
diff --git a/specs/signalwire-rest/voice-api/logs/main.tsp b/specs/signalwire-rest/voice-api/logs/main.tsp
index 233a6b4b73..a72d7ab3c9 100644
--- a/specs/signalwire-rest/voice-api/logs/main.tsp
+++ b/specs/signalwire-rest/voice-api/logs/main.tsp
@@ -3,7 +3,7 @@ import "@typespec/openapi";
import "../../types/status-codes/main.tsp";
import "../tags.tsp";
import "./models/core.tsp";
-import "./models/requests.tsp";
+import "../../_globally_shared/log-list-query.tsp";
import "./models/responses.tsp";
import "./models/errors.tsp";
import "./models/examples.tsp";
@@ -56,9 +56,11 @@ namespace SignalWireAPI.Voice.Logs {
@doc("""
Lists historical voice activity in the project across supported call types. It includes calls handled by cXML, by SWML, and through the Calling API; SWML and Calling API calls aren't in the [Compatibility Calls list](/docs/compatibility-api/rest/calls/list-all-calls). Use it for usage reporting, billing review, and troubleshooting, not live call control. Place or control calls through [Send call commands](/docs/apis/rest/calls/call-commands) or the Compatibility Calls API instead.
+ ${logListBehavior}
+
${tokenPermissions<"_Voice_">}
""")
- list(...LogListRequest):
+ list(...LogListQuery):
| LogListResponse
| StatusCode400
| StatusCode401
diff --git a/specs/signalwire-rest/voice-api/logs/models/core.tsp b/specs/signalwire-rest/voice-api/logs/models/core.tsp
index e5ebef35d4..387b2f3aff 100644
--- a/specs/signalwire-rest/voice-api/logs/models/core.tsp
+++ b/specs/signalwire-rest/voice-api/logs/models/core.tsp
@@ -102,7 +102,7 @@ model RelayVoiceLog {
@doc("Audio quality statistics for a Compatibility API call. Each field is null when the call has no measurement for it, such as a call that never carried audio.")
model CallQualityMetrics {
- @doc("The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5, the score for a call with no lost or late packets. Returned as a decimal string.")
+ @doc("The estimated Mean Opinion Score (MOS) for inbound audio quality, based on the share of incoming audio packets that arrived without loss or delay. It ranges from about 1 to 4.5. 4.5 is the best score, and a call that received no audio packets also scores 4.5. Returned as a decimal string.")
@example("4.5")
audio_in_mos: string | null;
diff --git a/specs/signalwire-rest/voice-api/logs/models/requests.tsp b/specs/signalwire-rest/voice-api/logs/models/requests.tsp
deleted file mode 100644
index e1e10458c9..0000000000
--- a/specs/signalwire-rest/voice-api/logs/models/requests.tsp
+++ /dev/null
@@ -1,47 +0,0 @@
-import "@typespec/http";
-
-using TypeSpec.Http;
-
-namespace SignalWireAPI.Voice;
-
-
-@doc("Request parameters for listing voice logs")
-model LogListRequest {
- @doc("Include logs for deleted activity.")
- @example(false)
- @query
- include_deleted?: boolean = false;
-
- @doc("Return logs for activity prior to this date.")
- @example("2022-04-30")
- @query
- created_before?: string;
-
- @doc("Return logs for activity on this date.")
- @example("2022-04-30")
- @query
- created_on?: string;
-
- @doc("Return logs for activity after this date.")
- @example("2022-04-30")
- @query
- created_after?: string;
-
- @doc("Page number to return. Requires `page_token` for values greater than 0.")
- @example(0)
- @query
- @minValue(0)
- page_number?: int32 = 0;
-
- @doc("Specify the number of results to return on a single page. The default page size is `50` and the maximum is `1000`.")
- @example(50)
- @query
- @minValue(1)
- @maxValue(1000)
- page_size?: int32 = 50;
-
- @doc("Token for cursor-based pagination. Required when `page_number` is greater than 0.")
- @example("PAb3877c40da604998")
- @query
- page_token?: string;
-}