/modelscope/datasets/files
/modelscope
/modelscope/datasets/files
List files in a ModelScope dataset repository
Price: 1 credit per 100 results
💡 AI Hint: List files in a ModelScope dataset repository with commit metadata. Returns file name, path, size, LFS flag, sha256, and last commit message/committer/date. Optionally scope to a branch or tag and a subfolder.
⚠️ Common errors: 412: Dataset not found
POST
/modelscope/datasets/files
Authorizations
API token from the dashboard
Headers
Body
application/json
Dataset repository id ('owner/name') or full dataset URL
Minimum string length:
1Example:
"modelscope/clue"
Max result count
Required range:
x >= 1Max scrapping execution timeout (in seconds)
Required range:
20 <= x <= 1500Branch or tag to read files from
Folder path inside the repository to list
Response
Successful Response