List Children Circuits
curl --request GET \
--url 'https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY='import requests
url = "https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=', 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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY="
req, _ := http.NewRequest("GET", url, nil)
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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
List Children Circuits
List derived transpiled and compressed child circuits for a parent ID.
Use this tool when the caller already has a parent circuit_id and
needs the lineage of derived transpiled or compressed circuits. The
returned IDs can be passed into execution, compression, or circuit-job MCP
tools.
When to Use:
- Call this after transpilation or compression has already run and the caller needs the derived circuit IDs.
- Call this before analytics, execution, or job-history inspection when the most recent work may have produced child circuits.
Constraints:
- The endpoint only reports children already referenced by
transpiled_circuit_idsandcompressed_circuit_ids. - An empty list is a valid result when no child circuits exist.
Notes:
- Each returned child descriptor includes a brief MCP-oriented description rather than a full circuit model.
- Returned IDs can be passed into execution, compression, or circuit-job MCP tools unchanged.
Args: circuit_id: Parent circuit identifier from a prior MCP response. user: Authenticated user resolved from the API key. db: Active database session.
Returns:
A list of child descriptors containing id, name, and a brief
MCP-oriented description.
Raises:
HTTPException: Raised with 404 when the parent circuit or its
experiment is not available to the caller.
GET
/
ai
/
circuit
/
{circuit_id}
/
children
List Children Circuits
curl --request GET \
--url 'https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY='import requests
url = "https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=', 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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY="
req, _ := http.NewRequest("GET", url, nil)
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.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/ai/circuit/{circuit_id}/children?HAIQU_API_KEY=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}