/catalog/usql/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/previewrows
https://azure.com/catalog/usql/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/previewrowsRetrieves a preview set of rows in given table.
Path Parameters
The name of the database containing the table.
The name of the schema containing the table.
The name of the table.
Query Params
The maximum number of preview rows to be retrieved. Rows returned may be less than or equal to this number depending on row sizes and number of rows in the table.
The maximum number of columns to be retrieved.
Responses
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request GET \2 --url 'https://azure.com/catalog/usql/databases/{databaseName}/schemas/{schemaName}/tables/{tableName}/previewrows' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}