Databricks Workspace APIs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2025 10:09 AM
Hello, I'm trying to collect metadata about the files stored in a Workspace Repo Folder, but it looks like the "size" field is always missing. The field is listed in a few SDKs (for example, in the Python documentation: https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/workspace.html#databricks.sdk.servi...), but even when using command line tools to invoke the API endpoint (like curl), no "size" is there in the json response.
Example of curl command line:
curl -H"Authorization: Bearer dapiXXXXX" "https://dbc-XXXX-XXX.cloud.databricks.com/api/2.0/workspace/get-status?path=%2FRepos%2F..."Is that a bug on the server side? or is just a missing feature?