Enterprise Data Export
enterprise.export.downloadUrl
Returns a temporary pre-signed URL for downloading a completed export. The URL expires after 10 minutes — call this endpoint again to mint a new one.
POST
/
dataexport.v1.EnterpriseDataExportService
/
GetDownloadURL
GetDownloadURL
curl --request POST \
--url https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"uid": "5YX76pz7Dga3yztNVw97Dh"
}
'import requests
url = "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL"
payload = { "uid": "5YX76pz7Dga3yztNVw97Dh" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({uid: '5YX76pz7Dga3yztNVw97Dh'})
};
fetch('https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uid' => '5YX76pz7Dga3yztNVw97Dh'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL"
payload := strings.NewReader("{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}"
response = http.request(request)
puts response.read_body{
"download_url": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}{
"code": "<string>",
"message": "<string>"
}Questions or issues? Contact us at api-support@manus.ai.
URL validity: The returned
download_url expires after 10 minutes. Call this endpoint again to mint a fresh URL — it does not consume any quota.Status requirement: The export must be EXPORT_STATUS_COMPLETED. Other statuses return FAILED_PRECONDITION.File retention: Files are purged 30 days after the export completes.Authorizations
Body
application/json
Export task UID. Status must be EXPORT_STATUS_COMPLETED.
Example:
"5YX76pz7Dga3yztNVw97Dh"
⌘I
GetDownloadURL
curl --request POST \
--url https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"uid": "5YX76pz7Dga3yztNVw97Dh"
}
'import requests
url = "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL"
payload = { "uid": "5YX76pz7Dga3yztNVw97Dh" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({uid: '5YX76pz7Dga3yztNVw97Dh'})
};
fetch('https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'uid' => '5YX76pz7Dga3yztNVw97Dh'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL"
payload := strings.NewReader("{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/GetDownloadURL")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"uid\": \"5YX76pz7Dga3yztNVw97Dh\"\n}"
response = http.request(request)
puts response.read_body{
"download_url": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"request_id": "<string>"
}{
"code": "<string>",
"message": "<string>"
}