tables

List watched tables

Changed on

Returns table inventory normalized across configured nodes. Missing database or table query filters produce an empty result set, not 404.

get/tables

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/tables
  • Auth: none declared

Query parameters

databasestring
Example:movoor_dev

Filter by ClickHouse database name.

tablestring
Example:test_generic_network_month_local

Filter by ClickHouse table name.

enginestring
Example:ReplicatedReplacingMergeTree

Filter tables by engine.

storagePolicystring
Example:movoor_tiered

Filter tables by ClickHouse storage policy.

hasPartitionsboolean

Filter tables by whether they have active partitions.

hasConditionsboolean

Filter resources by whether movoor detected conditions.

Response

Watched table inventory.

Example response

{
  "collection": {
    "warnings": [
      {
        "code": "node_unreachable",
        "message": "clickhouse-shard2-replica2 did not respond before timeout",
        "nodeId": "shard2-replica2"
      }
    ]
  },
  "items": [
    {
      "activeParts": "104",
      "rows": "104",
      "bytesOnDisk": "104",
      "conditions": [
        {
          "code": "replica_disk_mismatch"
        }
      ]
    }
  ]
}

Changes