enterprise.task.list
Lists tasks belonging to a specific user within the enterprise. Useful for previewing what data would be included in an export.
curl --request POST \
--url https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user": "user@example.com",
"page": 1,
"page_size": 10
}
'import requests
url = "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks"
payload = {
"user": "user@example.com",
"page": 1,
"page_size": 10
}
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({user: 'user@example.com', page: 1, page_size: 10})
};
fetch('https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks', 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/ListTasks",
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([
'user' => 'user@example.com',
'page' => 1,
'page_size' => 10
]),
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/ListTasks"
payload := strings.NewReader("{\n \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\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/ListTasks")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks")
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 \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\n}"
response = http.request(request)
puts response.read_body{
"records": [
{
"task_uid": "<string>",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"title": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_message_time": "2023-11-07T05:31:56Z",
"is_deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"audit_status": 123,
"is_shared": true,
"is_blocked": true,
"space_id": "<string>",
"project_uid": "<string>",
"scheduled_task": true,
"scheduled_task_uid": "<string>"
}
],
"total": 123,
"request_id": "<string>"
}{
"code": "<string>",
"message": "<string>"
}user accepts either a user ID or an email address.Soft-deleted tasks: Set include_deleted=true to include tasks the user has deleted.Authorizations
Body
User ID or email address.
"user@example.com"
Page number, starting from 1.
1
Number of records per page.
10
Lower time bound (RFC3339).
Upper time bound (RFC3339).
Include soft-deleted tasks.
Response
Task records retrieved successfully.
List of task records.
Hide child attributes
Hide child attributes
Unique task identifier.
ID of the user who owns the task.
"123e4567-e89b-12d3-a456-426614174000"
Task title.
Task lifecycle status (e.g., SESSION_STATUS_STOPPED).
Task creation time.
Last update time.
Time of the most recent message in the task.
Whether the task has been soft-deleted by the user.
Soft-deletion time. Only present when is_deleted is true.
Numeric audit status. Values mirror the session AuditStatus enum used elsewhere in the platform.
Whether the task has been shared (publicly or with a team).
Whether the task has been blocked (e.g. by content policy enforcement).
Space identifier the task belongs to.
UID of the Manus project that owns this task, if any.
Whether the task was created by a scheduled (recurring) job.
UID of the scheduled task definition. Only present when scheduled_task is true.
Total number of records matching the query.
Request ID for tracing and auditing.
curl --request POST \
--url https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user": "user@example.com",
"page": 1,
"page_size": 10
}
'import requests
url = "https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks"
payload = {
"user": "user@example.com",
"page": 1,
"page_size": 10
}
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({user: 'user@example.com', page: 1, page_size: 10})
};
fetch('https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks', 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/ListTasks",
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([
'user' => 'user@example.com',
'page' => 1,
'page_size' => 10
]),
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/ListTasks"
payload := strings.NewReader("{\n \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\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/ListTasks")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/dataexport.v1.EnterpriseDataExportService/ListTasks")
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 \"user\": \"user@example.com\",\n \"page\": 1,\n \"page_size\": 10\n}"
response = http.request(request)
puts response.read_body{
"records": [
{
"task_uid": "<string>",
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"title": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"last_message_time": "2023-11-07T05:31:56Z",
"is_deleted": true,
"deleted_at": "2023-11-07T05:31:56Z",
"audit_status": 123,
"is_shared": true,
"is_blocked": true,
"space_id": "<string>",
"project_uid": "<string>",
"scheduled_task": true,
"scheduled_task_uid": "<string>"
}
],
"total": 123,
"request_id": "<string>"
}{
"code": "<string>",
"message": "<string>"
}