GetParseSettings - Get parsing settings for a category
Queries the data parsing settings for a specified category.
Operation description
- A RAM user (sub-account) must first obtain the API permissions for Alibaba Cloud Model Studio (
AliyunBailianDataFullAccessorAliyunBailianDataReadOnlyAccess, both of which include the sfm:GetParseSettings permission point) and join a workspace before calling this API. An Alibaba Cloud account (primary account) can call this API directly without authorization. We recommend that you call this API by using the latest version of the Alibaba Cloud Model Studio SDK. - This API is idempotent.
Rate limit notice: Frequent calls to this API are subject to rate limiting. Do not call this API more than 10 times per second. If rate limited, retry after a short wait.
Try it out
You can run this API directly in OpenAPI Explorer, which saves you the trouble of calculating signatures. After the run succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information of this API. You can use it in the Action element of a RAM policy statement to grant RAM users or RAM roles the permission to call this API. Details are as follows:
-
Action: refers to the specific permission point.
-
Access level: refers to the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: refers to the resource types that support authorization for the operation. Details are as follows:
- For required resource types, an asterisk (*) is added as a prefix.
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: refers to the condition keys defined by the cloud service itself.
-
Dependent action: refers to other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| sfm:GetParseSettings | get | *All resources * |
| None |
Request syntax
GET /{WorkspaceId}/datacenter/parser/settings HTTP/1.1
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| WorkspaceId | string | No | The ID of the workspace to which the file belongs. For more information, see How to use workspaces. | llm-3shx2gu255oqxxxx |
| CategoryId | string | No | The category ID, which is the | cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | The request ID of this call. | 35A267BF-xxxx-54DB-8394-AA3B0742D833 |
| Data | array<object> | The business data returned when the request succeeds. | |
| Data | object | The returned content. | |
| FileType | string | The file type, which is the file extension. Possible values include pdf, docx, and doc. All file types supported in the current category are listed. | |
| ParserDisplayName | string | The display name of the parsing method. | Digital document parsing |
| ParserConfig | object | The parser configuration, which is returned only when the parsing type is set to Qwen VL parsing. | |
| ModelName | string | The model name. Valid values:
| qwen3-vl-plus |
| ModelPrompt | string | The prompt used when Qwen VL parsing is called. | #角色 你是一个专业的图片内容标注人员,擅长识别并描述出图片中的内容。 # 任务目标 请结合输入图片,详细描述图片中的内容。 |
| Parser | string | The parser used for files of the current type in this category. Possible values:
| DOCMIND |
| Status | string | The status code returned by the API. | 200 |
| Success | boolean | Indicates whether the call is successful. Possible values:
| True |
| Message | string | The error message. | workspace id is null or invalid. |
| Code | string | The error status code. | success |
Examples
Sample success response
JSON format
{
"RequestId": "35A267BF-xxxx-54DB-8394-AA3B0742D833",
"Data": [
{
"FileType": "pdf",
"ParserDisplayName": "电子文档解析",
"ParserConfig": {
"ModelName": "qwen3-vl-plus",
"ModelPrompt": "#角色\n你是一个专业的图片内容标注人员,擅长识别并描述出图片中的内容。\n# 任务目标\n请结合输入图片,详细描述图片中的内容。"
},
"Parser": "DOCMIND"
}
],
"Status": 200,
"Success": true,
"Message": "workspace id is null or invalid.",
"Code": "success"
}
Error codes
For more error codes, see Error Center.