curl --request GET \
--url https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree', 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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree",
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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree"
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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree")
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{
"events": [
{
"actor": "<string>",
"content": {
"blocks": [
{
"type": "<string>",
"byte_size": 0,
"content": "<array>",
"context": "<string>",
"data": "<string>",
"encrypted_content": "<string>",
"height": 0,
"id": "<string>",
"input": {},
"is_error": true,
"media_type": "<string>",
"name": "<string>",
"omitted_bytes": 0,
"payload": true,
"provider": "<string>",
"provider_payload": true,
"redacted": true,
"semantic_hint": "<string>",
"sha256": "<string>",
"signature": "<string>",
"source": {
"file_id": "<string>",
"type": "file"
},
"summary": "<array>",
"text": "<string>",
"title": "<string>",
"tool_use_id": "<string>",
"uri": "<string>",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z",
"width": 0
}
],
"assistantInteraction": {
"digest": "<string>",
"interactionId": "<string>",
"kind": "question",
"origin": "assistant",
"requestedAt": "2023-11-07T05:31:56Z",
"revision": 4503599627370496,
"status": "pending",
"title": "<string>",
"blueprint": {
"agents": [
{
"role": "<string>",
"model": "<string>",
"responsibilities": "<string>"
}
],
"capabilities": [
{
"capabilityId": "<string>",
"kind": "<string>",
"name": "<string>",
"status": "<string>",
"purpose": "<string>"
}
],
"trigger": {
"kind": "manual",
"detail": "<string>"
},
"checkpoints": [
"<string>"
],
"costClass": "low",
"environment": "<string>",
"evaluation": "<string>",
"gaps": [
"<string>"
],
"outputs": [
"<string>"
]
},
"decision": {
"decidedAt": "2023-11-07T05:31:56Z",
"decision": "answered",
"answers": [
{
"questionId": "<string>",
"optionIds": [
"<string>"
],
"text": "<string>"
}
],
"comments": [
{
"text": "<string>",
"field": "<string>",
"stepId": "<string>"
}
],
"decidedBy": "<string>",
"note": "<string>"
},
"plan": {
"steps": [
{
"action": "<string>",
"costClass": "none",
"enabled": true,
"input": {},
"stepId": "<string>",
"title": "<string>",
"dependsOn": [
"<string>"
],
"fields": [
{
"label": "<string>",
"name": "<string>",
"widget": "text",
"help": "<string>",
"options": [
{
"label": "<string>",
"optionId": "<string>",
"description": "<string>"
}
],
"required": true
}
],
"optional": true,
"warnings": [
"<string>"
]
}
],
"prerequisites": [
{
"kind": "connect_integration",
"label": "<string>",
"prerequisiteId": "<string>",
"satisfied": true,
"capabilityId": "<string>",
"detail": "<string>",
"link": "<string>"
}
]
},
"questions": [
{
"input": "single_select",
"prompt": "<string>",
"questionId": "<string>",
"allowOther": true,
"multiple": true,
"optional": true,
"options": [
{
"label": "<string>",
"optionId": "<string>",
"description": "<string>"
}
],
"picker": "agent"
}
],
"stepResults": [
{
"status": "running",
"stepId": "<string>",
"link": "<string>",
"message": "<string>",
"resourceId": "<string>",
"resourceKind": "<string>"
}
],
"summary": "<string>"
},
"metadata": {},
"plan": [
{
"content": "<string>",
"id": "<string>",
"status": "<string>"
}
],
"stop_reason": "<string>",
"tools": [
{
"description": "<string>",
"input_schema": {},
"name": "<string>"
}
],
"usage": {
"cache_read_tokens": 0,
"cache_write_tokens": 0,
"cost_usd": 123,
"input_tokens": 0,
"output_tokens": 0
}
},
"created_at": "2023-11-07T05:31:56Z",
"event_id": "<string>",
"event_type": "<string>",
"inference_config": {
"max_tokens": 0,
"provider_params": {},
"reasoning_effort": "<string>",
"temperature": 123,
"top_p": 123
},
"schema_version": 0,
"session_id": "<string>",
"agent_id": "<string>",
"cache_read_tokens": 0,
"cache_write_tokens": 0,
"causal_event_id": "<string>",
"content_hydration_status": "hydrated",
"content_payload_bytes": 0,
"content_payload_ref": "<string>",
"content_payload_sha256": "<string>",
"content_ref": "<string>",
"cost_micros": 0,
"environment_id": "<string>",
"event_status": "<string>",
"finish_reason": "<string>",
"input_tokens": 0,
"latency_ms": 0,
"model": {
"model": "<string>",
"provider": "<string>",
"base_url": "<string>",
"capabilities": {},
"context_window": 0,
"max_output_tokens": 0,
"metadata": {},
"model_ref_id": "<string>",
"model_version": "<string>",
"provider_id": "<string>",
"provider_type": "<string>",
"serving_backend": "<string>"
},
"model_ref_id": "<string>",
"organization_id": "<string>",
"output_tokens": 0,
"parent_event_id": "<string>",
"prompt_tokens": 0,
"provider_model_id": "<string>",
"provider_request_id": "<string>",
"provider_type": "<string>",
"role": "<string>",
"sandbox_instance_id": "<string>",
"thread_id": "<string>",
"tool_name": "<string>",
"tool_use_id": "<string>",
"turn_id": "<string>"
}
],
"root_session_id": "<string>",
"sessions": [
{
"computer_use": true,
"config": {},
"created_at": "2023-11-07T05:31:56Z",
"credential_refs": [
{
"credential_id": "<string>",
"vault_id": "<string>"
}
],
"credential_refs_configured": true,
"kind": "api_call",
"organization_id": "<string>",
"root_session_id": "<string>",
"session_id": "<string>",
"session_path": "<string>",
"status": "active",
"updated_at": "2023-11-07T05:31:56Z",
"access_policy": "platform_internal",
"active_handoff": {
"deadline_at": "2023-11-07T05:31:56Z",
"handoff_id": "<string>",
"reason": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"state": "awaiting_user",
"access_expires_at": "2023-11-07T05:31:56Z",
"wake_cause": "<string>"
},
"agent_id": "<string>",
"agent_snapshot": {},
"agent_version_id": "<string>",
"budget": {
"continuesOnRaise": true,
"maxCostUsd": "10.00",
"agentCapUsd": "25.00",
"spentUsd": "4.20"
},
"concurrency_slot_held": true,
"costState": "final",
"costUsd": "1.234567",
"effective_model": "<string>",
"environment_id": "<string>",
"execution_state": "provisioning",
"external_source_id": "<string>",
"external_source_type": "<string>",
"failure": {
"at": "2023-11-07T05:31:56Z",
"category": "transient",
"code": "<string>",
"message": "<string>",
"phase": "<string>",
"retryable": true
},
"forked_at_event_id": "<string>",
"last_activity_at": "2023-11-07T05:31:56Z",
"metadata": {},
"model_ref_id": "<string>",
"model_snapshot": {},
"parent_session_id": "<string>",
"project_id": "<string>",
"sandbox_instance_id": "<string>",
"sandbox_provider": "<string>",
"source_refs": {},
"stop_reason": "<string>",
"user_id": "<string>",
"vault_ids": [
"<string>"
],
"wake_at": "2023-11-07T05:31:56Z"
}
],
"threads": [
{
"agent_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"role": "<string>",
"root_session_id": "<string>",
"session_id": "<string>",
"session_path": "<string>",
"status": "<string>",
"thread_id": "<string>",
"thread_path": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"agent_version_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"parent_session_id": "<string>",
"parent_thread_id": "<string>",
"stop_reason": {}
}
],
"next_event_id": "<string>"
}{
"code": "invalid_request",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "unauthorized",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "forbidden",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "not_found",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "payload_too_large",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "rate_limit_exceeded",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "internal_error",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "bad_gateway",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "content_store_unavailable",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "gateway_timeout",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}Get root session tree and timeline
Returns every session in the root session’s tree, its threads, and the first bounded page of the merged chronological event log. When next_event_id is set, more events remain and should be fetched with managedAgentsListSessionEvents rather than by re-reading the tree. Any session id in the tree is accepted; the read resolves to its root.
curl --request GET \
--url https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree', 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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree",
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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree"
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.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recursion.labelbox.com/managed-agents/v1/sessions/{sessionId}/tree")
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{
"events": [
{
"actor": "<string>",
"content": {
"blocks": [
{
"type": "<string>",
"byte_size": 0,
"content": "<array>",
"context": "<string>",
"data": "<string>",
"encrypted_content": "<string>",
"height": 0,
"id": "<string>",
"input": {},
"is_error": true,
"media_type": "<string>",
"name": "<string>",
"omitted_bytes": 0,
"payload": true,
"provider": "<string>",
"provider_payload": true,
"redacted": true,
"semantic_hint": "<string>",
"sha256": "<string>",
"signature": "<string>",
"source": {
"file_id": "<string>",
"type": "file"
},
"summary": "<array>",
"text": "<string>",
"title": "<string>",
"tool_use_id": "<string>",
"uri": "<string>",
"url": "<string>",
"url_expires_at": "2023-11-07T05:31:56Z",
"width": 0
}
],
"assistantInteraction": {
"digest": "<string>",
"interactionId": "<string>",
"kind": "question",
"origin": "assistant",
"requestedAt": "2023-11-07T05:31:56Z",
"revision": 4503599627370496,
"status": "pending",
"title": "<string>",
"blueprint": {
"agents": [
{
"role": "<string>",
"model": "<string>",
"responsibilities": "<string>"
}
],
"capabilities": [
{
"capabilityId": "<string>",
"kind": "<string>",
"name": "<string>",
"status": "<string>",
"purpose": "<string>"
}
],
"trigger": {
"kind": "manual",
"detail": "<string>"
},
"checkpoints": [
"<string>"
],
"costClass": "low",
"environment": "<string>",
"evaluation": "<string>",
"gaps": [
"<string>"
],
"outputs": [
"<string>"
]
},
"decision": {
"decidedAt": "2023-11-07T05:31:56Z",
"decision": "answered",
"answers": [
{
"questionId": "<string>",
"optionIds": [
"<string>"
],
"text": "<string>"
}
],
"comments": [
{
"text": "<string>",
"field": "<string>",
"stepId": "<string>"
}
],
"decidedBy": "<string>",
"note": "<string>"
},
"plan": {
"steps": [
{
"action": "<string>",
"costClass": "none",
"enabled": true,
"input": {},
"stepId": "<string>",
"title": "<string>",
"dependsOn": [
"<string>"
],
"fields": [
{
"label": "<string>",
"name": "<string>",
"widget": "text",
"help": "<string>",
"options": [
{
"label": "<string>",
"optionId": "<string>",
"description": "<string>"
}
],
"required": true
}
],
"optional": true,
"warnings": [
"<string>"
]
}
],
"prerequisites": [
{
"kind": "connect_integration",
"label": "<string>",
"prerequisiteId": "<string>",
"satisfied": true,
"capabilityId": "<string>",
"detail": "<string>",
"link": "<string>"
}
]
},
"questions": [
{
"input": "single_select",
"prompt": "<string>",
"questionId": "<string>",
"allowOther": true,
"multiple": true,
"optional": true,
"options": [
{
"label": "<string>",
"optionId": "<string>",
"description": "<string>"
}
],
"picker": "agent"
}
],
"stepResults": [
{
"status": "running",
"stepId": "<string>",
"link": "<string>",
"message": "<string>",
"resourceId": "<string>",
"resourceKind": "<string>"
}
],
"summary": "<string>"
},
"metadata": {},
"plan": [
{
"content": "<string>",
"id": "<string>",
"status": "<string>"
}
],
"stop_reason": "<string>",
"tools": [
{
"description": "<string>",
"input_schema": {},
"name": "<string>"
}
],
"usage": {
"cache_read_tokens": 0,
"cache_write_tokens": 0,
"cost_usd": 123,
"input_tokens": 0,
"output_tokens": 0
}
},
"created_at": "2023-11-07T05:31:56Z",
"event_id": "<string>",
"event_type": "<string>",
"inference_config": {
"max_tokens": 0,
"provider_params": {},
"reasoning_effort": "<string>",
"temperature": 123,
"top_p": 123
},
"schema_version": 0,
"session_id": "<string>",
"agent_id": "<string>",
"cache_read_tokens": 0,
"cache_write_tokens": 0,
"causal_event_id": "<string>",
"content_hydration_status": "hydrated",
"content_payload_bytes": 0,
"content_payload_ref": "<string>",
"content_payload_sha256": "<string>",
"content_ref": "<string>",
"cost_micros": 0,
"environment_id": "<string>",
"event_status": "<string>",
"finish_reason": "<string>",
"input_tokens": 0,
"latency_ms": 0,
"model": {
"model": "<string>",
"provider": "<string>",
"base_url": "<string>",
"capabilities": {},
"context_window": 0,
"max_output_tokens": 0,
"metadata": {},
"model_ref_id": "<string>",
"model_version": "<string>",
"provider_id": "<string>",
"provider_type": "<string>",
"serving_backend": "<string>"
},
"model_ref_id": "<string>",
"organization_id": "<string>",
"output_tokens": 0,
"parent_event_id": "<string>",
"prompt_tokens": 0,
"provider_model_id": "<string>",
"provider_request_id": "<string>",
"provider_type": "<string>",
"role": "<string>",
"sandbox_instance_id": "<string>",
"thread_id": "<string>",
"tool_name": "<string>",
"tool_use_id": "<string>",
"turn_id": "<string>"
}
],
"root_session_id": "<string>",
"sessions": [
{
"computer_use": true,
"config": {},
"created_at": "2023-11-07T05:31:56Z",
"credential_refs": [
{
"credential_id": "<string>",
"vault_id": "<string>"
}
],
"credential_refs_configured": true,
"kind": "api_call",
"organization_id": "<string>",
"root_session_id": "<string>",
"session_id": "<string>",
"session_path": "<string>",
"status": "active",
"updated_at": "2023-11-07T05:31:56Z",
"access_policy": "platform_internal",
"active_handoff": {
"deadline_at": "2023-11-07T05:31:56Z",
"handoff_id": "<string>",
"reason": "<string>",
"requested_at": "2023-11-07T05:31:56Z",
"state": "awaiting_user",
"access_expires_at": "2023-11-07T05:31:56Z",
"wake_cause": "<string>"
},
"agent_id": "<string>",
"agent_snapshot": {},
"agent_version_id": "<string>",
"budget": {
"continuesOnRaise": true,
"maxCostUsd": "10.00",
"agentCapUsd": "25.00",
"spentUsd": "4.20"
},
"concurrency_slot_held": true,
"costState": "final",
"costUsd": "1.234567",
"effective_model": "<string>",
"environment_id": "<string>",
"execution_state": "provisioning",
"external_source_id": "<string>",
"external_source_type": "<string>",
"failure": {
"at": "2023-11-07T05:31:56Z",
"category": "transient",
"code": "<string>",
"message": "<string>",
"phase": "<string>",
"retryable": true
},
"forked_at_event_id": "<string>",
"last_activity_at": "2023-11-07T05:31:56Z",
"metadata": {},
"model_ref_id": "<string>",
"model_snapshot": {},
"parent_session_id": "<string>",
"project_id": "<string>",
"sandbox_instance_id": "<string>",
"sandbox_provider": "<string>",
"source_refs": {},
"stop_reason": "<string>",
"user_id": "<string>",
"vault_ids": [
"<string>"
],
"wake_at": "2023-11-07T05:31:56Z"
}
],
"threads": [
{
"agent_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"role": "<string>",
"root_session_id": "<string>",
"session_id": "<string>",
"session_path": "<string>",
"status": "<string>",
"thread_id": "<string>",
"thread_path": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"agent_version_id": "<string>",
"archived_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"parent_session_id": "<string>",
"parent_thread_id": "<string>",
"stop_reason": {}
}
],
"next_event_id": "<string>"
}{
"code": "invalid_request",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "unauthorized",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "forbidden",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "not_found",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "payload_too_large",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "rate_limit_exceeded",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "internal_error",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "bad_gateway",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "content_store_unavailable",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}{
"code": "gateway_timeout",
"message": "<string>",
"details": {
"field": "<string>",
"issues": [
"<string>"
],
"requestId": "<string>",
"retryable": true
}
}Authorizations
A Recursion API key, created in the console under API keys.
Headers
Optional tenant consistency check. When present, it must name the tenant bound to the API key, including when x-organization-id is default.
1Organization in which to act. Required for a tenant-scoped API key. Optional for an organization-scoped key, where it must name that same organization. The value may be an organization id or default.
1Path Parameters
Any session id (UUID) in the tree; the read resolves to its root session.
Query Parameters
Opt-in compatibility mode. images rehydrates private image refs under strict response caps; omitted by default.
images Set to signed to add a short-lived url (and url_expires_at) to stored image blocks within the per-read signing budget. Omitted when signing is unavailable or the budget is exhausted; the authenticated managedAgentsGetSessionImage endpoint always works.
signed External event payloads hydrate by default. Set refs to return bounded stubs and private reference metadata only.
refs Response
A whole multi-agent session tree: every session and thread in it, plus a bounded page of the merged chronological event log. Returned when reading the tree containing a given session.
A whole multi-agent session tree: every session and thread in it, plus a bounded page of the merged chronological event log. Returned when reading the tree containing a given session.
One page of the tree's events merged into a single chronological log across all sessions. Bounded by response size, so the page length is not a fixed count.
Show child attributes
Show child attributes
Root session of the multi-agent tree this result covers (UUID). Equal to session_id for a root session.
Every session in the tree, root and subagents alike. Always complete; only the event log is paged.
Show child attributes
Show child attributes
Thread registry rows for the tree's context-isolated execution streams. Imported RL children appear when their import supplied thread names; older imports without names use session-derived fallback rows.
Show child attributes
Show child attributes
Cursor to pass as the starting point of the next event page. Present only when more events remain; absent on the last page.