Skip to content
LogoLogo

Feedback schema

See Management API schema for every domain, the endpoint and authentication.

Mutations

feedbackCreate

Sends product feedback from the signed-in user to the Picked team.

feedbackCreate(input: FeedbackCreateInput!): FeedbackCreatePayload! @auth(only: USER)

Types

FeedbackTopic

"""What a piece of feedback is about."""
enum FeedbackTopic {
  """Something does not work as expected."""
  BUG
  """A capability the user wants."""
  FEATURE_REQUEST
  """A change to an existing capability."""
  IMPROVEMENT
  """A request for help."""
  QUESTION
  """The dashboard's sidebar navigation."""
  NAVIGATION
  """Anything else."""
  OTHER
}

FeedbackSentiment

"""How the user feels about what their feedback describes."""
enum FeedbackSentiment {
  """Frustrated or angry."""
  VERY_NEGATIVE
  """Dissatisfied."""
  NEGATIVE
  """Indifferent."""
  NEUTRAL
  """Satisfied."""
  POSITIVE
  """Delighted."""
  VERY_POSITIVE
}

FeedbackCreateInput

"""The input of `feedbackCreate`."""
input FeedbackCreateInput {
  """The feedback text: 1 to 5,000 characters, not blank."""
  message: String!
  """What the feedback is about."""
  topic: FeedbackTopic!
  """How the user feels. Omit when the client does not ask."""
  sentiment: FeedbackSentiment
  """
  The dashboard path the user sent the feedback from, such as `/orgs/acme/projects/123`.
  """
  pagePath: String
  """The ID of the organization the user was working in."""
  organizationId: ID
  """The ID of the project the user was working in."""
  projectId: ID
  """
  The Picked ID of the browser the user sent the feedback from, which links the feedback to its session recording.
  """
  pickedId: String
  """The Picked ID of the browser the user sent the feedback from."""
  pickedSessionId: String @deprecated(reason: "Use `pickedId`.")
  """The user's browser user agent."""
  userAgent: String
  """The user's screen resolution, such as `1920x1080`."""
  screenResolution: String
}

FeedbackCreatePayload

"""The result of `feedbackCreate`."""
type FeedbackCreatePayload {
  """The ID of the feedback."""
  feedbackId: ID!
}