Skip to main content
POST
Query Responses

Authorizations

x-api-key
string
header
required

API key for authentication. You can create one here.

Body

application/json

Request body for querying responses

website_id
string<uuid>
required

The ID of the website to query responses for

Example:

"123e4567-e89b-12d3-a456-426614174000"

filters
object
required

Additional filters supported only by the responses endpoint.

page_num
integer
default:0

Page number for pagination (0-indexed)

Required range: x >= 0
Example:

0

page_size
integer
default:40

Number of responses per page

Required range: 1 <= x <= 100
Example:

40

include_response
boolean
default:true

Include the full answer text on each row. Set to false to omit the response field entirely (the heaviest part of a row) when you only need which prompt and variation ran and how it scored.

Example:

false

compact_sources
boolean
default:false

Replace the per-source sources objects with source_domains, a deduped and alphabetically sorted list of cited root domains. Use when you need which domains were cited but not their exact URLs.

Example:

false

Response

Successful response with list of responses

responses
object[]
required