Skip to content
SIBISIBI Developers
Esc
↑↓navigate↵open⌘Jpreview

Send task feedback

Attaches feedback to the latest assistant response on a task.

POST/api/agents/{agentId}/tasks/{taskId}/feedback
Authorization
AuthorizationBearer token · headerrequired

SIBI API token from the SIBI Developer Portal.

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
200

Feedback recorded.

successanyrequired
400

The request body is invalid.

errorstringrequired
detailsobject
401

The bearer token is missing or invalid.

errorstringrequired
403

The authenticated user cannot access the requested agent.

errorstringrequired
404

The task was not found for this user and agent.

errorstringrequired
409

The task has not produced a response.

errorstringrequired
Request
curl -X POST "https://agents.sibi.ai/api/agents/string/tasks/string/feedback" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "sentiment": 1,
  "comment": "The top candidate matched the required dimensions."
}'
Response
{
  "success": true
}