v5

latestOpenAPI 3.1.02026-08-081,0211,3082.1 MB
Copilot

Get Table Metadata Endpoint

Get comprehensive table metadata, statistics, and clustering information.

This endpoint provides all data needed for table optimization analysis:

  • Table metadata (schema, columns, data types)
  • Table statistics (storage, read/write counts, costs)
  • Clustering information (if clustering keys exist)

Args: request: Contains fully_qualified_names (list of database.schema.table) and optional instance_id

Returns: Dictionary with table names as keys and optimization data as values

post/copilot/quickchat/table-metadata

Headers

x-tenantstring

Request body

fully_qualified_namesstring[] required
instance_idinteger nullable

Response

Successful Response

{"stackTrail":"paths:/copilot/quickchat/table-metadata:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}