FrontApp · Schema

AnalyticsReportRequest

CompanyCommunicationsCustomer ServiceShared InboxEmailMessagingCollaborationHelp Desk

Properties

Name Type Description
start number Start time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded down to the start of the day.
end number End time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded up to the end of the day.
timezone string [IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use Etc/UTC.
filters object
metrics array List of the metrics required.
View JSON Schema on GitHub

JSON Schema

frontapp-analytics-report-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/frontapp/json-schema/frontapp-analytics-report-request-schema.json",
  "title": "AnalyticsReportRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/frontapp-analytics-api-openapi.yml#/components/schemas/AnalyticsReportRequest",
  "properties": {
    "start": {
      "type": "number",
      "description": "Start time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded down to the start of the day."
    },
    "end": {
      "type": "number",
      "description": "End time of the data to include in the export (seconds since 1970-01-01T00:00:00+00). Will be rounded up to the end of the day."
    },
    "timezone": {
      "type": "string",
      "description": "[IANA name](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) of the timezone to format the dates with. If omitted, the export will use Etc/UTC."
    },
    "filters": {
      "$ref": "#/$defs/AnalyticsFilters"
    },
    "metrics": {
      "type": "array",
      "description": "List of the metrics required.",
      "items": {
        "$ref": "#/$defs/AnalyticsMetricId"
      }
    }
  },
  "required": [
    "start",
    "end",
    "metrics"
  ],
  "$defs": {
    "AccountIds": {
      "type": "object",
      "required": [
        "account_ids"
      ],
      "properties": {
        "account_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    },
    "AnalyticsFilters": {
      "description": "Resources to compute the analytics for. Defaults to all.",
      "anyOf": [
        {
          "$ref": "#/$defs/TagIds"
        },
        {
          "$ref": "#/$defs/TeammateIds"
        },
        {
          "$ref": "#/$defs/ChannelIds"
        },
        {
          "$ref": "#/$defs/InboxIds"
        },
        {
          "$ref": "#/$defs/TeamIds"
        },
        {
          "$ref": "#/$defs/AccountIds"
        }
      ]
    },
    "AnalyticsMetricId": {
      "type": "string",
      "enum": [
        "avg_csat_survey_response",
        "avg_first_reaction_time",
        "avg_first_response_time",
        "avg_handle_time",
        "avg_reaction_time",
        "avg_replies_to_resolution",
        "avg_resolution_time",
        "avg_response_time",
        "avg_sla_breach_time",
        "avg_tag_duration",
        "avg_total_reply_time",
        "new_segments_count",
        "num_active_accounts",
        "num_active_segments_full",
        "num_active_teammates",
        "num_archived_segments",
        "num_archived_segments_with_reply",
        "num_assigned_segments",
        "num_csat_survey_response",
        "num_messages_received",
        "num_messages_sent",
        "num_new_tasks",
        "num_non_replies_sent",
        "num_replies_sent",
        "num_segments_with_outbounds",
        "num_segments_with_tag_changes",
        "num_sla_breach",
        "num_tags_added",
        "num_tags_removed",
        "num_touched_segments",
        "pct_csat_survey_satisfaction",
        "pct_messages_with_message_templates",
        "pct_resolved_on_first_reply",
        "pct_tagged_conversations",
        "num_closed_segments",
        "num_open_segments_start",
        "num_open_segments_end",
        "num_resolved_segments",
        "num_unresolved_active_segments",
        "num_workload_segments"
      ]
    },
    "ChannelIds": {
      "type": "object",
      "required": [
        "channel_ids"
      ],
      "properties": {
        "channel_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    },
    "InboxIds": {
      "type": "object",
      "required": [
        "inbox_ids"
      ],
      "properties": {
        "inbox_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    },
    "ResourceID": {
      "type": "string"
    },
    "TagIds": {
      "type": "object",
      "required": [
        "tag_ids"
      ],
      "properties": {
        "tag_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    },
    "TeamIds": {
      "type": "object",
      "required": [
        "team_ids"
      ],
      "properties": {
        "team_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    },
    "TeammateIds": {
      "type": "object",
      "required": [
        "teammate_ids"
      ],
      "properties": {
        "teammate_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ResourceID"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/frontapp-analytics-report-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.