Skip to content
SIBISIBI Developers
Esc
navigateopen⌘Jpreview

Send task feedback

Attaches feedback to the latest assistant response on a task.

POST/api/agents/{agentId}/tasks/{taskId}/feedback
Path parameters
agentIdstringrequired
Research Agent ID assigned to your organization.
taskIdstringrequired
Task ID returned when the task was created.
Request body
requiredapplication/json
sentimentintegerrequired
Allowed:10-1
commentstring
Responses
200Feedback recorded.
successanyrequired
400The request body is invalid.
errorstringrequired
detailsobject
401The bearer token is missing or invalid.
errorstringrequired
403The authenticated user cannot access the requested agent.
errorstringrequired
404The task was not found for this user and agent.
errorstringrequired
409The task has not produced a response.
errorstringrequired
Request
curl -X POST "https://agents.sibi.ai/api/agents/string/tasks/string/feedback" \
  -H "Content-Type: application/json" \
  -d '{
  "sentiment": 1,
  "comment": "The top candidate matched the required dimensions."
}'
Response
{
  "success": true
}