Jump to content

Iceberg REST catalog

From Open Lakehouse Wiki
Iceberg REST catalog
Also known as Iceberg REST Catalog API, IRC
Field Data engineering
Introduced 2022 (client in Apache Iceberg 0.14.0)
Key parts OpenAPI specification, configuration endpoint, namespace, table and view endpoints, access delegation
Open source implementations Apache Polaris, Unity Catalog, Lakekeeper, Apache Gravitino, Project Nessie
Related Apache Iceberg, Data catalog, Open table format
Last verified 22 November 2026 against rest-catalog-open-api.yaml at tag apache-iceberg-1.12.0 and the documentation of each listed implementation.

The Iceberg REST catalog is an OpenAPI specification, maintained in the Apache Iceberg project, that defines an HTTP interface between Iceberg clients and a catalog service. It standardizes how an engine lists namespaces, loads and commits tables and views, and obtains access to the underlying storage, so that any engine with an Iceberg REST client can use any catalog that implements the specification.[1] In an open lakehouse, it is the common protocol that separates the choice of data catalog from the choice of query engine.

History

Apache Iceberg 0.14.0, released on 16 July 2022, added a common REST catalog client that uses change-based commits so that commit conflicts are resolved on the service side.[2]

The specification is a file named rest-catalog-open-api.yaml in the open-api/ directory of the Iceberg repository. It is licensed under the Apache License 2.0, and its info block describes it as the specification for the first version of the REST Catalog API, with all routes under the /v1/ path.[1]

What the specification standardizes

The specification groups its routes into several areas:[1]

  • Configuration. Clients call GET /v1/config first. The server returns default and override properties that configure the client, and an optional list of the endpoints it supports.
  • Namespaces. Routes to list, create, load, check and drop namespaces and to update their properties.
  • Tables. Routes to list, create, load, check, drop, rename, register and unregister tables, and to report metrics.
  • Commits. A table commit has two parts: requirements, which the server checks before applying changes (for example assert-ref-snapshot-id), and updates to the table metadata. Servers must reject unknown requirements or updates with a 400 status code. A separate transactions route commits updates to several tables atomically.
  • Views. Routes to list, create, load, replace, drop and rename views.
  • Server-side scan planning. Routes through which a client can ask the catalog to plan a table scan.

Each route after /v1/ takes an optional {prefix} path segment, which a server can use for its own hierarchy, such as one catalog per prefix.[1][3]

The /v1/oauth/tokens endpoint in the specification is deprecated. The specification says that it has been deprecated since Iceberg (Java) 1.6.0, that it will be removed in Iceberg (Java) 2.0, and that clients should set the oauth2-server-uri property to point at an OAuth server instead.[1]

Credential vending and remote signing

The specification lets a catalog control access to the data files as well as the metadata. A client signals that it supports delegated access by sending the X-Iceberg-Access-Delegation header with one or both of the values vended-credentials and remote-signing. The server may supply access by any or none of the requested mechanisms.[1]

With vended credentials, the server returns storage credentials for Amazon S3, Azure Data Lake Storage, Google Cloud Storage or other stores in the storage-credentials field of the load-table response. Clients must check that field before looking for credentials in the table configuration. A separate route, GET /v1/{prefix}/namespaces/{namespace}/tables/{table}/credentials, loads fresh vended credentials for a table.[1]

With remote signing, the client does not receive credentials. Instead, it sends each object storage request to the catalog's sign route, and the catalog returns a signed request.[1] Project Nessie's documentation describes the trade-off: vending needs a security token service but adds no round trip per request, while signing works without one but adds a REST call for every storage request.[4]

Implementations

The table lists catalogs whose own documentation states that they implement the Iceberg REST catalog API. It is not complete.

Catalog License or type Endpoint path Storage access documented
Apache Polaris Apache License 2.0[5] See project docs Vended credentials[6]
Unity Catalog (open source) Apache License 2.0[7] /api/2.1/unity-catalog/iceberg Vended credentials[8]
Lakekeeper Apache License 2.0, written in Rust[9] See project docs Vended credentials for S3, ADLS and GCS; remote signing for S3[10][11]
Apache Gravitino Apache License 2.0[12] /iceberg/ Vended credentials for S3, GCS, OSS and ADLS; remote-signing is a configurable data access mode[13]
Project Nessie Apache License 2.0[14] /iceberg Vended credentials and request signing; Iceberg REST support marked experimental[4]
AWS Glue Data Catalog Managed service /iceberg on the regional Glue endpoint S3 credentials vended for LoadTable; a subset of the REST operations[3]

Clients

Engines connect to a REST catalog through their Iceberg integration. Trino selects it with iceberg.catalog.type=rest and uses vended credentials when iceberg.rest-catalog.vended-credentials-enabled is set to true (the default is false).[15] DuckDB attaches a REST catalog with ATTACH ... (TYPE iceberg), and attaching a catalog is required for writes.[16] Apache Spark uses the Iceberg SparkCatalog with the catalog type set to rest.[3]

See also

References

  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 Apache Iceberg REST Catalog API (rest-catalog-open-api.yaml, tag apache-iceberg-1.12.0). Apache Software Foundation.Retrieved 2026-11-22.
  2. ↑ Apache Iceberg Releases. Apache Software Foundation.Retrieved 2026-11-22.
  3. ↑ 3.0 3.1 3.2 Connecting to the Data Catalog using AWS Glue Iceberg REST endpoint. Amazon Web Services.Retrieved 2026-11-22.
  4. ↑ 4.0 4.1 Configure Nessie with Iceberg REST. Project Nessie.Retrieved 2026-11-22.
  5. ↑ apache/polaris. GitHub.Retrieved 2026-11-22.
  6. ↑ Apache Polaris 1.9.0 Documentation. Apache Software Foundation.Retrieved 2026-11-22.
  7. ↑ unitycatalog/unitycatalog. GitHub.Retrieved 2026-11-22.
  8. ↑ Use Iceberg REST clients with Unity Catalog. Unity Catalog project.Retrieved 2026-11-22.
  9. ↑ lakekeeper/lakekeeper. GitHub.Retrieved 2026-11-22.
  10. ↑ Lakekeeper: Apache Iceberg REST Catalog written in Rust. Lakekeeper.Retrieved 2026-11-22.
  11. ↑ Storage overview. Lakekeeper.Retrieved 2026-11-22.
  12. ↑ apache/gravitino. GitHub.Retrieved 2026-11-22.
  13. ↑ Iceberg REST Catalog Service. Apache Gravitino.Retrieved 2026-11-22.
  14. ↑ projectnessie/nessie. GitHub.Retrieved 2026-11-22.
  15. ↑ Metastores. Trino Software Foundation.Retrieved 2026-11-22.
  16. ↑ Iceberg Extension. DuckDB Foundation.Retrieved 2026-11-22.