List the provider-native subagents a task owns
curl --request GET \
--url https://api.runaether.dev/tasks/{taskID}/subagents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/tasks/{taskID}/subagents"
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/tasks/{taskID}/subagents', 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/tasks/{taskID}/subagents",
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/tasks/{taskID}/subagents"
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/tasks/{taskID}/subagents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/tasks/{taskID}/subagents")
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": [
{
"ambient": true,
"conversation_turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"is_backgrounded": true,
"native_task_id": "<string>",
"provider": "codex",
"started_at": "2023-11-07T05:31:56Z",
"status": "pending",
"task_type": "local_agent",
"tool_call_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"instruction": "<string>",
"output_file": "<string>",
"spawn_depth": 2,
"subagent_type": "<string>",
"summary": "<string>",
"usage": {
"duration_ms": 1,
"tool_uses": 1,
"total_tokens": 1
}
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<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>"
}
]
}Tasks
List the provider-native subagents a task owns
Lists the task’s ledger: the provider-native sub-agents, tool runs and commands the task’s agent started inside the task (Claude Code Task agents and teammates, background shells, workflows and MCP tasks, Codex collab agents), each with its state.
Use this tool when you need to:
- See which sub-agents, background commands or workflows a task’s agent started, and whether each is still running or how it ended
- Find a sub-agent’s tool_call_id before reading its transcript
- Read a ledger row’s summary, error, output_file or token usage
Examples:
- GET /tasks//subagents
- GET /tasks/6f1c2a9e-3b7d-4c55-9a2e-0d8b1f4e7c21/subagents
Hints:
- taskID is the task’s uuid; there are no other parameters. Every row comes in one response, in the order the rows were observed; the list is not paged.
- These are not Aether tasks: they have no workspace, branch or pull request of their own. task_type tells them apart: local_agent, in_process_teammate and remote_agent are sub-agents, local_workflow and mcp_task are tool runs, local_bash is a command.
- status is pending, running, paused, completed, failed, killed, stopped or stream_closed, and ended_at is set once it is terminal. ambient marks CLI housekeeping the provider does not surface as work, which clients hide from activity indicators.
- Use listTaskSubagentEvents instead to read one row’s transcript by its tool_call_id.
- Use getTaskTree instead for the cloud agents a task spawned: those are Aether tasks with their own workspace and pull request.
- Owners, admins, members and viewers of the task’s organization; a billing member is refused with 403 org_role_insufficient and a task the caller cannot see is 404. 503 when the membership check is unavailable.
GET
/
tasks
/
{taskID}
/
subagents
List the provider-native subagents a task owns
curl --request GET \
--url https://api.runaether.dev/tasks/{taskID}/subagents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.runaether.dev/tasks/{taskID}/subagents"
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/tasks/{taskID}/subagents', 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/tasks/{taskID}/subagents",
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/tasks/{taskID}/subagents"
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/tasks/{taskID}/subagents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/tasks/{taskID}/subagents")
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": [
{
"ambient": true,
"conversation_turn_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"description": "<string>",
"is_backgrounded": true,
"native_task_id": "<string>",
"provider": "codex",
"started_at": "2023-11-07T05:31:56Z",
"status": "pending",
"task_type": "local_agent",
"tool_call_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"ended_at": "2023-11-07T05:31:56Z",
"error": "<string>",
"instruction": "<string>",
"output_file": "<string>",
"spawn_depth": 2,
"subagent_type": "<string>",
"summary": "<string>",
"usage": {
"duration_ms": 1,
"tool_uses": 1,
"total_tokens": 1
}
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<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>"
}
]
}