GetParseSettings - Get parsing settings for a category

Updated at:

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 (AliyunBailianDataFullAccess or AliyunBailianDataReadOnlyAccess, 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.

Try it out

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 resources is 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.

ActionAccess levelResource typeCondition keyDependent action
sfm:GetParseSettingsget
*All resources
*
    None
None

Request syntax

GET /{WorkspaceId}/datacenter/parser/settings HTTP/1.1

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringNo

The ID of the workspace to which the file belongs. For more information, see How to use workspaces.

llm-3shx2gu255oqxxxx
CategoryIdstringNo

The category ID, which is the CategoryId returned by the AddCategory API. Open Collections and click Details for the target file dataset. Click the ID icon next to the category name, then click the copy icon to copy the category ID.

cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx

Response parameters

NameTypeDescriptionExample value
object

Schema of Response

RequestIdstring

The request ID of this call.

35A267BF-xxxx-54DB-8394-AA3B0742D833
Dataarray<object>

The business data returned when the request succeeds.

Dataobject

The returned content.

FileTypestring

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.

pdf
ParserDisplayNamestring

The display name of the parsing method.

Digital document parsing
ParserConfigobject

The parser configuration, which is returned only when the parsing type is set to Qwen VL parsing.

ModelNamestring

The model name.

Valid values:
  • qwen3-vl-plus: qwen3-vl-plus.
qwen3-vl-plus
ModelPromptstring

The prompt used when Qwen VL parsing is called.

#角色 你是一个专业的图片内容标注人员,擅长识别并描述出图片中的内容。 # 任务目标 请结合输入图片,详细描述图片中的内容。
Parserstring

The parser used for files of the current type in this category. Possible values:

  • DOCMIND: intelligent document parsing
  • DOCMIND_DIGITAL: digital document parsing
  • DOCMIND_LLM_VERSION: large language model document parsing
  • DASH_QWEN_VL_PARSER: Qwen VL parsing
DOCMIND
Statusstring

The status code returned by the API.

200
Successboolean

Indicates whether the call is successful. Possible values:

  • true: success.
  • false: failure.
True
Messagestring

The error message.

workspace id is null or invalid.
Codestring

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.