Skip to main content
POST
/
talk2data
/
chat
/
sessions
/
{session_id}
/
turns
/
{turn_id}
/
feedback
Submit or update feedback
curl --request POST \
  --url https://api.example.com/talk2data/chat/sessions/{session_id}/turns/{turn_id}/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-project-id: <x-project-id>' \
  --data '
{
  "comment": "<string>"
}
'
{
  "feedback_id": "<string>",
  "turn_id": "<string>",
  "rating": "<string>",
  "comment": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-project-id
string
required

Project identifier

Path Parameters

session_id
string
required

Session ID

turn_id
string
required

Turn ID

Body

application/json

Request body for POST .../turns/{turn_id}/feedback.

rating
enum<string>
required

thumbs_up or thumbs_down

Available options:
thumbs_up,
thumbs_down
comment
string | null

Optional comment

Maximum string length: 2000

Response

Feedback updated

Feedback for a turn (POST 200/201, GET 200).

feedback_id
string
required
turn_id
string
required
rating
string
required
comment
string | null
required
created_at
string
required
updated_at
string
required