Submit Routing Feedback
POST /api/agents/routing-feedback
Submit feedback on routing decisions for ML learning.
Allows submission of routing outcomes to improve future routing decisions through pattern learning and algorithm optimization.
Request Body: RoutingFeedbackRequest with outcome, quality_score, and notes
Returns: RoutingFeedbackResponse confirming feedback receipt
Raises: HTTPException 500: For unexpected errors
Request Body required
Section titled “Request Body required ”Request model for routing feedback submission.
Allows submission of routing decision outcomes for ML learning and routing algorithm optimization.
Fields: routing_id: Original routing decision identifier agent_id: Agent that handled the task task_description: Original task description outcome: Outcome of the routing decision (success/partial/failed) quality_score: Quality score (0.0-1.0) completion_time_ms: How long task took to complete feedback_notes: Optional additional feedback
Usage: POST /api/agents/routing/routing-feedback
object
Agent that handled task
Task description
Routing outcome
Responses
Section titled “ Responses ”Successful Response
Response model for routing feedback submission.
Confirms feedback receipt and provides learning status.
Fields: status: Operation status feedback_id: Unique identifier for this feedback learning_applied: Whether feedback was applied to learning system acknowledgment: Confirmation message
object
Operation status
Feedback identifier
Learning applied
Confirmation message
Validation Error