Skip to content

[WIP]Get Workflow Template

GEThttps://${domain}/rosetta-open/workflow/template

Helix calls to get a custom workflow by template name, which can be used when creating a Campaign

query params

*templateNamestring Defaults to 7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b
Unique identifier for the template name, with a maximum length of 160 bytes.
Examples
shell
curl https://${domain}/rosetta-open/workflow/template?templateName=7d44b43b-3bbd-4f53-9f95-b7c0217d8d5b \
 -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": "{"nodes":[{"name":"Disribution Pool","type":"DISTRIBUTION"},{"name":"Annotation Pool","type":"ANNOTATION"},{"name":"Review Pool","type":"CHECK"},{"name":"Sampling Pool","type":"SAMPLING"},{"name":"Completion Pool","type":"COMPLETE"}],"edges":[{"from":"Disribution Pool","to":"Annotation Pool"},{"from":"Annotation Pool","to":"Review Pool"},{"from":"Review Pool","to":"Sampling Pool"},{"from":"Sampling Pool","to":"Completion Pool"}]}",
"date": "2025-03-28 15:33:41",
"requestId": "d32d4438f6db423dacf17392a1ccd312",
"success": true
}
4005
{
"code": 4005,
"data": null,
"message": "Invalid parameter",
"date": "2024-05-16 19:03:34",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}
5000
{
"code": 5000,
"data": null,
"message": "Service hiccuped, please try again later.",
"date": "2025-03-13 20:00:00",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}