Listar agentes de IA
curl --request GET \
--url https://api.olie.ai/api/management/ai/agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/ai/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/ai/agents', 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.olie.ai/api/management/ai/agents",
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.olie.ai/api/management/ai/agents"
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.olie.ai/api/management/ai/agents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/ai/agents")
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{
"response": true,
"agents": [
{
"id": "019b6b1a-4c21-73d6-9f0e-5a1c8d3e7b04",
"name": "Triador de entrada",
"description": "Classifica e resume os cards que chegam no funil de atendimento.",
"default_provider": "openrouter",
"default_model": "openrouter/auto-cost-based",
"base_prompt": "Você é um assistente que lê o card recém-criado e escreve um resumo objetivo em até 3 linhas.",
"status": "active",
"tools": [
"get-project-details-tool",
"index-projects-tool",
"today-tool"
],
"structured_output": null,
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-08-14T13:02:11.000000Z",
"updated_at": "2026-09-02T18:45:03.000000Z",
"deleted_at": null,
"created_by": "019aeaa3-2370-731c-9008-be759795f449",
"executions_count": 128,
"executions_sum_cost": "0.412800000",
"step_assistants": [
{
"id": "019b6b1b-0a77-71f2-8c44-2f9d6ab15e30",
"name": "Resumo automático na triagem",
"funnel_step_id": 3808,
"ai_agent_id": "019b6b1a-4c21-73d6-9f0e-5a1c8d3e7b04",
"funnel_step": {
"id": 3808,
"name": "Triagem"
}
}
],
"creator": {
"id": "019aeaa3-2370-731c-9008-be759795f449",
"name": "Test User",
"avatar_url": null
}
},
{
"id": "019b6b2c-9de0-7188-b3a1-0c6f47ab2211",
"name": "Redator de propostas",
"description": "Gera o rascunho da proposta comercial a partir dos dados do card.",
"default_provider": "openrouter",
"default_model": "openrouter/auto",
"base_prompt": null,
"status": "active",
"tools": [],
"structured_output": null,
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-09-01T09:18:40.000000Z",
"updated_at": "2026-09-01T09:18:40.000000Z",
"deleted_at": null,
"created_by": "019aeaa3-2370-731c-9008-be759795f449",
"executions_count": 0,
"executions_sum_cost": null,
"step_assistants": [],
"creator": {
"id": "019aeaa3-2370-731c-9008-be759795f449",
"name": "Test User",
"avatar_url": null
}
}
]
}ai-agents
Listar agentes de IA
Lista os agentes de IA da empresa, cada um já acompanhado da contagem e do custo somado de suas execuções e das etapas de funil em que atua como assistente. A lista vem inteira, sem paginação; use search para filtrar pelo nome.
GET
/
api
/
management
/
ai
/
agents
Listar agentes de IA
curl --request GET \
--url https://api.olie.ai/api/management/ai/agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/ai/agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.olie.ai/api/management/ai/agents', 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.olie.ai/api/management/ai/agents",
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.olie.ai/api/management/ai/agents"
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.olie.ai/api/management/ai/agents")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/ai/agents")
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{
"response": true,
"agents": [
{
"id": "019b6b1a-4c21-73d6-9f0e-5a1c8d3e7b04",
"name": "Triador de entrada",
"description": "Classifica e resume os cards que chegam no funil de atendimento.",
"default_provider": "openrouter",
"default_model": "openrouter/auto-cost-based",
"base_prompt": "Você é um assistente que lê o card recém-criado e escreve um resumo objetivo em até 3 linhas.",
"status": "active",
"tools": [
"get-project-details-tool",
"index-projects-tool",
"today-tool"
],
"structured_output": null,
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-08-14T13:02:11.000000Z",
"updated_at": "2026-09-02T18:45:03.000000Z",
"deleted_at": null,
"created_by": "019aeaa3-2370-731c-9008-be759795f449",
"executions_count": 128,
"executions_sum_cost": "0.412800000",
"step_assistants": [
{
"id": "019b6b1b-0a77-71f2-8c44-2f9d6ab15e30",
"name": "Resumo automático na triagem",
"funnel_step_id": 3808,
"ai_agent_id": "019b6b1a-4c21-73d6-9f0e-5a1c8d3e7b04",
"funnel_step": {
"id": 3808,
"name": "Triagem"
}
}
],
"creator": {
"id": "019aeaa3-2370-731c-9008-be759795f449",
"name": "Test User",
"avatar_url": null
}
},
{
"id": "019b6b2c-9de0-7188-b3a1-0c6f47ab2211",
"name": "Redator de propostas",
"description": "Gera o rascunho da proposta comercial a partir dos dados do card.",
"default_provider": "openrouter",
"default_model": "openrouter/auto",
"base_prompt": null,
"status": "active",
"tools": [],
"structured_output": null,
"frame_id": "019aeaa3-2778-73ec-8f8d-59d06cc59dca",
"created_at": "2026-09-01T09:18:40.000000Z",
"updated_at": "2026-09-01T09:18:40.000000Z",
"deleted_at": null,
"created_by": "019aeaa3-2370-731c-9008-be759795f449",
"executions_count": 0,
"executions_sum_cost": null,
"step_assistants": [],
"creator": {
"id": "019aeaa3-2370-731c-9008-be759795f449",
"name": "Test User",
"avatar_url": null
}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Filtra os agentes cujo nome contenha o termo informado.
Was this page helpful?