Skip to main content
POST
/
api
/
modelscope
/
datasets
/modelscope/datasets
curl --request POST \
  --url https://api.anysite.io/api/modelscope/datasets \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "dataset": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "url": "<string>",
    "@type": "ModelScopeDataset",
    "name": "<string>",
    "owner": "<string>",
    "chinese_name": "<string>",
    "description": "<string>",
    "download_count": 123,
    "like_count": 123,
    "license": "<string>",
    "dataset_type": 123,
    "tags": [],
    "user_define_tags": [],
    "created_by": "<string>",
    "created_at": 123,
    "updated_at": 123,
    "storage_size": 123,
    "visibility": 123,
    "full_name": "<string>",
    "related_arxiv_ids": [],
    "related_paper_ids": [],
    "image": "<string>",
    "readme": "<string>",
    "organization": {
      "@type": "ModelScopeOrganization",
      "id": 123,
      "name": "<string>",
      "full_name": "<string>",
      "image": "<string>",
      "github_url": "<string>",
      "created_at": 123,
      "updated_at": 123
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
dataset
string
required

Dataset repository id ('owner/name') or full dataset URL

Minimum string length: 1
Examples:

"modelscope/clue"

"https://www.modelscope.cn/datasets/modelscope/clue"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
url
string
required
@type
string
default:ModelScopeDataset
name
string | null
owner
string | null
chinese_name
string | null
description
string | null
download_count
integer | null
like_count
integer | null
license
string | null
dataset_type
integer | null
tags
object[]
user_define_tags
string[]
created_by
string | null
created_at
integer | null
updated_at
integer | null
storage_size
integer | null
visibility
integer | null
full_name
string | null
image
string | null
readme
string | null
organization
object | null