Skip to main content
POST
/
api
/
v2
/
rate
/
{feedback_type_id}
/
{completion_id}
Create a completion feedback
curl --request POST \
  --url https://paradigm.lighton.ai/api/v2/rate/{feedback_type_id}/{completion_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

completion_id
string
required
feedback_type_id
integer
required

Body

value
number | null
flag
boolean | null

Field used in case of boolean type

comment
string | null
tag
string | null
Maximum length: 120

Response

No response body

I