Query conversation logs
curl --request GET \
--url 'https://api.vida.dev/api/v2/logs?token='import requests
url = "https://api.vida.dev/api/v2/logs?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vida.dev/api/v2/logs?token=', 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.vida.dev/api/v2/logs?token=",
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.vida.dev/api/v2/logs?token="
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.vida.dev/api/v2/logs?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vida.dev/api/v2/logs?token=")
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{
"success": true,
"message": "Success",
"logs": [
{
"id": "log_001",
"timestamp": "2025-09-30T12:34:56.789Z",
"account_id": "acct_123",
"org_id": "org_456",
"eventType": "message.created",
"metadata": {
"convoId": "c_abc",
"tokens": 1234
},
"outcomes": [
{
"type": "task_goal",
"status": "evaluated",
"value": true,
"source": "task_goal_evaluator",
"schemaVersion": 1
}
]
}
],
"count": 20,
"totalCount": 5231,
"pagination": {
"page": 1,
"pageSize": 20,
"totalPages": 262,
"totalCount": 5231,
"hasMore": true,
"pageCount": 262
},
"schema": [
"id",
"timestamp",
"account_id",
"org_id",
"eventType",
"metadata"
]
}{
"success": false,
"message": "Unauthorized Request"
}{
"success": false,
"message": "No logs found for CSV export"
}{
"success": false,
"message": "An error occurred while fetching conversation logs.",
"error": "Detailed error message"
}{
"success": false,
"message": "Conversation logs service not available"
}Conversation Logs
Query conversation logs
Returns authorized conversation logs for a time range. Select returned fields, export CSV, or filter any log field with query names such as duration__gte, eventType__in, or metadata.status__icontains. Supported suffixes are eq, ne, gt, gte, lt, lte, in, nin, contains, icontains, startswith, istartswith, endswith, iendswith, regex, iregex, isnull, isset, empty, notempty, and present. Without a suffix, a field uses exact matching.
GET
/
api
/
v2
/
logs
Query conversation logs
curl --request GET \
--url 'https://api.vida.dev/api/v2/logs?token='import requests
url = "https://api.vida.dev/api/v2/logs?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.vida.dev/api/v2/logs?token=', 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.vida.dev/api/v2/logs?token=",
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.vida.dev/api/v2/logs?token="
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.vida.dev/api/v2/logs?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vida.dev/api/v2/logs?token=")
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{
"success": true,
"message": "Success",
"logs": [
{
"id": "log_001",
"timestamp": "2025-09-30T12:34:56.789Z",
"account_id": "acct_123",
"org_id": "org_456",
"eventType": "message.created",
"metadata": {
"convoId": "c_abc",
"tokens": 1234
},
"outcomes": [
{
"type": "task_goal",
"status": "evaluated",
"value": true,
"source": "task_goal_evaluator",
"schemaVersion": 1
}
]
}
],
"count": 20,
"totalCount": 5231,
"pagination": {
"page": 1,
"pageSize": 20,
"totalPages": 262,
"totalCount": 5231,
"hasMore": true,
"pageCount": 262
},
"schema": [
"id",
"timestamp",
"account_id",
"org_id",
"eventType",
"metadata"
]
}{
"success": false,
"message": "Unauthorized Request"
}{
"success": false,
"message": "No logs found for CSV export"
}{
"success": false,
"message": "An error occurred while fetching conversation logs.",
"error": "Detailed error message"
}{
"success": false,
"message": "Conversation logs service not available"
}Query Parameters
Response
Successful JSON response. When format=csv, a CSV file is streamed with status 200.