Retrieve a statistic
Changed onRequest
- Base URLhttps://your-domain.gorgias.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Value indicating your position in the list of all analytics results. If omitted, the first analytics results of the list will be returned.
Maximum number of analytics results to return.
Request body
Example request
{
"query": {
"scope": "tickets-closed",
"measures": [
"ticketCount"
],
"dimensions": [
"ticketId"
],
"filters": [
{
"member": "agentId"
}
],
"time_dimensions": [
{
"dimension": "closedDatetime"
}
],
"timezone": "UTC",
"order": [
[
"ticketId",
"asc"
],
[
"createdDatetime",
"desc"
]
]
}
}Response
The requested statistic
Changes
- breaking
the
request property const valueperiodStartwas added - breaking
removed the enum value
anchorDatetimeof the request property//// - breaking
removed the enum value
closedDatetimeof the request property//// - breaking
removed the enum value
createdDatetimeof the request property//// - breaking
removed the enum value
eventDatetimeof the request property//// - breaking
removed the enum value
firstAgentMessageDatetimeof the request property//// - breaking
removed the enum value
queuedDateof the request property//// - breaking
removed the enum value
sentDatetimeof the request property//// - breaking
removed the enum value
timestampof the request property//// - breaking
removed the enum value
updatedDatetimeof the request property//// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
removed the request property
// - warning
added the new
ai-agent-funnelenum value to the/response property for the response status - warning
added the new
billing-usageenum value to the/response property for the response status - warning
added the new
gaia-current-billing-usageenum value to the/response property for the response status - warning
added the new
live-chat-summaryenum value to the/response property for the response status - warning
added the new
live-ticket-summaryenum value to the/response property for the response status - warning
added the new
satisfaction-surveys-v2enum value to the/response property for the response status - warning
added the new
ticket-macro-usageenum value to the/response property for the response status - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilterdiscriminator mapping keys to the///request property - info
added
aiAgentFilteraiIntentCustomFieldL1aiIntentCustomFieldL2aiIntentCustomFieldL3discriminator mapping keys to the///request property - info
added
aiIntentCustomFieldL1aiIntentCustomFieldL2aiIntentCustomFieldL3hasScorestoreIntegrationIddiscriminator mapping keys to the///request property - info
added
billing-usageticket-macro-usageuser-availability-trackingvoice-queue-exposurediscriminator mapping keys to therequest property - info
added
customFieldValuediscriminator mapping keys to the///request property - info
added
customFieldsisDuringBusinessHoursqueueIdstoreIntegrationIddiscriminator mapping keys to the///request property - info
added
storeIntegrationIddiscriminator mapping keys to the///request property - info
added
tagIddiscriminator mapping keys to the///request property - info
added the new
abandonedRateenum value to the request property/// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentFilterenum value to the request property///// - info
added the new
aiAgentTicketVolumeenum value to the request property//// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldenum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property///// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property///// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property//// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property//// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property//// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL1enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property///// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property///// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property//// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property//// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property//// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL2enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property///// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property///// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property//// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property//// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property//// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
aiIntentCustomFieldL3enum value to the request property/// - info
added the new
averageDiscountUsdenum value to the request property//// - info
added the new
averageOrderValueUsdenum value to the request property//// - info
added the new
callbackRequestedRateenum value to the request property/// - info
added the new
cancelledRateenum value to the request property/// - info
added the new
clickThroughRateenum value to the request property/// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
createdDatetimeenum value to the request property//// - info
added the new
customFieldValueenum value to the request property///// - info
added the new
discountUsageenum value to the request property//// - info
added the new
hasScoreenum value to the request property///// - info
added the new
helpCenterIdenum value to the request property/// - info
added the new
isDuringBusinessHoursenum value to the request property///// - info
added the new
medianPurchaseTimeenum value to the request property//// - info
added the new
missedRateenum value to the request property/// - info
added the new
ordersInfluencedCountenum value to the request property//// - info
added the new
periodStartenum value to the request property//// - info
added the new
productIdenum value to the request property/// - info
added the new
productIdenum value to the request property/// - info
added the new
productIdenum value to the request property/// - info
added the new
queueIdenum value to the request property///// - info
added the new
searchQueryenum value to the request property//// - info
added the new
slaDeltaenum value to the request property/// - info
added the new
slaPolicyMetricNameenum value to the request property/// - info
added the new
slaPolicyMetricStatusenum value to the request property/// - info
added the new
storeIntegrationIdenum value to the request property/// - info
added the new
storeIntegrationIdenum value to the request property///// - info
added the new
storeIntegrationIdenum value to the request property/// - info
added the new
storeIntegrationIdenum value to the request property///// - info
added the new
storeIntegrationIdenum value to the request property/// - info
added the new
storeIntegrationIdenum value to the request property///// - info
added the new
storeIntegrationIdenum value to the request property/// - info
added the new
tagIdenum value to the request property///// - info
added the new
ticketFieldsenum value to the request property/// - info
added the new
ticketIdenum value to the request property/// - info
added the new
ticketIdenum value to the request property//// - info
added the new
ticketIdenum value to the request property/// - info
added to the
///request propertyoneOflist - info
added to the
request propertyoneOflist
- breaking