datamodel.get_table_schema
datamodel_get_table_schemaRetrieve a table's schema from a Sisense connection by providing connection, database, schema, and table names. Returns schema details or an error if not found.
Instructions
Retrieve the schema of a table within a connection's data source. Resolves the connection by name to obtain its oid and provider, then sends POST /api/v1/connection/{id}/table_schema_details.
Returns: dict[str, Any] Table schema details if found, or {"error": "..."} on failure or when no schema is found.
Note: This endpoint is undocumented and may change in future Sisense versions. Use with caution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Name of the table (sent as ``table``). | |
| schema_name | Yes | Name of the schema (sent as ``schema``). | |
| database_name | Yes | Name of the database (sent as ``Database``). | |
| connection_name | Yes | Name of the connection. |