Skip to main content
Call this API to obtain the download information for a file in Knowledge Base.

API call description

To obtain the download information, follow these steps: Step 1: Call this API to obtain the file download information, including the download URL and headers. Step 2: Perform the download. See the following example:
If the file is too large and you need to retrieve the resource in segments, add the following header in the example above: headers.put("Range","bytes=0-499");. For details, see Download partial content by specifying Range.

request

Basic information

request header

path parameter

query parameter

request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

response

response body

response body example

error code

If an error is returned when calling this API, look up the solution based on the error message in the Global error codes document.