Queries data processing task templates by region, template ID, or type, and returns paginated template configurations.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the template resides. |
cn-hangzhou |
| TemplateId |
string |
No |
The task template ID used for filtering. |
tpl-123456 |
| TemplateType |
string |
No |
The node templatetype used for filtering. Valid value: image. |
image |
| PageSize |
string |
No |
The number of entries to return on each page. Default value: 30. |
30 |
| PageNumber |
string |
No |
The page number. Pages start from 1. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| Items |
array<object> |
The list of data processing task templates. |
|
|
object |
|||
| TemplateId |
string |
The task template ID. |
tpl-123456 |
| TemplateName |
string |
The task template name. |
template1 |
| TemplateType |
string |
The node templatetype. Valid value: image. |
image |
| CreationTime |
string |
The time when the task template was created, in RFC 3339 format. |
2025-01-01T00:00:00Z |
| TemplateConfig |
string |
The JSON configuration string of the template. |
{"ETL_TEMPLATE_STR":"config"} |
| Captioning |
boolean |
Specifies whether it is required to fetch the summary or video synopsis. |
true |
| CaptioningPrompt |
string |
The prompt used when extracting captions. |
Summarize the image content |
| Embedding |
boolean |
Specifies whether to convert content into vectors. |
true |
| EmbeddingDimension |
integer |
The output dimension of the vector. |
768 |
| Status |
string |
The task template status. |
Active |
| TotalRecordCount |
integer |
The total number of templates that meet the specified conditions. |
1 |
| PageRecordCount |
integer |
The number of templates returned on the current page. |
1 |
| PageNumber |
integer |
The current page number. |
1 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"Items": [
{
"TemplateId": "tpl-123456",
"TemplateName": "template1",
"TemplateType": "image",
"CreationTime": "2025-01-01T00:00:00Z",
"TemplateConfig": "{\"ETL_TEMPLATE_STR\":\"config\"}",
"Captioning": true,
"CaptioningPrompt": "请概述图片内容",
"Embedding": true,
"EmbeddingDimension": 768,
"Status": "Active"
}
],
"TotalRecordCount": 1,
"PageRecordCount": 1,
"PageNumber": 1
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.