Ana içeriğe atla
POST
Rate a Flexy reply

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
message_key
string
gerekli

Client-generated key of the rated assistant reply (e.g. a UUID); one feedback is kept per key and the first one wins.

Maximum string length: 100
feedback_type
enum<string>
gerekli

The rating of the reply.

Mevcut seçenekler:
good,
bad
user_message
string
gerekli

The user prompt that produced the rated reply.

Maximum string length: 20000
assistant_message
string
gerekli

The rated assistant reply.

Maximum string length: 20000
model
string | null

The model that produced the reply, as reported in the stream's stream_start event.

Maximum string length: 100

Yanıt

The response is of type string.