Skip to content

[WIP] Get Statistics Result

GEThttps://${domain}/rosetta-open/statistics

Helix calls to get the statistics by providing an array of annotationRequestId and pagination information, which can be used to deliver statistics and query the relevant annotation result.

query params

*annotationRequestIdstring Defaults to 7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b
Unique identifier for the annotation request, with a maximum length of 255 bytes.
*offsetnumber Defaults to 1
The page number for pagination, starting from 1.
*limitnumber Defaults to 10
The number of records per page, a positive integer.By default, protect the maximum value of the server is 100.
Examples
shell
curl https://${domain}/rosetta-open/statistics?annotationRequestId=7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b&offset=1&limit=10 \
 -X GET \
 -H 'Content-Type: application/json' \
 -H 'X-STARDUST-KEY: <X-STARDUST-KEY>' \
 -H 'X-TS: <X-TS>' \
 -H 'X-SIGN: <X-SIGN>'

Response Field Descriptions

Field NameTypeDescription
idnumberUnique identifier of the task.
statusnumberStatus of the task. Possible values and their meanings are described in the Status Enum.
campaignIdstringUnique identifier for the campaign.
poolIdnumberID of the pool.
poolTypenumberType of the pool.
instanceInfoJsonThe number of instances of each operation.

TaskStatusEnum Table

ValueDescription
1Waiting for allocation
2Assigned
3At work
4Waiting for submission
5Pause
6Error
7Suspend
8Submission failed
9Accomplish
10Invalid

PoolTypeEnum Table

ValueDescription
0Distribution Pool
1Annotation Pool
2Check Pool
3Sampling Pool
4Algorithm Pool
5Complete Pool
6Common

responses

2000
{
"code": 2000,
"message": "Success",
"data": [
{...}
],
"date": "2025-04-08 14:20:00",
"requestId": "9876543210abcdef9876543210abcdef",
"success": true
}
5000
{
"code": 5000,
"data": null,
"message": "Service hiccuped, please try again later.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}
53003
{
"code": 53003,
"data": null,
"message": "Annotation request has not exists.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}