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 [
  • avgDurationMsnumber<double>required

    Average duration in milliseconds

    Example: 1200
    bytesProcessedinteger<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
    itemsProcessedinteger<int64>required

    Items processed in this period

    Possible values: >= 0

    Example: 500
    maxDurationMsinteger<int64>required

    Maximum duration

    Possible values: >= 0

    Example: 5000
    minDurationMsinteger<int64>required

    Minimum duration

    Possible values: >= 0

    Example: 200
    periodStartstring<date-time>required

    Start of this period

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

    Successful tasks

    Possible values: >= 0

    Example: 48
    taskTypestring | 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": [
    {
    "avgDurationMs": 1200,
    "bytesProcessed": 1073741824,
    "count": 50,
    "failed": 2,
    "itemsProcessed": 500,
    "maxDurationMs": 5000,
    "minDurationMs": 200,
    "periodStart": "2026-01-11T10:00:00Z",
    "succeeded": 48,
    "taskType": "string"
    }
    ],
    "to": "2026-01-11T00:00:00Z"
    }