Skip to content

Protocol Documentation

Table of Contents

Top

feedback-fusion-v1.proto

CheckboxOptions

FieldTypeLabelDescription
styleCheckboxStyle
default_statebool

CheckboxResponse

FieldTypeLabelDescription
checkedbool

CreateFieldRequest

FieldTypeLabelDescription
promptstring
titlestring
descriptionstringoptional
field_typeFieldType
optionsFieldOptions

CreatePromptRequest

FieldTypeLabelDescription
targetstring
titlestring
descriptionstring
activebool

CreateResponsesRequest

FieldTypeLabelDescription
dataCreateResponsesRequest.DataEntryrepeated
promptstring

CreateResponsesRequest.DataEntry

FieldTypeLabelDescription
keystring
valueResponseData

CreateTargetRequest

FieldTypeLabelDescription
namestring
descriptionstringoptional

DataExportRequest

FieldTypeLabelDescription
targetsstringrepeated

DataExportResponse

FieldTypeLabelDescription
exportstring

DeleteFieldRequest

FieldTypeLabelDescription
idstring

DeletePromptRequest

FieldTypeLabelDescription
idstring

DeleteTargetRequest

FieldTypeLabelDescription
idstring

Field

FieldTypeLabelDescription
idstring
promptstring
titlestring
descriptionstringoptional
field_typeFieldType
optionsFieldOptions
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

FieldOptions

FieldTypeLabelDescription
textTextOptions
ratingRatingOptions
checkboxCheckboxOptions
selectionSelectionOptions
rangeRangeOptions
numberNumberOptions

FieldPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
fieldsFieldrepeated

FieldResponse

FieldTypeLabelDescription
idstring
responsestring
fieldstring
dataResponseData

FieldResponseList

FieldTypeLabelDescription
dataFieldResponserepeated

GetFieldsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
promptstring

GetPromptRequest

FieldTypeLabelDescription
idstring

GetPromptsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
targetstring

GetResponsesRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
promptstring

GetTargetRequest

FieldTypeLabelDescription
idstring

GetTargetsRequest

FieldTypeLabelDescription
page_tokenint32
page_sizeint32
querystring

NumberOptions

FieldTypeLabelDescription
minint32
maxint32
placeholderstring

NumberResponse

FieldTypeLabelDescription
numberint32

Prompt

FieldTypeLabelDescription
idstring
titlestring
descriptionstring
targetstring
activebool
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

PromptPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
promptsPromptrepeated

PromptResponse

FieldTypeLabelDescription
idstring
promptstring
created_atgoogle.protobuf.Timestamp

RangeOptions

FieldTypeLabelDescription
minint32
maxint32

RangeResponse

FieldTypeLabelDescription
startint32
endint32

RatingOptions

FieldTypeLabelDescription
maxint32

RatingResponse

FieldTypeLabelDescription
ratingint32

ResponseData

FieldTypeLabelDescription
textTextResponse
ratingRatingResponse
checkboxCheckboxResponse
selectionSelectionResponse
rangeRangeResponse
numberNumberResponse

ResponsePage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
dataResponsePage.DataEntryrepeated

ResponsePage.DataEntry

FieldTypeLabelDescription
keystring
valueFieldResponseList

SelectionOptions

FieldTypeLabelDescription
valuesstringrepeated
multiplebool
comboboxbool

SelectionResponse

FieldTypeLabelDescription
valuesstringrepeated

Target

FieldTypeLabelDescription
idstring
namestring
descriptionstringoptional
created_atgoogle.protobuf.Timestamp
updated_atgoogle.protobuf.Timestamp

TargetPage

FieldTypeLabelDescription
page_tokenint32
next_page_tokenint32
page_sizeint32
totalint32
targetsTargetrepeated

TextOptions

FieldTypeLabelDescription
placeholderstring
linesint32

TextResponse

FieldTypeLabelDescription
textstring

UpdateFieldRequest

FieldTypeLabelDescription
optionsFieldOptions
titlestringoptional
descriptionstringoptional
idstring

UpdatePromptRequest

FieldTypeLabelDescription
idstring
activebooloptional
descriptionstringoptional
titlestringoptional

UpdateTargetRequest

FieldTypeLabelDescription
idstring
namestringoptional
descriptionstringoptional

UserInfoResponse

FieldTypeLabelDescription
permissionsUserInfoResponse.PermissionsEntryrepeated

UserInfoResponse.PermissionsEntry

FieldTypeLabelDescription
keystring
valuebool

CheckboxStyle

NameNumberDescription
NORMAL0
SWITCH1

FieldType

NameNumberDescription
TEXT0
RATING1
CHECKBOX2
SELECTION3
RANGE4
NUMBER5

FeedbackFusionV1

uses oidc authentication

Method NameRequest TypeResponse TypeDescription
CreateTargetCreateTargetRequestTarget
GetTargetGetTargetRequestTarget
GetTargetsGetTargetsRequestTargetPage
UpdateTargetUpdateTargetRequestTarget
DeleteTargetDeleteTargetRequest.google.protobuf.Empty
CreatePromptCreatePromptRequestPrompt
GetPromptsGetPromptsRequestPromptPage
UpdatePromptUpdatePromptRequestPrompt
DeletePromptDeletePromptRequest.google.protobuf.Empty
CreateFieldCreateFieldRequestField
GetFieldsGetFieldsRequestFieldPage
UpdateFieldUpdateFieldRequestField
DeleteFieldDeleteFieldRequest.google.protobuf.Empty
GetResponsesGetResponsesRequestResponsePage
GetUserInfo.google.protobuf.EmptyUserInfoResponse
ExportDataDataExportRequestDataExportResponse

PublicFeedbackFusionV1

does not use oidc authentication

Method NameRequest TypeResponse TypeDescription
GetActiveFieldsGetFieldsRequestFieldPage
GetPromptGetPromptRequestPrompt
CreateResponsesCreateResponsesRequestPromptResponse

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)