List all uploaded files for the team.
Supports pagination with limit and offset parameters.
Args: limit: Maximum number of files to return (default: 50, max: 100) offset: Number of files to skip (default: 0)
import requests
url = "https://www.datalab.to/api/v1/files"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"files": [
{
"file_id": 123,
"original_filename": "<string>",
"content_type": "<string>",
"file_size": 123,
"upload_status": "<string>",
"created": "2023-11-07T05:31:56Z",
"reference": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}Was this page helpful?
import requests
url = "https://www.datalab.to/api/v1/files"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"files": [
{
"file_id": 123,
"original_filename": "<string>",
"content_type": "<string>",
"file_size": 123,
"upload_status": "<string>",
"created": "2023-11-07T05:31:56Z",
"reference": "<string>"
}
],
"total": 123,
"limit": 123,
"offset": 123
}