All Products
Search
Document Center

Alibaba Cloud Model Studio:ChangeParseSetting

Last Updated:Jan 30, 2026

Configure the parsing method for a specific file type. For example, use LLM parsing for .pdf files, or use Qwen VL parsing for .jpg files.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
sfm:ChangeParseSettingupdate
*All Resources
*
    none
none

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringYes

The ID of the workspace to which the category belongs. For more information, see Use workspaces.

llm-3z7uw7fwz0vxxxx
CategoryIdstringYes

The category ID, which is the CategoryId returned by AddCategory. To view the category ID, click the ID icon next to the category name on the Unstructured Data tab of the Application Data page.

cate_cdd11b1b79a74e8bbd675c356a91ee35xxxxxxxx
FileTypestringYes

The file type. Valid values: pdf, docx, and doc.

pdf
ParserstringYes

The parser code. Valid values:

  • DOCMIND (Intelligent parsing)
  • DOCMIND_DIGITAL (Digital parsing)
  • DOCMIND_LLM_VERSION (LLM parsing)
  • DASH_QWEN_VL_PARSER (Qwen VL parsing)
DOCMIND
ParserConfigobjectNo

The parser configuration. Currently, this is available only for Qwen VL parsing.

modelNamestringNo

The model name.

Valid values:

  • qwen-vl-max
  • qwen-vl-plus
qwen-vl-max
modelPromptstringNo

The prompt used for parsing.

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

7BA8ADD9-53D6-53F0-918F-A1E776AD230E
Dataobject

The returned data fields.

ChangeResultboolean

The result of the modification.

true
Statusstring

The HTTP status code returned.

200
Successboolean

Indicates whether the call is successful. Valid values:

  • true
  • false
true
Messagestring

The error message.

User not authorized to operate on the specified resource.
Codestring

The status code.

InvalidParameter

Examples

Sample success responses

JSONformat

{
  "RequestId": "7BA8ADD9-53D6-53F0-918F-A1E776AD230E",
  "Data": {
    "ChangeResult": true
  },
  "Status": 200,
  "Success": true,
  "Message": "User not authorized to operate on the specified resource.",
  "Code": "InvalidParameter"
}

Error codes

For a list of error codes, visit the Service error codes.