AIAgents

Add a new feedback to exist session for a specific conversation and AI agent

post/aiagents/AddFeedback

Request

Request body

SessionIdstring required

SessionId of the existing feedback session to which the feedback will be added.

Ratinginteger

Rating provided by the user for the assistant's response, typically on a scale (e.g., 1-5).

Reaction'Negative' | 'Neutral' | 'Positive'

Reaction provided by the user, indicating their sentiment towards the assistant's response (e.g., Positive = 3, Negative = 1, Neutral = 2).

Feedbackstring

Textual feedback provided by the user, offering more detailed insights into their experience with the assistant's response.

AssistantStepstring required

Step of the assistant's response of creating work order process (issueChoice, assets, duplicates, troubleshooting, summary)

ThreadIdstring required

Identifier for the conversation thread, allowing feedback to be associated with a specific interaction session with the assistant.

TotalTokensinteger

Total number of tokens used in the assistant's response

ElapsedSecondsinteger

Time taken in seconds for the assistant to generate the response

LocationIdinteger

LocationId associated with the work order

Response

Request succeeded and the requested information is in the response.

SessionIdstring
Typestring
TargetIdstring
EntryCountinteger
CreatedAtstring date-time
UpdatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.