Get a custom team subagent
curl --request GET \
--url https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}', 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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}",
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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}"
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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}")
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{
"data": {
"id": "<unknown>",
"name": "Release helper",
"description": "Prepares and verifies releases.",
"instructions": "Check the changelog, run release checks, and report blockers.",
"model": "high"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}Subagents
Get a custom team subagent
Built-in and root agent IDs return 404.
GET
/
teams
/
{teamSlug}
/
subagents
/
{subagentId}
Get a custom team subagent
curl --request GET \
--url https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}', 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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}",
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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}"
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://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.felan.ai/api/v1/teams/{teamSlug}/subagents/{subagentId}")
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{
"data": {
"id": "<unknown>",
"name": "Release helper",
"description": "Prepares and verifies releases.",
"instructions": "Check the changelog, run release checks, and report blockers.",
"model": "high"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "<string>"
}
}Authorizations
Team API key. Current keys retain the bzy_team_ compatibility prefix.
Path Parameters
Felan team slug shown in dashboard URLs and Team Settings
Minimum string length:
1Customer-defined custom subagent ID. Built-in and root agent IDs are not accepted.
Pattern:
^custom-[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$Response
Custom subagent definition
Show child attributes
Show child attributes
