API Reference

Complete API documentation for Harbour. Harbour implements the Iceberg REST Catalog specification with 94 endpoints across 15 controllers, plus extensions for context intelligence, AI recommendations, security, and maintenance.

Connect Engines

Harbour implements the full Iceberg REST Catalog specification. Any Iceberg-compatible engine connects natively—just point it to your Harbour endpoint. No custom code, no format converters, no glue logic.

Apache Spark

Full read/write support with schema evolution, time travel, and partition transforms. Configure Spark's REST catalog type and point it to your Harbour instance.

Trino

Cross-engine reads, JOINs, and partition transforms. Use the Iceberg connector with REST catalog type for seamless integration.

PyIceberg

Native Python data access with filters and projections. Load the catalog with REST type for direct notebook and pipeline integration.

Databricks

Native REST catalog connectivity with Runtime 14+. Unity Catalog compatible. Works with Databricks notebooks, jobs, and workflows.

Universal compatibility: Any engine that supports the Iceberg REST Catalog specification works out of the box. Harbour handles credential vending, schema evolution, and metadata management transparently for all connected engines.

Connect AI Agents

Harbour exposes rich semantic REST endpoints that give AI agents full context about your data landscape. Any HTTP client can connect. Your agents get table importance scores, relationships, PII classifications, actionable recommendations, and lineage—all from one central control plane.

Context Graph

Query the living knowledge graph of your entire data landscape. Search by keyword, traverse relationships, compute PageRank importance, and get full table context including columns, PII, and lineage.

AI Recommendations

Get proactive, table-level recommendations covering snapshot management, partition optimization, schema improvements, and join patterns. Catalog-wide insights surface systemic issues across your entire lakehouse.

Discovery

Discover related tables through context graph traversal. Agents can explore your data landscape semantically—finding tables by domain, relationship, or usage pattern without knowing the exact schema.

Semantic Enrichment

Tag tables with business domains, mark columns as PII with classification types, and define business metrics. All enrichments flow through the context graph to every connected agent and application.

REST API Reference

Complete reference for all 94 endpoints. Harbour implements the Iceberg REST Catalog specification plus extensions for context graph, AI, admin, and maintenance.

Configuration

MethodEndpointDescription
GET/v1/configGet catalog configuration (defaults, overrides, warehouse)

Namespaces (6 endpoints)

MethodEndpointDescription
GET/v1/namespacesList all namespaces with pagination
POST/v1/namespacesCreate a new namespace
GET/v1/namespaces/{namespace}Get namespace details and properties
DELETE/v1/namespaces/{namespace}Delete a namespace
HEAD/v1/namespaces/{namespace}Check if namespace exists
POST/v1/namespaces/{namespace}/propertiesUpdate namespace properties

Tables (9 endpoints)

MethodEndpointDescription
GET/v1/namespaces/{ns}/tablesList tables in namespace with pagination
POST/v1/namespaces/{ns}/tablesCreate a new table
GET/v1/namespaces/{ns}/tables/{table}Load table metadata with credential vending
POST/v1/namespaces/{ns}/tables/{table}Commit table changes (schema, partition, snapshot)
DELETE/v1/namespaces/{ns}/tables/{table}Delete a table
HEAD/v1/namespaces/{ns}/tables/{table}Check if table exists
POST/v1/namespaces/{ns}/registerRegister an existing table from metadata location
GET/v1/namespaces/{ns}/tables/{table}/credentialsVend temporary scoped credentials
POST/v1/tables/renameRename a table (can move across namespaces)

Views (7 endpoints)

MethodEndpointDescription
GET/v1/namespaces/{ns}/viewsList views in namespace
POST/v1/namespaces/{ns}/viewsCreate a new view
GET/v1/namespaces/{ns}/views/{view}Load view metadata
POST/v1/namespaces/{ns}/views/{view}Replace or update a view
DELETE/v1/namespaces/{ns}/views/{view}Drop a view
HEAD/v1/namespaces/{ns}/views/{view}Check if view exists
POST/v1/views/renameRename a view

Context Graph (8 endpoints)

MethodEndpointDescription
GET/v1/graph/search?query={q}Search the context graph by keyword
GET/v1/graph/tables/{tableUuid}/contextGet full context for a table (relationships, columns, PII)
GET/v1/graph/impactFind impact/lineage paths between tables
GET/v1/graph/importanceCompute PageRank importance scores for all tables
GET/v1/graph/statsGet graph statistics (node and edge counts)
POST/v1/graph/semantic/domainSet semantic domain metadata on a table
POST/v1/graph/semantic/piiMark a column as PII with classification type
POST/v1/graph/semantic/metricDefine a business metric on a column

AI Engine (5 endpoints)

MethodEndpointDescription
GET/v1/ai/recommendations/{ns}/{table}Get AI recommendations for a specific table
GET/v1/ai/insightsGet catalog-wide AI insights and analytics
GET/v1/ai/discover/{ns}/{table}Discover related tables via context graph traversal
POST/v1/ai/graph/persistPersist in-memory context graph to database
POST/v1/ai/graph/loadLoad persisted context graph from database

Admin & Security (15 endpoints)

MethodEndpointDescription
POST/v1/oauth/tokensOAuth2 token endpoint
POST/v1/admin/api-keysCreate a new API key
DELETE/v1/admin/api-keysRevoke an API key
POST/v1/admin/rolesAssign a role to a user/principal
GET/v1/admin/roles/{userId}Get role for a user
POST/v1/admin/oauth-clientsRegister a new OAuth client
DELETE/v1/admin/oauth-clients/{clientId}Disable an OAuth client
POST/v1/admin/oauth-clients/{id}/rotate-secretRotate OAuth client secret
GET/v1/admin/oauth-clientsList all registered OAuth clients
GET/v1/admin/statsGet comprehensive catalog statistics
GET/v1/admin/auditGet recent audit events with pagination
GET/v1/admin/audit/deniedGet denied access audit events
POST/v1/admin/namespace-grantsGrant namespace-level access to user
DELETE/v1/admin/namespace-grantsRevoke namespace-level access
PUT/v1/admin/storageCreate or update storage configuration

Maintenance Policies (10 endpoints)

MethodEndpointDescription
GET/v1/admin/maintenance/policiesList all maintenance policies
GET/v1/admin/maintenance/policies/{id}Get specific policy by ID
POST/v1/admin/maintenance/policiesCreate new maintenance policy
PUT/v1/admin/maintenance/policies/{id}Update existing policy
DELETE/v1/admin/maintenance/policies/{id}Delete maintenance policy
GET/v1/admin/maintenance/applicableGet effective policies for a specific table
GET/v1/admin/maintenance/evaluate/snapshot-expiryEvaluate snapshot expiry for table
GET/v1/admin/maintenance/evaluate/data-compactionEvaluate data compaction for table
GET/v1/admin/maintenance/evaluate/allEvaluate all tables needing maintenance
POST/v1/admin/maintenance/execute/snapshot-expiryExecute snapshot expiry for table

Metrics & Observability (7 endpoints)

MethodEndpointDescription
POST/v1/namespaces/{ns}/tables/{table}/metricsReport metrics from engine operations
GET/v1/metrics/summaryGet comprehensive catalog metrics summary
GET/v1/catalogue/statsGet catalog statistics
GET/v1/catalogue/tables/{ns}/{table}/healthGet table health metrics
GET/v1/catalogue/tables/{ns}/{table}/workloadGet table workload summary
POST/v1/catalogue/telemetryReport telemetry/workload events
GET/v1/catalogue/cache/statsGet cache statistics (hit rate, size)