Export chat analytics data as CSV
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://studyfetchapi.com/api/v1/chat-analytics/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://studyfetchapi.com/api/v1/chat-analytics/export \
--header 'x-api-key: <api-key>'import requests
url = "https://studyfetchapi.com/api/v1/chat-analytics/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Chat Analytics
Export chat analytics data as CSV
GET
/
api
/
v1
/
chat-analytics
/
export
Export chat analytics data as CSV
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://studyfetchapi.com/api/v1/chat-analytics/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://studyfetchapi.com/api/v1/chat-analytics/export \
--header 'x-api-key: <api-key>'import requests
url = "https://studyfetchapi.com/api/v1/chat-analytics/export"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Authorizations
API Key for server-to-server authentication. Resolves to the owning organization.
Query Parameters
Component ID to analyze
Organization ID to filter by
User ID to filter by
Group IDs to filter by
Start date for analysis
End date for analysis
AI model to use for analysis
Example:
"gpt-4o-mini"
Response
200 - text/csv
CSV export of chat analytics
The response is of type file.
Was this page helpful?