Authorizations
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonUpload lease ID, the leaseId returned by the applyFileUploadLease endpoint.
Category ID (the field is named category, not categoryId). Returned by listCategory.
Parser type. AUTO_SELECT picks a parser automatically; DOCMIND intelligent document parsing; DOCMIND_DIGITAL digital document parsing; DOCMIND_LLM_VERSION LLM-based document parsing; DASH_QWEN_VL_PARSER Qwen VL parsing (requires parserConfig); DOCMIND_LLM_VERSION_MEDIA audio and video parsing. When categoryType is UNSTRUCTURED, files are parsed according to the category's data parsing settings; when it is SESSION_FILE, the system uses its default parsing method, which cannot be changed.
Category type.
Tags associated with the file. Empty by default (no tags). Up to 100 tags; the total length of all tags must not exceed 700 characters; each tag is at most 64 characters.
Associates a URL with the file. When building a document-search Knowledge Base, the platform records this link and returns it with the file's recall results during agent conversations (via the docUrl field). The agent application must have the Knowledge Base enabled and answer-source display turned on, otherwise this parameter has no effect.
Parser configuration. Required only when parser is DASH_QWEN_VL_PARSER; not needed for other parsers.
Response
Response code. Success on success.
Response status code.
Error or informational message; an empty string on success.
Unique request identifier. Include this ID when reporting an issue.
Business status code. 200 on success, 400 for failures such as invalid parameters. Note that the HTTP status code remains 200 even on failure, so rely on this field and code to determine the result.