Skip to main content
POST
/
tasks
/
feedback
Submit Task Feedback
curl --request POST \
  --url http://localhost:3773/tasks/feedback \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "method": "tasks/feedback",
  "params": {
    "taskId": "550e8400-e29b-41d4-a716-446655440045",
    "feedback": "Great job! The response was very helpful and accurate.",
    "rating": 5,
    "metadata": {
      "category": "quality",
      "source": "user",
      "helpful": true
    }
  },
  "id": "550e8400-e29b-41d4-a716-446655440024"
}'
{
  "jsonrpc": "2.0",
  "id": "550e8400-e29b-41d4-a716-446655440024",
  "result": {
    "message": "Feedback submitted successfully",
    "task_id": "550e8400-e29b-41d4-a716-446655440078"
  }
}

Authorizations

Authorization
string
header
required

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
method
enum<string>
required
Available options:
tasks/feedback
params
object
required
id
string
required

Response

200 - application/json
jsonrpc
enum<string>
required
Available options:
2.0
result
object
required
id
string
required