Authorizations
DashScope API Key, obtained from the API Key page in the console.
Body
application/jsonUpload lease ID. Returned by applyFileUploadLease.
Category ID (the field is named category, not categoryId). Returned by listCategory.
Parsing method.
Category type.
File tags.
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.
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.