Skip to content

AnalyticsProcessingDto

Endpoints · All schemas

FieldRequiredDescription
attemptsYesinteger
availableYesProcessing is recorded for the whole server only
completedYesinteger
costedAttemptsYesinteger
durationMsYesinteger
estimatedCostUsdYesEstimate from configured hourly rates; never a bill. Null when no attempt had a rate
failedYesinteger
uncostedAttemptsYesAttempts without a configured rate; not included in the estimate

Complete definition

required lists fields that must be present. nullable allows a null value; it does not make the field optional. Response enums retain exact wire values for compatibility.

{
  "properties": {
    "attempts": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "available": {
      "description": "Processing is recorded for the whole server only",
      "type": "boolean"
    },
    "completed": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "costedAttempts": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "durationMs": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "estimatedCostUsd": {
      "description": "Estimate from configured hourly rates; never a bill. Null when no attempt had a rate",
      "format": "double",
      "nullable": true,
      "type": "number"
    },
    "failed": {
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    },
    "uncostedAttempts": {
      "description": "Attempts without a configured rate; not included in the estimate",
      "maximum": 9007199254740991,
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "attempts",
    "available",
    "completed",
    "costedAttempts",
    "durationMs",
    "estimatedCostUsd",
    "failed",
    "uncostedAttempts"
  ],
  "type": "object"
}