---
updatedAt: 2026-08-06T14:07:07.000Z
agentTools:
  projectIndex: https://docs.noves.fi/llms.txt
---

# Get validator node uptime

Returns current availability, uptime history, and incidents for the requested period. Long histories use larger time intervals to keep the response manageable.

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "Noves App API",
    "description": "Access Canton updates, party data, rewards, accounting data, and other Noves App features.",
    "version": "v1"
  },
  "paths": {
    "/api/v2/validatorUptime": {
      "get": {
        "tags": [
          "Operations"
        ],
        "summary": "Get validator node uptime",
        "description": "Returns current availability, uptime history, and incidents for the requested period. Long histories use larger time intervals to keep the response manageable.",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "Start of the requested period. Defaults to 24 hours before 'to' and must fall within the available history.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to",
            "in": "query",
            "description": "End of the requested period. Defaults to now and cannot be more than one minute in the future.",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "granularity",
            "in": "query",
            "description": "Time interval used for the uptime history. Larger intervals are used automatically for long periods.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "incidentLimit",
            "in": "query",
            "description": "Maximum incidents to return. Defaults to 100 and must be between 1 and 500.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "nodeId",
            "in": "query",
            "description": "Configured validator-node identifier. Defaults to the deployment's default node.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nodeId",
            "in": "header",
            "description": "Configured validator-node identifier; the query value takes precedence.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CantonDataApp.Data.ValidatorUptimeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CantonDataApp.Api.ApiErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CantonDataApp.Api.ApiErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service is still starting",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CantonDataApp.Database.StartupStatusResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CantonDataApp.Api.ApiErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.LivenessCoverage": {
        "type": "object",
        "properties": {
          "hourStart": {
            "type": "string",
            "format": "date-time"
          },
          "observed": {
            "type": "boolean"
          },
          "observationCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.OnLedgerLiveness": {
        "type": "object",
        "properties": {
          "source": {
            "type": "string",
            "nullable": true
          },
          "validatorParty": {
            "type": "string",
            "nullable": true
          },
          "retentionDays": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "completeThrough": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "coverage": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CantonDataApp.Data.LivenessCoverage"
            },
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeBucket": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "operationalSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "degradedSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "unavailableSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "unknownSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "averageLatencyMs": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeCurrent": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "observedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "validUntil": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "synchronizerReady": {
            "type": "boolean",
            "nullable": true
          },
          "latencyMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "networkVerification": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeIncidentItem": {
        "type": "object",
        "properties": {
          "startedAt": {
            "type": "string",
            "format": "date-time"
          },
          "endedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "durationSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeIncidentsSection": {
        "type": "object",
        "properties": {
          "available": {
            "type": "boolean"
          },
          "availableFrom": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "returnedCount": {
            "type": "integer",
            "format": "int32"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CantonDataApp.Data.UptimeIncidentItem"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimePeriod": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          },
          "requestedGranularity": {
            "type": "string",
            "nullable": true
          },
          "effectiveGranularity": {
            "type": "string",
            "nullable": true
          },
          "coarsened": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeRetention": {
        "type": "object",
        "properties": {
          "rawDays": {
            "type": "integer",
            "format": "int32"
          },
          "hourlyDays": {
            "type": "integer",
            "format": "int32"
          },
          "earliestAvailableAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.UptimeSummary": {
        "type": "object",
        "properties": {
          "observedAvailability": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "monitoringCoverage": {
            "type": "number",
            "format": "double"
          },
          "operationalSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "degradedSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "unavailableSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "unknownSeconds": {
            "type": "integer",
            "format": "int64"
          },
          "incidentCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "longestIncidentSeconds": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "incidentStatsAvailable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Data.ValidatorUptimeResponse": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "nullable": true
          },
          "period": {
            "$ref": "#/components/schemas/CantonDataApp.Data.UptimePeriod"
          },
          "current": {
            "$ref": "#/components/schemas/CantonDataApp.Data.UptimeCurrent"
          },
          "summary": {
            "$ref": "#/components/schemas/CantonDataApp.Data.UptimeSummary"
          },
          "buckets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CantonDataApp.Data.UptimeBucket"
            },
            "nullable": true
          },
          "incidents": {
            "$ref": "#/components/schemas/CantonDataApp.Data.UptimeIncidentsSection"
          },
          "onLedgerLiveness": {
            "$ref": "#/components/schemas/CantonDataApp.Data.OnLedgerLiveness"
          },
          "retention": {
            "$ref": "#/components/schemas/CantonDataApp.Data.UptimeRetention"
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Database.LifecycleIndexStatusResponse": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "nullable": true
          },
          "definitionFingerprint": {
            "type": "string",
            "nullable": true
          },
          "ready": {
            "type": "boolean"
          },
          "cursor": {
            "type": "integer",
            "format": "int64"
          },
          "remainingSourceRows": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Database.ReplayNodeStatus": {
        "type": "object",
        "properties": {
          "nodeId": {
            "type": "string",
            "nullable": true
          },
          "currentOffset": {
            "type": "integer",
            "format": "int64"
          },
          "targetOffset": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Database.StartupReplayResponse": {
        "type": "object",
        "properties": {
          "nodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CantonDataApp.Database.ReplayNodeStatus"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CantonDataApp.Database.StartupStatusResponse": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "phase": {
            "type": "string",
            "nullable": true
          },
          "phaseNumber": {
            "type": "integer",
            "format": "int32"
          },
          "totalPhases": {
            "type": "integer",
            "format": "int32"
          },
          "startedAt": {
            "type": "string",
            "nullable": true
          },
          "elapsedSeconds": {
            "type": "integer",
            "format": "int32"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "schemaVersion": {
            "type": "string",
            "nullable": true
          },
          "targetSchemaVersion": {
            "type": "string",
            "nullable": true
          },
          "bootstrapSource": {
            "type": "string",
            "nullable": true
          },
          "bootstrapVersion": {
            "type": "string",
            "nullable": true
          },
          "pendingMigrations": {
            "type": "integer",
            "format": "int32"
          },
          "lastMigrationDurationMs": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "dataMigrations": {
            "type": "array",
            "items": {},
            "nullable": true
          },
          "replay": {
            "$ref": "#/components/schemas/CantonDataApp.Database.StartupReplayResponse"
          },
          "lifecycleIndexes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CantonDataApp.Database.LifecycleIndexStatusResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  },
  "tags": [
    {
      "name": "Operations",
      "description": "Inspect deployment health, indexing status, diagnostics, and repair jobs."
    }
  ]
}
```