Skip to content

list_files

List file metadata for an application, optionally including soft-deleted files.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"include_deleted": {
"default": false,
"title": "Include Deleted",
"type": "boolean"
}
},
"required": [
"application_id"
],
"title": "list_filesArguments",
"type": "object"
}
{
"properties": {
"files": {
"items": {
"properties": {
"contentType": {
"title": "Contenttype",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"expiresAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expiresat"
},
"expiresIn": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Expiresin"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"lifecycleState": {
"enum": [
"servable",
"scan_pending",
"quarantined",
"infected",
"soft_deleted",
"retention_expired"
],
"title": "FileLifecycleState",
"type": "string"
},
"metadata": {
"additionalProperties": true,
"title": "Metadata",
"type": "object"
},
"originalName": {
"title": "Originalname",
"type": "string"
},
"presignedUrl": {
"title": "Presignedurl",
"type": "string"
},
"retentionExpiresAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Retentionexpiresat"
},
"size": {
"title": "Size",
"type": "integer"
},
"status": {
"title": "Status",
"type": "string"
}
},
"required": [
"id",
"originalName",
"contentType",
"size",
"status",
"lifecycleState",
"metadata",
"presignedUrl"
],
"title": "FileDetailResponse",
"type": "object"
},
"title": "Files",
"type": "array"
},
"total": {
"title": "Total",
"type": "integer"
}
},
"required": [
"files",
"total"
],
"title": "FileListResponse",
"type": "object"
}