List structured sheets
structured_sheets.list(StructuredSheetListParams**kwargs) -> SyncCursorIDPage[StructuredSheetResponse]
GET/v1/structured-sheets
List all structured sheets conversions for the authenticated user. Results are paginated using cursor-based pagination.
Parameters
after: Optional[str]
Unique identifier for a structured sheets conversion.
limit: Optional[int]
Maximum number of results to return per page.
maximum100
minimum1
Returns
List structured sheets
import os
from deeptable import DeepTable
client = DeepTable(
api_key=os.environ.get("DEEPTABLE_API_KEY"), # This is the default and can be omitted
)
page = client.structured_sheets.list()
page = page.data[0]
print(page.id){
"data": [
{
"id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"created_at": "2024-01-15T10:30:00Z",
"file_id": "file_01abc2def3ghjkmnpqrs4uvwxy",
"status": "completed",
"updated_at": "2024-01-15T10:35:00Z",
"exports_available": [
"sqlite"
],
"last_error": {
"code": "invalid_file_format",
"message": "The uploaded file is not a valid Excel spreadsheet."
},
"object": "structured_sheet",
"sheet_names": [
"Sheet1",
"Financials"
]
}
],
"has_more": false,
"first_id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"last_id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"object": "list"
}Returns Examples
{
"data": [
{
"id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"created_at": "2024-01-15T10:30:00Z",
"file_id": "file_01abc2def3ghjkmnpqrs4uvwxy",
"status": "completed",
"updated_at": "2024-01-15T10:35:00Z",
"exports_available": [
"sqlite"
],
"last_error": {
"code": "invalid_file_format",
"message": "The uploaded file is not a valid Excel spreadsheet."
},
"object": "structured_sheet",
"sheet_names": [
"Sheet1",
"Financials"
]
}
],
"has_more": false,
"first_id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"last_id": "ss_01abc2def3ghjkmnpqrs4uvwxy",
"object": "list"
}