Get Response Details
curl --request GET \
--url https://api.geogen.io/v1/responses/details \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.geogen.io/v1/responses/details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.geogen.io/v1/responses/details', 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.geogen.io/v1/responses/details",
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.geogen.io/v1/responses/details"
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.geogen.io/v1/responses/details")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.geogen.io/v1/responses/details")
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{
"success": true,
"data": {
"response": {
"responseId": "2e24732f-a7b4-490b-918d-63ff5cf48683",
"responseText": "Here are the top project management tools...",
"responseLength": 1250,
"createdAt": "2024-01-15T10:30:00.000Z",
"modelId": "gpt-4-uuid",
"isMentioned": true,
"mentionPosition": 2,
"mentionSentiment": 0.8,
"totalOptionsInList": 5
},
"prompt": {
"promptId": "abc123",
"prompt": "What are the best project management tools?",
"language": "en",
"geolocation": "US"
},
"mentions": [
{
"entityUuid": "entity-uuid-1",
"entityName": "Asana",
"entityDomain": "asana.com",
"position": 1,
"sentiment": 0.9,
"isCurrentEntity": false
},
{
"entityUuid": "entity-uuid-2",
"entityName": "Monday.com",
"entityDomain": "monday.com",
"position": 2,
"sentiment": 0.8,
"isCurrentEntity": true
}
],
"citations": [
{
"url": "https://www.g2.com/categories/project-management",
"entityUuid": "g2-entity-uuid"
}
],
"queryFanouts": [
{
"query": "best project management software 2024",
"entityUuid": "entity-uuid-2",
"createdAt": "2024-01-15T10:29:55.000Z"
}
],
"summary": {
"mentionsCount": 2,
"citationsCount": 1,
"queryFanoutsCount": 1
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Analytics
Get Response Details
Get comprehensive details for a single LLM response, including all mentions, citations, and query fanouts associated with it.
GET
/
responses
/
details
Get Response Details
curl --request GET \
--url https://api.geogen.io/v1/responses/details \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.geogen.io/v1/responses/details"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.geogen.io/v1/responses/details', 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.geogen.io/v1/responses/details",
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.geogen.io/v1/responses/details"
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.geogen.io/v1/responses/details")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.geogen.io/v1/responses/details")
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{
"success": true,
"data": {
"response": {
"responseId": "2e24732f-a7b4-490b-918d-63ff5cf48683",
"responseText": "Here are the top project management tools...",
"responseLength": 1250,
"createdAt": "2024-01-15T10:30:00.000Z",
"modelId": "gpt-4-uuid",
"isMentioned": true,
"mentionPosition": 2,
"mentionSentiment": 0.8,
"totalOptionsInList": 5
},
"prompt": {
"promptId": "abc123",
"prompt": "What are the best project management tools?",
"language": "en",
"geolocation": "US"
},
"mentions": [
{
"entityUuid": "entity-uuid-1",
"entityName": "Asana",
"entityDomain": "asana.com",
"position": 1,
"sentiment": 0.9,
"isCurrentEntity": false
},
{
"entityUuid": "entity-uuid-2",
"entityName": "Monday.com",
"entityDomain": "monday.com",
"position": 2,
"sentiment": 0.8,
"isCurrentEntity": true
}
],
"citations": [
{
"url": "https://www.g2.com/categories/project-management",
"entityUuid": "g2-entity-uuid"
}
],
"queryFanouts": [
{
"query": "best project management software 2024",
"entityUuid": "entity-uuid-2",
"createdAt": "2024-01-15T10:29:55.000Z"
}
],
"summary": {
"mentionsCount": 2,
"citationsCount": 1,
"queryFanoutsCount": 1
}
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
API key authentication. Format: Bearer wsk_your_api_key
Query Parameters
Response UUID (from the /responses endpoint)
Entity ID to get mention context for
⌘I

