curl --request POST \
  --url https://{domain}-be.glean.com/rest/api/v1/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "trackingTokens": [
    "trackingTokens"
  ],
  "event": "VIEW"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Scio-Actas
string

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

Query Parameters

feedback
string

A URL encoded versions of Feedback. This is useful for requests.

Body

application/json
trackingTokens
string[]
required

A list of server-generated trackingTokens to which this event applies.

event
enum<string>
required

The action the user took within a Glean client with respect to the object referred to by the given trackingToken.

Available options:
CLICK,
CONTAINER_CLICK,
COPY_LINK,
CREATE,
DISMISS,
DOWNVOTE,
EMAIL,
EXECUTE,
FILTER,
FIRST_TOKEN,
FOCUS_IN,
LAST_TOKEN,
MANUAL_FEEDBACK,
MARK_AS_READ,
MESSAGE,
MIDDLE_CLICK,
PAGE_BLUR,
PAGE_FOCUS,
PAGE_LEAVE,
PREVIEW,
RELATED_CLICK,
RIGHT_CLICK,
SECTION_CLICK,
SEEN,
SHARE,
SHOW_MORE,
UPVOTE,
VIEW,
VISIBLE
id
string

Universally unique identifier of the event. To allow for reliable retransmission, only the earliest received event of a given UUID is considered valid by the server and subsequent are ignored.

category
enum<string>

The feature category to which the feedback applies. These should be broad product areas such as Announcements, Answers, Search, etc. rather than specific components or UI treatments within those areas.

Available options:
ANNOUNCEMENT,
AUTOCOMPLETE,
COLLECTIONS,
FEED,
SEARCH,
CHAT,
NTP,
WORKFLOWS,
SUMMARY,
GENERAL,
PROMPTS
position
integer

Position of the element in the case that the client controls order (such as feed and autocomplete).

payload
string

For type MANUAL_FEEDBACK, contains string of user feedback. For autocomplete, partial query string. For feed, string of user feedback in addition to manual feedback signals extracted from all suggested content.

sessionInfo
object
timestamp
string

The ISO 8601 timestamp when the event occured.

user
object
pathname
string

The path the client was at when the feedback event triggered.

channels
enum<string>[]

Where the feedback will be sent, e.g. to Glean, the user's company, or both. If no channels are specified, feedback will go only to Glean.

Available options:
COMPANY,
GLEAN
url
string

The URL the client was at when the feedback event triggered.

uiTree
string[]

The UI element tree associated with the event, if any.

uiElement
string

The UI element associated with the event, if any.

manualFeedbackInfo
object
seenFeedbackInfo
object
userViewInfo
object
workflowFeedbackInfo
object
applicationId
string

The application ID of the client that sent the feedback event.

Response

200

OK