Get customer intelligence.
Changed onReturns AI-analyzed insights about your users, including common intents, emotional sentiment, frequently discussed topics, and emerging trends. Use this to understand what users are asking about and how they're feeling.
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The ID of the project to get customer intelligence for
Query parameters
Page number to return.
Number of items to return per page. Maximum is 100.
Start of the date range for the intelligence report. ISO 8601 datetime format (e.g., 2024-01-15T00:00:00Z). Data from this point onward is included in the response.
End of the date range for the intelligence report. ISO 8601 datetime format (e.g., 2024-03-31T23:59:59Z). Data up to this point is included in the response.
Filter results by Content Source (use repeated parameters, e.g. content_source[]=value)
[ "in-context" ]
Filter results by Verified Claims Score as range (format: min-max, e.g., 0-100)
Filter results by Stakeholder Status (use repeated parameters, e.g. stakeholder_status[]=value)
[ "APPROVED" ]
Filter results by User Emotion (use repeated parameters, e.g. user_emotion[]=value)
[ "positive" ]
Filter results by User Intent (use repeated parameters, e.g. user_intent[]=value)
[ "informational" ]
Filter results by Requested Human (use repeated parameters, e.g. human_request[]=value)
[ "true" ]
Filter results by Query Language (use repeated parameters, e.g. language[]=value)
[ "example" ]
Filter results by Query Sent By (use repeated parameters, e.g. user_id[]=value)
[ -2 ]
Filter results by CRM ID (use repeated parameters, e.g. external_id[]=value)
[ "example" ]
Filter results by User Location (use repeated parameters, e.g. country[]=value)
[ "example" ]
Filter results by Risk: Fidelity (use repeated parameters, e.g. risk_fidelity[]=value)
[ "unavailable" ]
Filter results by Risk: Jailbreak (use repeated parameters, e.g. risk_jailbreak[]=value)
[ "unavailable" ]
Filter results by Risk: Prompt Leakage (use repeated parameters, e.g. risk_prompt_leakage[]=value)
[ "unavailable" ]
Filter results by Risk: Profanity (use repeated parameters, e.g. risk_profanity[]=value)
[ "unavailable" ]
Filter results by Deployment (use repeated parameters, e.g. request_source[]=value)
[ "web" ]
Filter results by Lead Captured (use repeated parameters, e.g. leads[]=value)
[ 1 ]
Filter results by Agentic Actions (use repeated parameters, e.g. tools[]=value)
[ "example" ]
Response
Project analytics customer intelligence data
Example response
{
"status": "success",
"data": {
"current_page": 1,
"data": [
{
"prompt_id": 101,
"conversation_id": 42,
"project_id": 7,
"user_query": "What file formats does CustomGPT support?",
"ai_response": "CustomGPT supports PDF, DOCX, TXT, and more.",
"created_at": "2026-02-01T09:20:00.000000Z",
"content_source": "in-context",
"user_emotion": "neutral",
"user_intent": "informational",
"language": "en",
"human_request": "false",
"user_id": -2,
"user_location": "US",
"chatbot_deployment": "web",
"risk_fidelity": "Good",
"risk_jailbreak": "no_event",
"risk_prompt_leakage": "no_event",
"risk_profanity": "no_event",
"accuracy": "-",
"stakeholder_status": "UNKNOWN",
"browser": "Chrome 121"
}
],
"first_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"next_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"path": "https://app.customgpt.ai/api/v1/users?page=1",
"per_page": 10,
"prev_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
"to": 1,
"total": 1
}
}Changes
- breaking
the response property
///became nullable for the status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - info
api tag
Reports & Analyticsadded - info
api tag
Customer Intelligenceremoved - info
added the new optional
queryrequest parameteraccuracy - info
added the new optional
queryrequest parametercontent_source[] - info
added the new optional
queryrequest parametercountry[] - info
added the new optional
queryrequest parameterexternal_id[] - info
added the new optional
queryrequest parameterhuman_request[] - info
added the new optional
queryrequest parameterlanguage[] - info
added the new optional
queryrequest parameterleads[] - info
added the new optional
queryrequest parameterrequest_source[] - info
added the new optional
queryrequest parameterrisk_fidelity[] - info
added the new optional
queryrequest parameterrisk_jailbreak[] - info
added the new optional
queryrequest parameterrisk_profanity[] - info
added the new optional
queryrequest parameterrisk_prompt_leakage[] - info
added the new optional
queryrequest parameterstakeholder_status[] - info
added the new optional
queryrequest parametertools[] - info
added the new optional
queryrequest parameteruser_emotion[] - info
added the new optional
queryrequest parameteruser_id[] - info
added the new optional
queryrequest parameteruser_intent[] - info
added the non-success response with the status
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
endpoint added
- info