LLM Insights API
Ingest and analyze AI-driven insights directly. By integrating with this API, you can capture LLM responses, user interactions, and metadata to monitor your application in real-time
Last updated
Was this helpful?
Ingest and analyze AI-driven insights directly. By integrating with this API, you can capture LLM responses, user interactions, and metadata to monitor your application in real-time
Last updated
Was this helpful?
The OpenAPI integration provides a direct way to ingest and manage insight data, enabling seamless integration for developers looking to analyze interactions and capture insights directly. This API supports the ingestion of OpenAI ChatCompletion responses and other metadata, empowering you with real-time analytics and insights.
Visit the platform and register for an account.
After registration, create an organization in the dashboard.
Navigate to the Insights API page in your account.
Generate an API key. This API key will be used to authenticate your requests.
Note: The same API key can be used for both Client Insights and Voice Insights. The only difference is the ingestion endpoint.
All API requests should be made to the following base URL:
The AInsight API requires Bearer Token Authentication for secure access. Include your API key in the Authorization
header:
Real-Time Insights: Capture and analyze AI interactions in real-time.
Auditing and Compliance: Log requests and responses for compliance needs.
Analytics and Trends: Identify patterns and optimize your AI workflows using the ingested data.
Ensure proper error handling in your integration:
401 Unauthorized
: Verify your API key is correct and has access.
404 Not Found
: Check if the endpoint URL is correct.
422 Unprocessable Entity
: Validate the request body for missing or invalid fields.
500 Internal Server Error
: Retry or contact support if the issue persists.
Get into advanced analytics with Requesty’s Insight Explorer.
Send chat messages, responses, and meta data to Requesty.
OpenAI ChatCompletion response
The actual messages passed to the OpenAI client
Optional prompt template pre-formatting
Optional input variables for the template
Optional model arguments for tracking
Optional user identifier
Optional metadata for tracking
Success
true