inspect table
curl --request GET \
--url https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspectionimport requests
url = "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"current_snapshot_id": "<string>",
"metadata_revision": "<string>",
"selected_snapshot_id": "<string>",
"table_identity": "<string>",
"files": {
"continuation_token": "<string>",
"items": [
{
"added_snapshot_id": "<string>",
"content": "data",
"content_offset": "<string>",
"content_size_bytes": "<string>",
"data_sequence_number": "<string>",
"equality_field_ids": [
123
],
"file_sequence_number": "<string>",
"file_size_bytes": "<string>",
"format": "<string>",
"partition": [
{
"data_type": "<string>",
"name": "<string>",
"value": "<string>"
}
],
"partition_spec_id": 123,
"path": "<string>",
"record_count": "<string>",
"referenced_data_file": "<string>",
"sort_order_id": 123
}
]
},
"history": {
"continuation_token": "<string>",
"items": [
{
"is_current_ancestor": true,
"made_current_at_ms": 123,
"snapshot_available": true,
"snapshot_id": "<string>"
}
]
},
"snapshots": {
"continuation_token": "<string>",
"items": [
{
"is_current": true,
"is_selected": true,
"manifest_list": "<string>",
"operation": "<string>",
"parent_snapshot_id": "<string>",
"schema_id": 123,
"sequence_number": "<string>",
"snapshot_id": "<string>",
"summary": {},
"timestamp_ms": 123
}
]
},
"statistics": {
"data_file_count": "<string>",
"data_size_bytes": "<string>",
"delete_entry_count": "<string>",
"delete_file_count": "<string>",
"delete_records": "<string>",
"delete_size_bytes": "<string>",
"records_before_deletes": "<string>",
"total_size_bytes": "<string>",
"visible_record_count": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}Inspect table
Inspect Iceberg snapshots, history, files or summary at an optional pinned snapshot.
inspect table
curl --request GET \
--url https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspectionimport requests
url = "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection")
.asString();require 'uri'
require 'net/http'
url = URI("https://engine.example.com/api/v1/catalogs/{catalog_id}/tables/{name}/inspection")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"current_snapshot_id": "<string>",
"metadata_revision": "<string>",
"selected_snapshot_id": "<string>",
"table_identity": "<string>",
"files": {
"continuation_token": "<string>",
"items": [
{
"added_snapshot_id": "<string>",
"content": "data",
"content_offset": "<string>",
"content_size_bytes": "<string>",
"data_sequence_number": "<string>",
"equality_field_ids": [
123
],
"file_sequence_number": "<string>",
"file_size_bytes": "<string>",
"format": "<string>",
"partition": [
{
"data_type": "<string>",
"name": "<string>",
"value": "<string>"
}
],
"partition_spec_id": 123,
"path": "<string>",
"record_count": "<string>",
"referenced_data_file": "<string>",
"sort_order_id": 123
}
]
},
"history": {
"continuation_token": "<string>",
"items": [
{
"is_current_ancestor": true,
"made_current_at_ms": 123,
"snapshot_available": true,
"snapshot_id": "<string>"
}
]
},
"snapshots": {
"continuation_token": "<string>",
"items": [
{
"is_current": true,
"is_selected": true,
"manifest_list": "<string>",
"operation": "<string>",
"parent_snapshot_id": "<string>",
"schema_id": 123,
"sequence_number": "<string>",
"snapshot_id": "<string>",
"summary": {},
"timestamp_ms": 123
}
]
},
"statistics": {
"data_file_count": "<string>",
"data_size_bytes": "<string>",
"delete_entry_count": "<string>",
"delete_file_count": "<string>",
"delete_records": "<string>",
"delete_size_bytes": "<string>",
"records_before_deletes": "<string>",
"total_size_bytes": "<string>",
"visible_record_count": "<string>"
}
}{
"error": {
"code": "invalid_request",
"message": "Check the request fields"
}
}Reference
Related guidance
Addresses and access · Request identity · Errors and recovery · Pagination and resultsQuery Parameters
Response
Successful response.
Last modified on November 23, 2026