Get Conversation Details returns an array
Get Conversation Details now always returns a JSON array with one element per end user who used the given conversation id. Each element includesend_user alongside session metadata and the conversation turn list.If your integration assumed a single JSON object, iterate the array (or read [0] when you only expect one user).Conversation aggregates grouped by conversation_id
When grouping interaction aggregates by conversation_id without collapse_conversation_id, each end user with that id is a separate row. Rows include an end_user field. Pass the same conversation_id and end_user to the platform conversation detail and interaction endpoints to load that user’s thread.Empty interactions are now rejected
The interaction ingestion endpoints now require every interaction to contain at least one ofinput or output. If both are present and empty, the request is rejected with HTTP status 422 Unprocessable Entity and nothing is stored. The validation error has message Value error, Interaction must have at least input or output, at location ["body", "interaction"] for single-interaction endpoints and ["body", "conversation", "interactions", N] for conversation endpoints, where N is the index of the offending interaction. If input or output is missing entirely, the standard Field required validation error is returned for that field.This applies to the Interaction API (/events/trace_interaction), the v1, v2 and v3 conversation ingestion endpoints, and the v2 and v3 /events/interactions endpoints.Validation errors on these endpoints now return a trimmed body: each entry in detail contains only type, loc and msg. See Validation errors.Breaking change: stricter message validation on /events/interactions
On the v2 and v3 /events/interactions endpoints, an interaction whose messages have no user message after the last assistant message is now rejected with HTTP status 422 and the message Value error, No user input found in messages at location ["body", "interaction", "messages"].Previously this case returned HTTP status 400 with No input in messages.Conversation turns on interaction and conversation endpoints
Get Interaction Details (v1 and v2) and Get Conversation Details return the turns of the conversation again in aconversation list.- On Get Interaction Details, each turn has
input,output,timestampandis_chosen(true for the requested interaction). On V2, each turn also includesidandend_timestamp. - On Get Conversation Details, each turn has
id,input,output,timestamp,end_timestamp,user_query,sentimentandtype_of_risk.
More fields on the interaction detail
Get Interaction Details V2 now returns additional fields:- ROI:
roi_hours_savedandroi_value_saved. - AI Proficiency:
aifi_proficiency_score. - User segments:
team,marketandtenure. - Model information:
llm_providerandllm_model. - Taxonomy and classification:
subtopic,user_actionandfailure_intelligence. - Custom data:
custom_columnsandcustom_aggregates. - Conversation context:
prev_model_issue,next_interaction_input,next_interaction_timestampandignore_model_issue.
Breaking change: failure_intelligence on Get Interactions
On Get Interactions, the model_suggestion field is now returned as failure_intelligence, and an empty value is returned as null.AI Proficiency and ROI on the interaction list
Get Interactions now returns, for each interaction,aifi_proficiency_score, roi_hours_saved and roi_value_saved, together with team, market, tenure, llm_provider, llm_model and risky_behavior.AI Proficiency on the interaction aggregates
Get Interaction Aggregates, Get Interaction Aggregates V2 and Get Interaction Multi Aggregates now return the AI Proficiency score for each group:aifi_proficiency_score and aifi_proficiency_score_prev, the six per-dimension component scores, and the aifi_proficiency_moved_up, aifi_proficiency_slipped_back and aifi_proficiency_stayed counts.In addition, the ROI fields (roi_hours_saved, roi_hours_saved_per_user, roi_hours_saved_per_interaction, roi_successful_interactions, roi_success_rate, roi_value_saved, roi_value_saved_per_interaction and roi_fte, each with its _prev variant) are now populated on Get Interaction Aggregates and Get Interaction Aggregates V2. Get Interaction Multi Aggregates, which already returned them, now also returns roi_fte and roi_fte_prev.Custom cost for LLM traces
TheLLMTrace object in the Interaction API now
supports an optional cost field, expressed as a non-negative integer number
of micro-dollars (1 USD = 1,000,000 micro-dollars). When provided, this value
overrides the cost that would otherwise be computed automatically from the
model, input_tokens and output_tokens. Use it to report the exact cost of
a call, for example for models or providers whose pricing Nebuly does not
compute automatically, or to account for custom or negotiated pricing.Rename to Eligible Users
The Eligible Users APIs have been renamed to Eligible Users. Please update your integration accordingly. The following endpoints are affected:The old endpoints are still available, but considered as deprecated and will be removed in the future.Rename to User Feedback
The Send Feedback Actions endpoint has been renamed to Send User Feedback. Additionally, thefeedback_actions field in the Interaction API has been renamed to user_feedback.To avoid breaking changes for the Interaction API we have increased the version of the endpoint to v3. The v2 endpoint is still available but it is deprecated and will be removed in the future,
please update your integration accordingly.