Returns a paginated list of files in your workspace. Use offset and limit to paginate through results. See List endpoints for more information about pagination.
Required scope: files:read
Rate limit category: Search
List files
from lightfield import Lightfield
client = Lightfield(
api_key="My API Key",
)
file_list_response = client.file.list()
print(file_list_response.data){
"data": [
{
"id": "id",
"completedAt": "completedAt",
"createdAt": "createdAt",
"expiresAt": "expiresAt",
"filename": "filename",
"mimeType": "mimeType",
"sizeBytes": -9007199254740991,
"status": "PENDING"
}
],
"object": "object",
"totalCount": 0
}Returns Examples
{
"data": [
{
"id": "id",
"completedAt": "completedAt",
"createdAt": "createdAt",
"expiresAt": "expiresAt",
"filename": "filename",
"mimeType": "mimeType",
"sizeBytes": -9007199254740991,
"status": "PENDING"
}
],
"object": "object",
"totalCount": 0
}