Skip to main content
POST

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Headers

X-Impersonate-Email
string<email>

Email of the user to impersonate. Requires CAN_IMPERSONATE_OTHER_USERS permission. If the target user is not found or does not have access to the project, the request proceeds as the authenticated user. Contact Clarifeye to enable this permission.

Path Parameters

project_id
string<uuid>
required

UUID of the project

Body

application/json
context
Direct feedback · object
required

Feedback about content itself, not linked to a conversation. Just the feedback text plus optional additional details. Agents submitting through MCP set source=MCP and type=direct_feedback; plain API callers can omit both.

feedback
string

Text comment (can be empty for quick feedback)

Example:

"We need to cover the EU refund rules in the knowledge base"

is_positive
boolean | null
  • true: Positive feedback (thumbs up)
  • false: Negative feedback (thumbs down)
  • null: Neutral feedback
Example:

true

Response

Feedback submitted successfully

id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>
given_by
object

User who submitted the feedback

status
enum<string>
  • to_review: Feedback pending review (default)
  • reviewed: Feedback has been reviewed
Available options:
to_review,
reviewed
feedback
string

Feedback text comment

context
object

Free-form context, echoed back as submitted at creation. Conversation feedback carries conversation_id/query_id/source; MCP interaction feedback carries user_query; direct feedback may carry additional_details.

is_positive
boolean | null
  • true: Positive feedback
  • false: Negative feedback
  • null: Neutral
user_message
string

The user message that was responded to (computed field)

conversation_title
string

Title of the conversation (computed field)

suggested_action_type
string | null

Auto-generated suggested action type

suggested_action_data
object

Auto-generated suggested action data