Skip to content

GetParseSettings

Queries the data parsing settings in a specified category.

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. Debug

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:GetParseSettingsget* All Resources *nonenone

Request syntax

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

Request parameters

ParameterTypeRequiredDescriptionExample
WorkspaceIdstringNoThe ID of the workspace to which the file belongs. For more information, see Use workspaces.llm-3shx2gu255oqxxxx
CategoryIdstringNoThe 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

Response parameters

ParameterTypeDescriptionExample
objectSchema of Response
RequestIdstringThe request ID.35A267BF-xxxx-54DB-8394-AA3B0742D833
DataarrayThe returned data fields.
DataobjectThe returned data.
FileTypestringThe file type. Valid values are: pdf, docx, doc, etc. All supported file types in the category are listed here.pdf
ParserDisplayNamestringThe display name of the parsing method.Digital parsing
ParserConfigobjectThe parser configuration. Currently, this is available only for Qwen VL parsing.
ModelNamestringThe model name.- qwen-vl-max - qwen-vl-plus
ModelPromptstringThe prompt used for parsing.# Role You are a professional image content annotator, skilled in identifying and describing the contents of images. # Task Objective Based on the input image, provide a detailed description of its contents.
ParserstringThe parser used for files of the current type. Valid values: - DOCMIND (Intelligent parsing) - DOCMIND_DIGITAL (Digital parsing) - DOCMIND_LLM_VERSION (LLM parsing) - DASH_QWEN_VL_PARSER (Qwen VL parsing)DOCMIND
StatusstringThe HTTP status code returned.200
SuccessbooleanIndicates whether the call is successful. Valid values: - true - falseTrue
MessagestringThe error message.workspace id is null or invalid.
CodestringThe status code.success

Examples

Sample success responses

JSONformat

{
  "RequestId": "35A267BF-xxxx-54DB-8394-AA3B0742D833",
  "Data": [
    {
      "FileType": "pdf",
      "ParserDisplayName": "Digital parsing",
      "ParserConfig": {
        "ModelName": "- qwen-vl-max\n- qwen-vl-plus",
        "ModelPrompt": "# Role  \nYou are a professional image content annotator, skilled in identifying and describing the contents of images.  \n\n# Task Objective  \nBased on the input image, provide a detailed description of its contents."
      },
      "Parser": "DOCMIND"
    }
  ],
  "Status": 200,
  "Success": true,
  "Message": "workspace id is null or invalid.",
  "Code": "success"
}

Error codes

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

Mirror of Alibaba Cloud Model Studio docs for reference and RAG. Not affiliated with Alibaba Cloud.