Get file count in current storage
GET/api/infra/storage/files/count
Get file count in current storage
Request
Responses
- 200
- 401
- 403
- 409
- 503
File count and size
The API key is missing, unknown, revoked, or expired
The API key's role, session or chat scope, or IP allow-list does not allow this operation
The local storage directory cannot be enumerated completely, so the answer would silently leave files out: it holds a symbolic link, a directory the app cannot read, or one nested too deep. message names the path relative to the storage root and the cause. Replace a link with a bind mount or fix the permissions, then retry; nothing was written.
STORAGE_TYPE is s3 but the bucket is unreachable or its credentials are missing; nothing was read or written.