Skip to main content

TaskMetricsHistoryResponse

Task metrics history response

fromstring<date-time>required

Start of the time range

Example: 2026-01-04T00:00:00Z
granularitystringrequired

Granularity of the data points

Example: hour
points object[]required

Historical data points

  • Array [
  • avg_duration_msnumber<double>required

    Average duration in milliseconds

    Example: 1200
    bytes_processedinteger<int64>required

    Bytes processed in this period

    Possible values: >= 0

    Example: 1073741824
    countinteger<int64>required

    Number of tasks in this period

    Possible values: >= 0

    Example: 50
    failedinteger<int64>required

    Failed tasks

    Possible values: >= 0

    Example: 2
    items_processedinteger<int64>required

    Items processed in this period

    Possible values: >= 0

    Example: 500
    max_duration_msinteger<int64>required

    Maximum duration

    Possible values: >= 0

    Example: 5000
    min_duration_msinteger<int64>required

    Minimum duration

    Possible values: >= 0

    Example: 200
    period_startstring<date-time>required

    Start of this period

    Example: 2026-01-11T10:00:00Z
    succeededinteger<int64>required

    Successful tasks

    Possible values: >= 0

    Example: 48
    task_typestring | nullnullable

    Task type (if filtered)

  • ]
  • tostring<date-time>required

    End of the time range

    Example: 2026-01-11T00:00:00Z
    TaskMetricsHistoryResponse
    {
    "from": "2026-01-04T00:00:00Z",
    "granularity": "hour",
    "points": [
    {
    "avg_duration_ms": 1200,
    "bytes_processed": 1073741824,
    "count": 50,
    "failed": 2,
    "items_processed": 500,
    "max_duration_ms": 5000,
    "min_duration_ms": 200,
    "period_start": "2026-01-11T10:00:00Z",
    "succeeded": 48,
    "task_type": "string"
    }
    ],
    "to": "2026-01-11T00:00:00Z"
    }