Obter conversa
curl --request GET \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}', 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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}",
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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}"
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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}")
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{
"id": "<string>",
"title": "<string>",
"createdAt": "2026-02-08T00:20:48.502Z",
"status": "active",
"summary": null,
"messages": []
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Conversations
Obter conversa
Recupera as mensagens de uma conversa.
GET
/
conversations
/
{id}
Obter conversa
curl --request GET \
--url https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}', 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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}",
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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}"
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.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meuassistente.rdstationmentoria.com.br/rest/conversations/{id}")
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{
"id": "<string>",
"title": "<string>",
"createdAt": "2026-02-08T00:20:48.502Z",
"status": "active",
"summary": null,
"messages": []
}{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Autorizações
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Parâmetros de caminho
Identificador da conversa
Resposta
Successful response
Identificador da conversa
Título
Data de criação
Status
Opções disponíveis:
active, finished Resumo da conversa
Histórico completo de mensagens trocadas nesta conversa, ordenadas cronologicamente.
Cada mensagem possui:
id: identificador único da mensagemconversationId: identificador da conversa à qual a mensagem pertencerole: quem falou (system, assistant, user, tool)name: nome associado à mensagem, se aplicávelcontent: conteúdo textual da mensagemtoolCallId: identificador da chamada de ferramenta associada, se houvertoolCalls: lista de chamadas de ferramentas associadas, se houvermetadata: metadados adicionais em formato livrefeedback: indica se há feedback (booleano ou null)usage: informações de uso, como tokens (se disponíveis)createdAteupdatedAt: datas de criação e atualização da mensagem
Exemplo de retorno
[
{
"id": "msg_abc123",
"conversationId": "convo_001",
"role": "user",
"name": "João",
"content": "Olá, tudo bem?",
"createdAt": "2025-07-08T14:30:00.000Z",
"updatedAt": "2025-07-08T14:30:00.000Z"
},
{
"id": "msg_def456",
"conversationId": "convo_001",
"role": "assistant",
"name": null,
"content": "Olá! Como posso te ajudar?",
"feedback": true,
"usage": {
"inputTokens": 6,
"outputTokens": 9,
"totalTokens": 15
},
"createdAt": "2025-07-08T14:30:02.000Z",
"updatedAt": "2025-07-08T14:30:02.000Z"
}
]
Show child attributes
Show child attributes

