bugsnag · Schema

Trend

Represents time-series trend data for errors or projects.

Properties

Name Type Description
buckets array The time-series data buckets.
View JSON Schema on GitHub

JSON Schema

bugsnag-trend-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Trend",
  "title": "Trend",
  "type": "object",
  "description": "Represents time-series trend data for errors or projects.",
  "properties": {
    "buckets": {
      "type": "array",
      "description": "The time-series data buckets.",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time",
            "description": "The start time of the bucket."
          },
          "end": {
            "type": "string",
            "format": "date-time",
            "description": "The end time of the bucket."
          },
          "events_count": {
            "type": "integer",
            "description": "The number of events in this bucket."
          }
        }
      }
    }
  }
}