curl --request GET \
--url https://api.olie.ai/api/management/steps/{step}/assistants \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/steps/{step}/assistants"
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/steps/{step}/assistants', 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/steps/{step}/assistants",
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/steps/{step}/assistants"
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/steps/{step}/assistants")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/steps/{step}/assistants")
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{
"current_page": 1,
"data": [
{
"id": "9f1c4b02-6f3a-4b8e-9d21-7c5e0a41b8d3",
"name": "Resumo do atendimento",
"active": true,
"funnel_step_id": 312,
"ai_agent_id": "2b7d94f6-0c31-4a85-b6e2-58f1c0d93a47",
"prompt": "Resuma em até cinco linhas o histórico de conversas do projeto e destaque o que ficou pendente.",
"execute_on": "moved",
"manual_execution_enabled": true,
"result_as_media": true,
"result_as_dynamic_form": null,
"failure_funnel_step_id": 318,
"created_at": "2026-07-28T14:12:03.000000Z",
"updated_at": "2026-08-11T09:41:57.000000Z",
"deleted_at": null,
"funnel_step": {
"id": 312,
"name": "Triagem"
},
"ai_agent": {
"id": "2b7d94f6-0c31-4a85-b6e2-58f1c0d93a47",
"name": "Analista de atendimento"
}
},
{
"id": "c4e2a7d1-58b6-4f09-a3c7-1e9d24b7f065",
"name": "Classificar urgência",
"active": false,
"funnel_step_id": 312,
"ai_agent_id": "7a3f16c8-9e42-4d70-8b15-c2064ef3d891",
"prompt": "Leia a descrição do projeto e responda apenas com uma das opções: baixa, média ou alta.",
"execute_on": "manual",
"manual_execution_enabled": false,
"result_as_media": false,
"result_as_dynamic_form": {
"pivot_class": "App\\Models\\Project",
"form_id": 118,
"edge_id": 2231,
"id": "{{project.id}}"
},
"failure_funnel_step_id": null,
"created_at": "2026-08-02T10:03:44.000000Z",
"updated_at": "2026-08-02T10:03:44.000000Z",
"deleted_at": null,
"funnel_step": {
"id": 312,
"name": "Triagem"
},
"ai_agent": {
"id": "7a3f16c8-9e42-4d70-8b15-c2064ef3d891",
"name": "Classificador"
}
}
],
"first_page_url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Próximo »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "https://api.olie.ai/api/management/steps/312/assistants",
"per_page": 30,
"prev_page_url": null,
"to": 2,
"total": 2
}Listar assistentes da etapa
Lista os assistentes de uma etapa específica, do mesmo formato da listagem geral e já restrita à etapa informada.
Aceita filtros e paginação por query params, consulte:
Os campos de paginação (current_page, per_page, total, …) vêm na raiz da resposta, ao lado de data, e não dentro de meta como no restante da API.
curl --request GET \
--url https://api.olie.ai/api/management/steps/{step}/assistants \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.olie.ai/api/management/steps/{step}/assistants"
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/steps/{step}/assistants', 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/steps/{step}/assistants",
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/steps/{step}/assistants"
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/steps/{step}/assistants")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.olie.ai/api/management/steps/{step}/assistants")
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{
"current_page": 1,
"data": [
{
"id": "9f1c4b02-6f3a-4b8e-9d21-7c5e0a41b8d3",
"name": "Resumo do atendimento",
"active": true,
"funnel_step_id": 312,
"ai_agent_id": "2b7d94f6-0c31-4a85-b6e2-58f1c0d93a47",
"prompt": "Resuma em até cinco linhas o histórico de conversas do projeto e destaque o que ficou pendente.",
"execute_on": "moved",
"manual_execution_enabled": true,
"result_as_media": true,
"result_as_dynamic_form": null,
"failure_funnel_step_id": 318,
"created_at": "2026-07-28T14:12:03.000000Z",
"updated_at": "2026-08-11T09:41:57.000000Z",
"deleted_at": null,
"funnel_step": {
"id": 312,
"name": "Triagem"
},
"ai_agent": {
"id": "2b7d94f6-0c31-4a85-b6e2-58f1c0d93a47",
"name": "Analista de atendimento"
}
},
{
"id": "c4e2a7d1-58b6-4f09-a3c7-1e9d24b7f065",
"name": "Classificar urgência",
"active": false,
"funnel_step_id": 312,
"ai_agent_id": "7a3f16c8-9e42-4d70-8b15-c2064ef3d891",
"prompt": "Leia a descrição do projeto e responda apenas com uma das opções: baixa, média ou alta.",
"execute_on": "manual",
"manual_execution_enabled": false,
"result_as_media": false,
"result_as_dynamic_form": {
"pivot_class": "App\\Models\\Project",
"form_id": 118,
"edge_id": 2231,
"id": "{{project.id}}"
},
"failure_funnel_step_id": null,
"created_at": "2026-08-02T10:03:44.000000Z",
"updated_at": "2026-08-02T10:03:44.000000Z",
"deleted_at": null,
"funnel_step": {
"id": 312,
"name": "Triagem"
},
"ai_agent": {
"id": "7a3f16c8-9e42-4d70-8b15-c2064ef3d891",
"name": "Classificador"
}
}
],
"first_page_url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"links": [
{
"url": null,
"label": "« Anterior",
"page": null,
"active": false
},
{
"url": "https://api.olie.ai/api/management/steps/312/assistants?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Próximo »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "https://api.olie.ai/api/management/steps/312/assistants",
"per_page": 30,
"prev_page_url": null,
"to": 2,
"total": 2
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID da etapa do funil.
Query Parameters
Página desejada. Padrão 1.
Itens por página. Padrão 30, máximo 100.
Trecho do nome do assistente.
1 retorna apenas os ativos, 0 apenas os inativos.
ID da etapa do funil. Redundante aqui, já que a etapa vem da URL.
ID (UUID) do agente de IA que executa o assistente.
Response
Sucesso
Resposta paginada. Diferente do restante da API, os campos de paginação vêm na raiz, e não dentro de meta.
Página retornada.
Assistentes encontrados na página atual.
Show child attributes
Show child attributes
Itens por página.
Total de itens encontrados.
Endereço da primeira página.
Posição do primeiro item da página no total.
Número da última página.
Endereço da última página.
Links de navegação prontos para uma barra de paginação.
Show child attributes
Show child attributes
Endereço da próxima página, ou null na última.
Endereço base usado para montar os links.
Endereço da página anterior, ou null na primeira.
Posição do último item da página no total.
Was this page helpful?