GET /v1/tables/{id}/sampleData
Table Sample Data
Get, add, and delete sample data for a table
GET
GET /v1/tables/{id}/sampleData
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Table Sample Data
Manage sample data rows for a table. Sample data provides a preview of the table’s contents and is useful for data discovery and documentation.Get Sample Data
GET /v1/tables/{id}/sampleData
UUID of the table.
Add Sample Data
PUT /v1/tables/{id}/sampleData
UUID of the table.
Array of column references describing the sample data columns.
Array of row arrays. Each row is an array of values matching the column order.
Delete Sample Data
DELETE /v1/tables/{id}/sampleData
UUID of the table.
GET /v1/tables/{id}/sampleData
Returns
Get returns the sample data object with columns and rows arrays. Add returns the updated sample data object. Delete returns no content (204).Response
Array of column definitions for the sample data.
Array of row arrays. Each row contains values in the same order as the columns.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission |
404 | NOT_FOUND | Table does not exist or has no sample data |