> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebuly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get interaction details V2

Retrieve the detailed information about a single interaction using the v2 schema. This version includes expanded metadata such as sentiment, emotions, latency, PII info, and feedback details. You can list interactions using the [Get interactions](/embedded-pages/interactions/get-interactions) endpoint.
For authentication you need the to use the API key associated to the project you want to retrieve the interactions from.

<ParamField query="interaction_id" type="UUID" required>
  ID of the interaction you want to retrieve.
</ParamField>

# Response

<ResponseField name="id" type="string">
  Unique identifier of the interaction.
</ResponseField>

<ResponseField name="project_id" type="string">
  The project identifier to which the interaction belongs.
</ResponseField>

<ResponseField name="sentiment" type="string">
  Sentiment classification of the interaction, if available (e.g., positive, neutral, negative).
</ResponseField>

<ResponseField name="emotions" type="string[]">
  List of detected emotions from the user input.
</ResponseField>

<ResponseField name="cost" type="number">
  The cost incurred for the interaction
</ResponseField>

<ResponseField name="topic" type="string">
  Automatically or manually assigned topic of the interaction.
</ResponseField>

<ResponseField name="intent" type="string">
  The detected intent associated with the interaction.
</ResponseField>

<ResponseField name="input" type="string">
  The user input as received by the system.
</ResponseField>

<ResponseField name="output" type="string">
  The LLM-generated output corresponding to the input.
</ResponseField>

<ResponseField name="latency" type="number">
  Time taken to generate the response.
</ResponseField>

<ResponseField name="pii_removed" type="boolean">
  Flag indicating whether PII (Personally Identifiable Information) was removed from the input.
</ResponseField>

<ResponseField name="text_language" type="string">
  Language detected in the user input.
</ResponseField>

<ResponseField name="timestamp" type="string">
  The timestamp when the interaction began (user input was received).
</ResponseField>

<ResponseField name="end_timestamp" type="string">
  The timestamp when the assistant's response was generated.
</ResponseField>

<ResponseField name="user" type="string">
  User identifier associated with the interaction.
</ResponseField>

<ResponseField name="verbosity" type="string">
  Number of characters in the output.
</ResponseField>

<ResponseField name="actions" type="string[]">
  List of action labels inferred or triggered from the interaction
</ResponseField>

<ResponseField name="action_details" type="string">
  Additional context or metadata about the actions taken.
</ResponseField>

<ResponseField name="feedback_actions" type="string[]">
  Actions taken or suggested via user feedback (e.g., "thumbs\_up", "thumbs\_down").
</ResponseField>

<ResponseField name="feedback_action_text" type="string">
  Text content accompanying feedback actions, if any.
</ResponseField>

<ResponseField name="feedback_action_rating" type="number">
  Numerical rating provided as feedback (e.g., 1–5).
</ResponseField>

<ResponseField name="user_query" type="string">
  A normalized or cleaned-up version of the original user query, if processed.
</ResponseField>

<ResponseField name="tags" type="object">
  Key-value pairs showing custom tags associated with the interaction.
</ResponseField>

<ResponseField name="feedback_type" type="string">
  Type of feedback provided (e.g., "negative\_implicit", "positive\_implicit").
</ResponseField>

<ResponseField name="risky_behavior" type="string">
  A flag or description for any risky or concerning user behavior detected.
</ResponseField>

<ResponseField name="rags" type="string[]">
  Identifiers or summaries of RAG sources used, if provided.
</ResponseField>

<ResponseField name="rags_details" type="object">
  Detailed metadata about each RAG item (e.g., source, query, result).
</ResponseField>

<ResponseField name="warning_message" type="string">
  Description of any warnings or issues detected with the LLM response.
</ResponseField>

<ResponseField name="conversation_id" type="string">
  The conversation id. It uniquely identifies the conversation the interaction belongs to.
  This information can be sent via API in order to group interactions, otherwise it will be generated automatically by Nebuly.
</ResponseField>

<ResponseField name="conversation" type="object[]">
  List of conversation turns surrounding the interaction.

  <Expandable title="properties">
    <ResponseField name="input" type="string">
      Input of the respective conversation item.
    </ResponseField>

    <ResponseField name="output" type="string">
      Output of the respective conversation item.
    </ResponseField>

    <ResponseField name="timestamp" type="string">
      Timestamp when that specific turn was processed.
    </ResponseField>

    <ResponseField name="is_chosen" type="boolean">
      True if this is the current interaction (the one fetched by this request).
    </ResponseField>
  </Expandable>
</ResponseField>
