curl --request POST \
--url http://localhost:3000/api/v1/tasks/list \
--header 'Content-Type: application/json' \
--data '
{
"agent": "<string>",
"all": true,
"allTime": true,
"archived": true,
"cursor": "<string>",
"last": "<string>",
"limit": "<string>",
"mine": true,
"order": "<string>",
"parent": "<string>",
"profile": "<string>",
"root": "<string>",
"roots": true,
"session": "<string>",
"since": "<string>",
"sort": "<string>",
"status": "<string>",
"tag": "<string>",
"text": "<string>",
"until": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/tasks/list"
payload = {
"agent": "<string>",
"all": True,
"allTime": True,
"archived": True,
"cursor": "<string>",
"last": "<string>",
"limit": "<string>",
"mine": True,
"order": "<string>",
"parent": "<string>",
"profile": "<string>",
"root": "<string>",
"roots": True,
"session": "<string>",
"since": "<string>",
"sort": "<string>",
"status": "<string>",
"tag": "<string>",
"text": "<string>",
"until": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
agent: '<string>',
all: true,
allTime: true,
archived: true,
cursor: '<string>',
last: '<string>',
limit: '<string>',
mine: true,
order: '<string>',
parent: '<string>',
profile: '<string>',
root: '<string>',
roots: true,
session: '<string>',
since: '<string>',
sort: '<string>',
status: '<string>',
tag: '<string>',
text: '<string>',
until: '<string>'
})
};
fetch('http://localhost:3000/api/v1/tasks/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_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/tasks/list",
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([
'agent' => '<string>',
'all' => true,
'allTime' => true,
'archived' => true,
'cursor' => '<string>',
'last' => '<string>',
'limit' => '<string>',
'mine' => true,
'order' => '<string>',
'parent' => '<string>',
'profile' => '<string>',
'root' => '<string>',
'roots' => true,
'session' => '<string>',
'since' => '<string>',
'sort' => '<string>',
'status' => '<string>',
'tag' => '<string>',
'text' => '<string>',
'until' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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 := "http://localhost:3000/api/v1/tasks/list"
payload := strings.NewReader("{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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("http://localhost:3000/api/v1/tasks/list")
.header("Content-Type", "application/json")
.body("{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/tasks/list")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}List tasks
curl --request POST \
--url http://localhost:3000/api/v1/tasks/list \
--header 'Content-Type: application/json' \
--data '
{
"agent": "<string>",
"all": true,
"allTime": true,
"archived": true,
"cursor": "<string>",
"last": "<string>",
"limit": "<string>",
"mine": true,
"order": "<string>",
"parent": "<string>",
"profile": "<string>",
"root": "<string>",
"roots": true,
"session": "<string>",
"since": "<string>",
"sort": "<string>",
"status": "<string>",
"tag": "<string>",
"text": "<string>",
"until": "<string>"
}
'import requests
url = "http://localhost:3000/api/v1/tasks/list"
payload = {
"agent": "<string>",
"all": True,
"allTime": True,
"archived": True,
"cursor": "<string>",
"last": "<string>",
"limit": "<string>",
"mine": True,
"order": "<string>",
"parent": "<string>",
"profile": "<string>",
"root": "<string>",
"roots": True,
"session": "<string>",
"since": "<string>",
"sort": "<string>",
"status": "<string>",
"tag": "<string>",
"text": "<string>",
"until": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
agent: '<string>',
all: true,
allTime: true,
archived: true,
cursor: '<string>',
last: '<string>',
limit: '<string>',
mine: true,
order: '<string>',
parent: '<string>',
profile: '<string>',
root: '<string>',
roots: true,
session: '<string>',
since: '<string>',
sort: '<string>',
status: '<string>',
tag: '<string>',
text: '<string>',
until: '<string>'
})
};
fetch('http://localhost:3000/api/v1/tasks/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_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/v1/tasks/list",
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([
'agent' => '<string>',
'all' => true,
'allTime' => true,
'archived' => true,
'cursor' => '<string>',
'last' => '<string>',
'limit' => '<string>',
'mine' => true,
'order' => '<string>',
'parent' => '<string>',
'profile' => '<string>',
'root' => '<string>',
'roots' => true,
'session' => '<string>',
'since' => '<string>',
'sort' => '<string>',
'status' => '<string>',
'tag' => '<string>',
'text' => '<string>',
'until' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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 := "http://localhost:3000/api/v1/tasks/list"
payload := strings.NewReader("{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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("http://localhost:3000/api/v1/tasks/list")
.header("Content-Type", "application/json")
.body("{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/v1/tasks/list")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent\": \"<string>\",\n \"all\": true,\n \"allTime\": true,\n \"archived\": true,\n \"cursor\": \"<string>\",\n \"last\": \"<string>\",\n \"limit\": \"<string>\",\n \"mine\": true,\n \"order\": \"<string>\",\n \"parent\": \"<string>\",\n \"profile\": \"<string>\",\n \"root\": \"<string>\",\n \"roots\": true,\n \"session\": \"<string>\",\n \"since\": \"<string>\",\n \"sort\": \"<string>\",\n \"status\": \"<string>\",\n \"tag\": \"<string>\",\n \"text\": \"<string>\",\n \"until\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{}Body
Filter by assigned agent
Include archived and visible tasks
Disable the default 1d updated_at window
List only archived tasks
Opaque cursor returned by the previous page
Number of newest tasks to show by default (default: 30; use 0 or "all" to disable)
Page size (default: 30, max: 500)
Filter by current agent/session context
Sort direction: asc|desc
Filter direct children of one parent task
Filter by task profile
Filter one task tree (root task plus descendants)
Show only root tasks (no parent)
Filter by assigned session
Lower updated_at bound: 1d, epoch ms, or ISO datetime
Sort field: updated|created
Filter by status
Filter by canonical task tag
Free-text match across id, title, instructions, summary, blocker, profile, agent and session
Upper updated_at bound: 1d, epoch ms, or ISO datetime
Response
Success — no @Returns schema declared; payload shape is loose.
The response is of type object.