List Files
Lists all files uploaded by your token. If the canReadAllFileUploads permission is set for your token, all file uploads for project will be returned.
Note: There can be a delay of up to one second before any file change is propagated into the list of files (including addition and removal of a file).
Filters are passed as query string parameters.
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Query parameters
Shows only files after the specified Id.
Shows only files before the passed Id.
Shows only files with one or more of the specified tags. Pass as an array, e.g. tags[]=tag1&tags[]=tag2.
Searches files using advanced Query string syntax.
Shows only files with the given run Id.
Pagination limit.
Pagination offset.
Include expired files in response.
Response
List of files.
Example response
[
{
"id": 236518631,
"created": "2017-02-13T12:01:05+0100",
"isEncrypted": true,
"name": "somefile.csv",
"fileType": "csv",
"url": "https://s3.amazonaws.com/kbc-sapi-files/exp-180/578/files/2017/02/14/236518630.somefile.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=374...a4c",
"provider": "aws",
"region": "us-east-1",
"sizeBytes": 12345,
"tags": [
"tag1",
"tag2"
],
"maxAgeDays": 15,
"runIds": [],
"creatorToken": {
"id": 27978,
"description": "dev@keboola.com"
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.