v1

latestOpenAPI 3.1.02026-07-263971,2281.1 MB
ChatService

RateChatCell appends a row to cell_rating for every click; thumbs-down also upserts a user_thumbs_down thread_warning.

RateChatCell appends a row to cell_rating for every click; thumbs-down also upserts a user_thumbs_down thread_warning.

post/textql.rpc.public.chat.ChatService/RateChatCell

Headers

Connect-Protocol-Version1 required

Define the version of the Connect protocol

Connect-Timeout-Msnumber

Define the timeout, in ms

Request body

chatIdstring
cellIdstring
rating'CELL_RATING_UNSPECIFIED' | 'CELL_RATING_NONE' | 'CELL_RATING_UP' | 'CELL_RATING_DOWN'
reasonstring nullable

free-text "why" captured from the rating modal

Response

Success

GoogleProtobufEmpty required

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

 service Foo {
   rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
 }