v1

latestOpenAPI 3.0.02026-07-17120114186.8 KB
bus

Get metrics

Returns the metrics for the specified key

get/bus/metric/{key}

Path parameters

key'contract' | 'contractprune' | 'performance' | 'wallet' required

The type of metric to fetch

Query parameters

startstring date-time required

Start time for the metrics query

ninteger required

Number of intervals to fetch

intervalinteger required

Interval duration in milliseconds

Example:30000
contractidstring

A unique identifier for a file contract

hostkeystring

A ed25519 public key

hostversionstring

Response

Successfully retrieved metrics

Example response

[
  {
    "revisionNumber": 246
  }
]