enterprise.task.list
Lists tasks belonging to a specific user within the enterprise. Useful for previewing what data will be included in an export.
curl --request GET \
--url https://api.manus.im/v2/enterprise.task.list \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.manus.im/v2/enterprise.task.list"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.manus.im/v2/enterprise.task.list', 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/v2/enterprise.task.list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.manus.im/v2/enterprise.task.list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.manus.im/v2/enterprise.task.list")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/v2/enterprise.task.list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"request_id": "<string>",
"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
}{
"ok": false,
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
}
}enterprise.export.create with start_time / end_time.User identifier: user accepts either a user ID or an email address.Soft-deleted tasks: Set include_deleted=true to include tasks the user has deleted.Protocols: Also callable via Connect RPC. See Protocols.Authorizations
Query Parameters
User ID or email address to look up tasks for.
"user@example.com"
Lower time bound (RFC3339).
Upper time bound (RFC3339).
Page number, starting from 1.
1
Number of records per page.
10
Include soft-deleted tasks.
Response
Task records retrieved successfully.
Whether the request was successful.
true
Unique identifier for this API request.
List of task records belonging to the user.
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 (across all pages).
curl --request GET \
--url https://api.manus.im/v2/enterprise.task.list \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.manus.im/v2/enterprise.task.list"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.manus.im/v2/enterprise.task.list', 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/v2/enterprise.task.list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"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"
"net/http"
"io"
)
func main() {
url := "https://api.manus.im/v2/enterprise.task.list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.manus.im/v2/enterprise.task.list")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.manus.im/v2/enterprise.task.list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"ok": true,
"request_id": "<string>",
"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
}{
"ok": false,
"request_id": "<string>",
"error": {
"code": "<string>",
"message": "<string>"
}
}