Skip to content

Delete Rating

DELETE
/api/agents/learning/ratings/{operation_id}

Retract a previously submitted user rating.

Removes the rating from the store and rolls back the per-agent user_rating_* tally so retractions show up in metrics rather than leaving stale counts.

operation_id
required
Operation Id
string

Successful Response

DeleteRatingResponse

DELETE /api/agents/learning/ratings/{operation_id} response.

object
success
required
Success
boolean
message
required
Message
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object