Skip to main content
GET
/
query-fanouts
Get Query Fanouts
curl --request GET \
  --url https://api.geogen.io/v1/query-fanouts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "query": "best project management tools 2024",
      "frequency": 15,
      "uniqueResponses": 12,
      "latestDate": "2024-01-15T10:30:00.000Z",
      "modelIds": [
        "uuid-1",
        "uuid-2"
      ]
    },
    {
      "query": "top productivity software reviews",
      "frequency": 8,
      "uniqueResponses": 6,
      "latestDate": "2024-01-14T15:45:00.000Z",
      "modelIds": [
        "uuid-1"
      ]
    }
  ],
  "totalCount": 150,
  "totalQueries": 450,
  "pagination": {
    "totalCount": 150,
    "totalPages": 8,
    "currentPage": 1,
    "limit": 20,
    "offset": 0,
    "hasNextPage": true,
    "hasPreviousPage": false
  },
  "period": "30d"
}

Authorizations

Authorization
string
header
required

API key authentication. Format: Bearer wsk_your_api_key

Query Parameters

entityId
string
required

Entity ID

period
enum<string>

Time period (default: 30d)

Available options:
7d,
14d,
30d
startDate
string

Start date (ISO format, for custom range)

endDate
string

End date (ISO format, for custom range)

models
string

Comma-separated model UUIDs to filter by

tags
string

Comma-separated tag IDs to filter by

limit
number
default:20

Results per page (1-100, default: 20)

Required range: 1 <= x <= 100
offset
number
default:0

Pagination offset

Search filter for query text

Response

Successful response

success
boolean
data
object[]
totalCount
number

Total number of unique queries

totalQueries
number

Total number of query occurrences

pagination
object
period
string

The time period used for the query