Prem home page
Search or ask...
Support
Use Prem
Use Prem
Search...
Navigation
Documentation
API Reference
Release Notes
Community
Blog
Models' Status
API Documentation
Introduction
repositories
POST
Post apirepositoriesrepositories
repository-document
POST
Post apirepositoriesrepository document
chat-completions
POST
Post v1chatcompletions
embeddings
POST
Post v1embeddings
models
GET
Get v1models
GET
Get v1models
feedbacks
POST
Post v1set trace feedback
traces
GET
Get v1traces
GET
Get v1traces
feedbacks
Post v1set trace feedback
Set trace feedback
POST
/
v1
/
set_trace_feedback
Try it
Authorizations
Authorization
string
header
required
Body
application/json
application/x-www-form-urlencoded
multipart/form-data
trace_id
string
required
feedback
object
Show child attributes
feedback.
messages
object[]
Show child attributes
feedback.messages.
content
string
feedback.messages.
role
enum<string>
user
- user
assistant
- assistant
system
- system
Available options:
user
,
assistant
,
system
feedback.
positive
boolean
default:
false
Response
200 - application/json
feedback
object
Show child attributes
feedback.
messages
object[]
Show child attributes
feedback.messages.
content
string
feedback.messages.
role
enum<string>
user
- user
assistant
- assistant
system
- system
Available options:
user
,
assistant
,
system
feedback.
positive
boolean
default:
false
Was this page helpful?
Yes
No
Get v1models
Get v1traces