Completions Download API for GenSearch Responses
Completions report overview
The Completions Report API endpoint gives you data about the queries and responses site visitors are generating using Expert LLM tools on your site. This information shows:
- How users ask questions
- The responses generative AI returned for those questions
- The pages the responses were pulled from to answer the query.
Each row in the report represents a Completions event.
API endpoint: GET {site-url}/@api/deki/llm/completion/report?month=YYYY-MM
Admins can call the report from the browser by modifying their URL as follows: {site-url}/@api/deki/llm/completion/report?month=YYYY-MM
.
Report data
This report contains the following data:
The report is updated daily at 12:00 AM PST, and contains data from the time the report has been enabled onward. Data is available one day after the query was submitted.
Field Name | Description | Type | Example |
---|---|---|---|
PATH_ANCESTORS (For report dates after December 2024) |
The values of any path ancestors that were used | STRING |
Manage Admin/Release_Notes |
QUERY_DATE | The date and time the query was asked |
UTC timezone Format: MM/DD/YYYY HH:MM |
6/12/2024 18:54 |
QUERY | The question the user asked GenAI | STRING | how do i get a server token |
RATING (For report dates after December 2024) |
Whether the response was rated "helpful" or "unhelpful" | STRING |
|
RESPONSE | The response provided to answer the user's query | STRING |
" Here are the steps to get a server token: |
SOURCE_IDS |
The page IDs of the Kernels that answered the query Report dates after December 2024 will show page URLs instead of page IDs. |
STRING |
To view the page, take the page ID and add For report dates after December 2024: |
TAGS (For report dates after December 2024) |
The value of any tags that have been applied as a filter. | STRING | customer |
TOTAL_SOURCES (For report dates after December 2024) |
The number of source IDs returned | NUMBER | 10 |
USER_ID | The user who performed the query | NUMBER | 840 |