Apache Iceberg Create Table Example is an example object payload from Table Format, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"request": {
"method": "POST",
"url": "https://catalog.example.com/v1/namespaces/marketing/tables",
"headers": {
"Authorization": "Bearer {ACCESS_TOKEN}",
"Content-Type": "application/json"
},
"body": {
"name": "customer_events",
"location": "s3://my-data-lake/warehouse/marketing/customer_events",
"schema": {
"schema-id": 0,
"fields": [
{"id": 1, "name": "event_id", "type": "string", "required": true, "doc": "Unique event identifier"},
{"id": 2, "name": "customer_id", "type": "long", "required": true, "doc": "Customer identifier"},
{"id": 3, "name": "event_type", "type": "string", "required": true, "doc": "Type of customer event"},
{"id": 4, "name": "event_timestamp", "type": "timestamptz", "required": true, "doc": "Event time with timezone"},
{"id": 5, "name": "properties", "type": {"type": "map", "key-id": 6, "key": "string", "value-id": 7, "value": "string"}, "required": false, "doc": "Additional event properties"}
]
},
"partition-spec": {
"spec-id": 0,
"fields": [
{"source-id": 4, "field-id": 1000, "transform": "day", "name": "event_day"}
]
},
"properties": {
"write.format.default": "parquet",
"write.parquet.compression-codec": "snappy"
}
}
},
"response": {
"status": 200,
"body": {
"metadata-location": "s3://my-data-lake/warehouse/marketing/customer_events/metadata/v1.metadata.json",
"metadata": {
"format-version": 2,
"table-uuid": "9c12d441-03fe-4693-9a96-374b1bfb2831",
"location": "s3://my-data-lake/warehouse/marketing/customer_events",
"last-updated-ms": 1746259200000,
"current-schema-id": 0,
"schemas": [
{
"schema-id": 0,
"fields": [
{"id": 1, "name": "event_id", "type": "string", "required": true},
{"id": 2, "name": "customer_id", "type": "long", "required": true},
{"id": 3, "name": "event_type", "type": "string", "required": true},
{"id": 4, "name": "event_timestamp", "type": "timestamptz", "required": true}
]
}
],
"default-spec-id": 0,
"current-snapshot-id": -1
}
}
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/apache-iceberg-create-table-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.