Skip to main content
Retrieve call history for your application. Call logs provide detailed information about past calls including duration, participants, recordings, and status.

Fetch Call Logs

Use CallLogRequest to fetch call logs with pagination support. The builder pattern allows you to filter results by various criteria.

CallLogRequestBuilder

CallLogRequestBuilder is a top-level class and exposes public fields, not setX() methods — configure it with Dart cascades, then .build().
Unlike SessionSettingsBuilder, which takes cascaded setter calls (..setType(...)), this builder takes cascaded field assignments (..callType = "video"). The two look alike and are not the same shape.hasTranscriptions is the one exception: it has a setHasTranscriptions(bool) method as well as the field, added for parity with the other CometChat SDKs. Either works; the field assignment is consistent with the rest of this builder.

Filter Examples

Pagination

Use fetchNext() and fetchPrevious() for pagination:

CallLog Object

Each CallLog object contains detailed information about a call:

Access Recordings

If a call has recordings, access them through the recordings property:

Access Transcripts

Available since v5.0.7 Set hasTranscriptions to fetch only calls that were transcribed. Opting in also makes the server attach each call’s transcripts to the log:
getTranscriptions() returns an empty list when the server omitted transcripts, so it never needs a null check. Leaving the filter off sends no filter at all, so the list comes back unfiltered. To page through a single session’s transcripts directly, use TranscriptRequestBuilder.