All Products
Search
Document Center

Alibaba Cloud Model Studio:GetAvailableParserTypes

Last Updated:Jan 30, 2026

Lists all supported parser types based on the input file type (file extension).

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:GetAvailableParserTypesget
*All Resources
*
    none
none

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringYes

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

llm-3shx2gu255oqxxxx
FileTypestringYes

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

pdf

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The request ID.

17204B98-7734-4F9A-8464-2446XXXXXXX
Dataobject

The data returned.

FileTypestring

The file type, which is the same as the FileType in the input parameter.

pdf
ParserListarray<object>

The list of supported parsers

ParserListobject

A parser object

DisplayNamestring

The display name of the parsing method.

Parserstring

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
Statusstring

The HTTP status code returned.

200
Successboolean

Indicates whether the call is successful. Valid values:

  • true
  • false
true
Messagestring

The error message that is returned if the request failed.

User not authorized to operate on the specified resource
Codestring

The error code returned.

DataCenter.Throttling

Examples

Sample success responses

JSONformat

{
  "RequestId": "17204B98-7734-4F9A-8464-2446XXXXXXX",
  "Data": {
    "FileType": "pdf",
    "ParserList": [
      {
        "DisplayName": "",
        "Parser": "DOCMIND"
      }
    ]
  },
  "Status": 200,
  "Success": true,
  "Message": "User not authorized to operate on the specified resource",
  "Code": "DataCenter.Throttling"
}

Error codes

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