viq.analytics.contract 7.1.0
VIQ Analytics Contract
This project contains the contract definitions for the VIQ Analytics service.
APIs
Data Download APIs
Get Call Details
- Endpoint:
POST /api/datadownload/search - Description: Search and retrieve detailed call records with various filters
- Request:
DataDownloadRequest - Response:
GenericListResponse<CallRecordForCallDetailsDB>
Get Call Logs
- Endpoint:
POST /api/datadownload/call-logs - Description: Get simplified call logs with basic information, audio recording URL, and transcript URL
- Request:
CallLogsRequest - Response:
GenericListResponse<CallLogDB>
Call Logs API Details
The Call Logs API provides a simplified view of call records with the following features:
Request Parameters (CallLogsRequest)
From(DateTime?): Start date for filtering callsTo(DateTime?): End date for filtering callsLimit(int): Maximum number of records to return (default: 50)Offset(int): Number of records to skip for pagination (default: 0)
Response (CallLogDB)
CallRecordId: Unique identifier for the call recordAgentName: Name of the agent who made/received the callContactName: Name of the contact or accountContactPhoneNumber: Phone number of the contactStartTime: When the call startedDuration: Call duration in secondsDirection: Call direction (incoming/outgoing)Outcome: Call outcome/resultStatus: Call statusAudioRecordUrl: URL to access the call recordingTranscriptUrl: URL to access the call transcriptTeamName: Team name associated with the callCampaignName: Campaign name associated with the call
Features
- Returns call records in descending order by start time
- Only includes completed calls (excludes in-progress, queued, paused, ringing, initiated)
- Includes audio recording and transcript URLs when available
- Supports pagination with limit and offset parameters
- Filters by date range when provided
- Includes basic call information and related entity details (agent, contact, team, campaign)
Authentication
- Requires API Key authentication
- Rate limited to 200 requests per 60 seconds
Showing the top 20 packages that depend on viq.analytics.contract.
| Packages | Downloads |
|---|---|
|
viq.aiprocessor.contract
Mobile Bookmark Question
RealtimeTranscriptModel updated
|
7 |
|
viq.directory.contract
Added Version and Validation for Contact and Details APIs for Mobile App
|
3 |
|
viq.aiprocessor.contract
AiProcessor Legacy Tables
|
3 |
|
viq.directory.contract
Added Contact APIs for Mobile App
|
2 |
|
viq.aiprocessor.contract
initial package ask question, question filtering, made sf context fields nullable
|
2 |
|
viq.aiprocessor.contract
Added caching next steps, get next steps
|
2 |
|
viq.aiprocessor.contract
Added QuestionId in the ask api, stored question answer into database, Used Apigw Version 5.4.0
|
2 |
|
viq.aiprocessor.contract
RealTimeAPI Used Apigw Version 5.4.0. Added Active FormId
|
2 |
|
viq.aiprocessor.contract
RealTimeAPI Used Apigw Version 5.4.0. Added Active FormId, Version Mismatch Issue
|
2 |
|
viq.aiprocessor.contract
fixes for admin portal test
|
2 |
|
viq.aiprocessor.contract
fixes for admin portal endpoints
|
2 |
|
viq.aiprocessor.contract
fixes for admin portal endpoints with id of fileGroup data
|
2 |
|
viq.aiprocessor.contract
Mobile Bookmark Question
|
2 |
|
viq.aiprocessor.contract
Mobile Bookmark Question
RealtimeTranscriptModel updated with new model files for improved accuracy.
|
2 |
|
viq.aiprocessor.contract
Mobile Bookmark Question
RealtimeTranscriptModel updated with new model files for improved accuracy.
Added Legacy Bookmark Enabled .
|
2 |
|
viq.aiprocessor.contract
New Schema
Added v2 endpoint for next steps
|
2 |
|
viq.aiprocessor.contract
New Schema
|
2 |
|
viq.directory.contract
New Party domain added
|
2 |
## v7.1.0 (2026-11-27)
### Added
- GET api/v3/analytics/platform/usage: calling metrics for every tenant over a date range (totals, previous-period totals, daily series, per-tenant usage, usage by call medium). New IAnalyticsV3Service.GetPlatformUsageAsync and PlatformUsageV3 models.
- Analytics v3 endpoints accept tenantId=* for all tenants (machine-to-machine callers only, 366 day limit).
- call-distribution v3: distributionType mediumwise and calledvia.
- EnrichedCallStats: missedInboundCalls, shortCalls, averageRingSeconds, averageDailyUniqueCustomers.
- CallVolumeTrendV3Item: failedCalls, inboundCalls, outboundCalls, totalCallDurationSeconds, activeUsers.
### Changed
- call-distribution v3 directionwise returns exact per-direction figures when the distribution rollup covers the range.
- Named time ranges (today, last7days) on Analytics v3 are counted from today in the tenant's time zone, or Europe/London for all tenants.
- Requires viq.services.datastore.postgres 7.1.16, viq.service.base 7.1.2. All additions are backward compatible; a host must take this version to expose the new route and fields.
## v7.0.0 (2026-08-19)
### Changed
- Target framework net8.0 to net10.0 (breaking)
- API versioning via Asp.Versioning.Mvc 10.2.0 (replaces Microsoft.AspNetCore.Mvc.Versioning)
- Requires viq.service.base 7.0.0, viq.services.datastore.postgres 7.0.0, viq.services.messaging 7.0.0, viq.guardian.addon 7.0.0
## v6.2.0 (2026-07-10)
### Changed
- HTTP contract controllers use [Authorize] for SpaceGate JWT validation on apigw
- Version alignment with viq.service.base 6.1.0 and viq.guardian.addon 6.2.0
.NET 10.0
- Asp.Versioning.Mvc (>= 10.2.1)
- Twilio (>= 8.0.1)
- viq.service.base (>= 7.1.2)
- viq.services.datastore.postgres (>= 7.1.16)
| Version | Downloads | Last updated |
|---|---|---|
| 7.1.1 | 5 | 11/27/2026 |
| 7.1.0 | 0 | 11/27/2026 |
| 7.0.0 | 0 | 11/27/2026 |
| 6.2.1 | 156 | 08/03/2026 |
| 6.2.0 | 79 | 07/20/2026 |
| 6.2.0-beta.1 | 6 | 07/13/2026 |
| 6.0.0.1 | 9 | 07/22/2026 |
| 6.0.0 | 41 | 03/06/2026 |
| 5.2.3 | 499 | 12/30/2025 |
| 5.2.2 | 3 | 03/06/2026 |
| 5.2.1.2 | 5 | 09/11/2025 |
| 5.2.1.1 | 2 | 09/11/2025 |
| 5.2.1 | 11 | 09/10/2025 |
| 5.2.1-beta | 4 | 08/29/2025 |
| 5.1.0.3 | 533 | 08/29/2025 |
| 5.1.0.2 | 3 | 08/29/2025 |