curl --request GET \
--url https://api.runaether.dev/orgs/{orgID}/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/tasks', 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.runaether.dev/orgs/{orgID}/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.runaether.dev/orgs/{orgID}/tasks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.runaether.dev/orgs/{orgID}/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"agent_type": "codex",
"archived_at": "2023-11-07T05:31:56Z",
"auto_fix_ci": true,
"auto_fix_pr_comments": true,
"auto_rebase": true,
"binding": {
"base_branch": "<string>",
"bound_at": "2023-11-07T05:31:56Z"
},
"campaign": {
"active_descendants": 1,
"attention": "error",
"descendants_merged": 1,
"descendants_total": 2
},
"conversation": {
"active_turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processing_started_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"creator_reauth_required": true,
"hardware": {
"cpu_kind": "shared",
"cpus": 8,
"gpu_kind": "a10",
"memory_mb": 16512,
"volume_size_gb": 250
},
"head_branch": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interaction_mode": "default",
"latest_message_revision": 4503599627370495,
"latest_status_message": "<string>",
"merge_when_ready": true,
"model": "<string>",
"name": "<string>",
"org_id": "<string>",
"outcome": "running",
"parent_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pinned_at": "2023-11-07T05:31:56Z",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"pr_review_mode": "review_only",
"pr_review_summary": {
"comment_count": 1,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_count": 2,
"run_status": "reviewing",
"severity_counts": {
"confirmed": 1,
"nit": 1,
"p1": 1,
"p2": 1,
"question": 1
},
"summary_severity": "p1",
"verdict": "approve"
},
"primary_pull_request": {
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"state": "open"
},
"project": {
"name": "<string>",
"repository": {
"default_branch": "<string>",
"github_repo_id": 4503599627370496,
"link": {
"installation_id": 4503599627370496,
"state": "connected"
},
"name": "<string>",
"owner": "<string>",
"url": "<string>"
},
"state": "active"
},
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pull_requests": [
{
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"state": "open"
}
],
"reasoning_effort": "ultra",
"review_subject_pull_request": {
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_trigger": "automatic",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"origin_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_check_conclusion": "success",
"state": "open"
},
"run_context": {
"started_at": "2023-11-07T05:31:56Z",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"runs_on": {
"runs_on": "aether"
},
"runtime_timing": {
"state": "inactive"
},
"save_to_github": "offered",
"source": "manual",
"source_metadata": {},
"status": "queued",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"usage": {
"tokens_in": 4503599627370495,
"tokens_out": 4503599627370495,
"vm_uptime_seconds": 1
},
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan_progress": {
"completed": 1,
"total": 2,
"current_step": "<string>"
},
"work_tree": {
"branch": "<string>",
"computer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"computer_name": "<string>",
"computer_reachable": true,
"folder": "<string>",
"kind": "checkout",
"start": {
"chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "starting"
}
}
}
],
"next_cursor": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}List tasks
Lists one page of the organization’s top-level tasks in the list’s order, narrowed by the filters given.
Use this tool when you need to:
- Find an organization’s tasks by status, project, creator, source, or the dates they started or ended
- Fetch several known tasks at once by their ids
- Read the tasks the agent sidebar shows, or only the pinned ones
Examples:
- GET /orgs//tasks?status=running&status=awaiting_input&limit=50
- GET /orgs/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/tasks?project_id=0b9d3e57-2c1a-4f6e-8d7b-5a4c3e2f1d09&order=updated_at&started_after=2026-10-01
Hints:
- orgID is the organization’s uuid. limit is optional, 1 to 100, default 20. Every filter is optional and they combine: ids and status repeat once per value (ids at most 100 lowercase uuids), project_id and created_by are uuids, and source is manual, web, mobile, cli, ci, sentry, linear, slack, automation, pr_review, teleport or delegation.
- status is running, awaiting_input, approved, awaiting_ci, merged, unmerged, errored, archived, or review_attention (a task whose pull request review needs attention); absent lists every status.
- started_after, started_before, ended_after and ended_before are UTC dates (YYYY-MM-DD): an after date admits the tasks that started (or ended) on or after it, a before date those before it, and a task that has not ended matches no ended bound.
- order is created_at (the default, newest created first), updated_at (most recently updated first) or agent_sidebar (grouped by status: running, then awaiting_input, approved, awaiting_ci, unmerged and errored, most recently updated first within each; merged and archived tasks only when pinned, and without status only those six statuses).
- scope agent_sidebar_main lists the pinned tasks and the unarchived ones in those six statuses in the agent_sidebar order, and agent_sidebar_pinned only the pinned tasks, most recently updated first; a scope beside status, order or source is 400.
- Without a scope, archived tasks and tasks the caller hid are listed only when status includes archived; PR-review runs are listed only when source is pr_review or when ids names them; campaign child tasks are never listed.
- The list pages by cursor: send the previous page’s next_cursor as cursor; next_cursor is null on the last page, and a task created after the first page was read never shifts a later page. A malformed cursor, or one minted for a different order, scope or filter set, is 400.
- Each item is the Task object getTask returns. Use getTask instead for one task, searchTasks to find tasks by what their conversations say, and getTaskTree for the child tasks of a campaign.
- Where a task runs: work_tree is present exactly when a work tree on one of its creator’s computers backs it (computer_id names one of listComputers’), and hardware is then null; a cloud task has no work_tree. A checkout, work_tree.kind checkout, has no main chat, so its agent_type, model, interaction_mode, reasoning_effort and runs_on are null, and it is listed and read by its creator alone.
- Any member of the organization may list, a viewer included, and an agent host’s grant is admitted; a billing member is refused with 403 org_role_insufficient, a non-member with 403 org_membership_required, a suspended organization with 403 org_suspended, and an orgID that is not a uuid with 400; 503 when the membership check is unavailable.
- A filter value outside its type (an id, project_id or created_by that is not a lowercase uuid, a status, order, scope or source outside its enum, a malformed date, over 100 ids, a limit outside 1 to 100) is 422 from the schema. A project_id the organization does not have is 404 not_found (403 when the caller’s role in the project’s own organization refuses reading it).
curl --request GET \
--url https://api.runaether.dev/orgs/{orgID}/tasks \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/orgs/{orgID}/tasks"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.runaether.dev/orgs/{orgID}/tasks', 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.runaether.dev/orgs/{orgID}/tasks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.runaether.dev/orgs/{orgID}/tasks"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.runaether.dev/orgs/{orgID}/tasks")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/orgs/{orgID}/tasks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"items": [
{
"agent_type": "codex",
"archived_at": "2023-11-07T05:31:56Z",
"auto_fix_ci": true,
"auto_fix_pr_comments": true,
"auto_rebase": true,
"binding": {
"base_branch": "<string>",
"bound_at": "2023-11-07T05:31:56Z"
},
"campaign": {
"active_descendants": 1,
"attention": "error",
"descendants_merged": 1,
"descendants_total": 2
},
"conversation": {
"active_turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"processing_started_at": "2023-11-07T05:31:56Z"
},
"created_at": "2023-11-07T05:31:56Z",
"creator_reauth_required": true,
"hardware": {
"cpu_kind": "shared",
"cpus": 8,
"gpu_kind": "a10",
"memory_mb": 16512,
"volume_size_gb": 250
},
"head_branch": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"interaction_mode": "default",
"latest_message_revision": 4503599627370495,
"latest_status_message": "<string>",
"merge_when_ready": true,
"model": "<string>",
"name": "<string>",
"org_id": "<string>",
"outcome": "running",
"parent_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pinned_at": "2023-11-07T05:31:56Z",
"post_pr_demo_video": true,
"post_pr_screenshots": true,
"pr_review_mode": "review_only",
"pr_review_summary": {
"comment_count": 1,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"run_count": 2,
"run_status": "reviewing",
"severity_counts": {
"confirmed": 1,
"nit": 1,
"p1": 1,
"p2": 1,
"question": 1
},
"summary_severity": "p1",
"verdict": "approve"
},
"primary_pull_request": {
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"state": "open"
},
"project": {
"name": "<string>",
"repository": {
"default_branch": "<string>",
"github_repo_id": 4503599627370496,
"link": {
"installation_id": 4503599627370496,
"state": "connected"
},
"name": "<string>",
"owner": "<string>",
"url": "<string>"
},
"state": "active"
},
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"pull_requests": [
{
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"state": "open"
}
],
"reasoning_effort": "ultra",
"review_subject_pull_request": {
"additions": 1,
"checks_failed": 1,
"checks_passed": 1,
"checks_total": 1,
"commits": 1,
"deletions": 1,
"html_url": "<string>",
"lines_changed": 1,
"pr_number": 2,
"pull_request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_trigger": "automatic",
"title": "<string>",
"base_branch": "<string>",
"branch_name": "<string>",
"ci_status": "pending",
"merge_when_ready_blocker": {
"blocker": "not_ready_for_merge",
"head_sha": "<string>",
"observed_at": "2023-11-07T05:31:56Z"
},
"merged_at": "2023-11-07T05:31:56Z",
"origin_task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"review_check_conclusion": "success",
"state": "open"
},
"run_context": {
"started_at": "2023-11-07T05:31:56Z",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"runs_on": {
"runs_on": "aether"
},
"runtime_timing": {
"state": "inactive"
},
"save_to_github": "offered",
"source": "manual",
"source_metadata": {},
"status": "queued",
"updated_at": "2023-11-07T05:31:56Z",
"url": "<string>",
"usage": {
"tokens_in": 4503599627370495,
"tokens_out": 4503599627370495,
"vm_uptime_seconds": 1
},
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"plan_progress": {
"completed": 1,
"total": 2,
"current_step": "<string>"
},
"work_tree": {
"branch": "<string>",
"computer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"computer_name": "<string>",
"computer_reachable": true,
"folder": "<string>",
"kind": "checkout",
"start": {
"chat_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"state": "starting"
}
}
}
],
"next_cursor": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
11 <= x <= 100Lists only the tasks these ids name; repeat the parameter for each id.
100^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Lists only the tasks in one of these statuses; repeat the parameter for each status. Absent lists every status.
running, awaiting_input, approved, awaiting_ci, merged, unmerged, errored, archived, review_attention created_at, updated_at, agent_sidebar agent_sidebar_main, agent_sidebar_pinned ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$Lists only tasks from this source. PR-review runs are listed only when source is pr_review or when ids names them.
manual, web, mobile, cli, ci, sentry, linear, slack, automation, pr_review, teleport, delegation Lists only the tasks started on or after this UTC date.
Lists only the tasks started before this UTC date.
Lists only the tasks that ended on or after this UTC date.
Lists only the tasks that ended before this UTC date.