Skip to main content
POST
/
feedback
/
source
Submit Source Feedback
curl --request POST \
  --url https://apigcp.trynia.ai/v2/feedback/source \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "chunk_id": "<string>",
  "signal": "helpful",
  "session_id": "<string>",
  "message_id": "<string>",
  "content_hash": "<string>",
  "retrieval_log_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
chunk_id
string
required
signal
enum<string>
required
Available options:
helpful,
irrelevant,
partially_relevant
session_id
string | null
message_id
string | null
content_hash
string | null
retrieval_log_id
string | null

Response

Successful Response