Skip to content

[WIP] Get Sampling Accuracy

GEThttps://${domain}/rosetta-open/sampling/getSamplingAccuracy

We will provide a POST API for retrieving the sampling accuracy.

query params

*samplingPackageIdnumber Defaults to 5888
sampling package id
Examples
shell
curl https://${domain}/rosetta-open/sampling/getSamplingAccuracy?samplingPackageId=5888 \
 -X GET \
 -H 'Content-Type: application/json' \
 -H 'X-STARDUST-KEY: <X-STARDUST-KEY>' \
 -H 'X-TS: <X-TS>' \
 -H 'X-SIGN: <X-SIGN>'

responses

2000
{
"code": 2000,
"message": "Success",
"data": {
"frameAccuracyRate": 50.2,
"instanceAccuracyRate": 30
},
"date": "2025-03-13 20:00:00",
"requestId": "7610aa38c0fc409d98c827a879d9cae5",
"success": true
}
57008
{
"code": 57008,
"data": null,
"message": "Sampling Package not found.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}