Submit feedback on an agent run
Records a rating on an agent run artifact. The rating can be POSITIVE or NEGATIVE. Attribution defaults to the authenticated user; API-key callers are attributed to their account instead.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
id
Agent run ID
Request
This endpoint expects an object.
rating
Rating value to record for this artifact.
Allowed values:
artifact_id
Identifier of the artifact to rate.
comment
Optional free-text comment explaining the rating. Whitespace is stripped server-side; empty or whitespace-only strings are normalized to null.
Response
feedback recorded successfully
object
Object type identifier.
id
Unique identifier for the feedback record.
run_id
Identifier of the agent run the feedback is attached to.
rating
Rating value submitted by the reviewer.
Allowed values:
artifact_id
Identifier of the artifact within the run that was rated.
comment
Optional free-text comment submitted with the rating.
reviewer
The actor that submitted the feedback. Sidepanel/session callers attribute to a User; API-key callers attribute to the Account.
superseded_prior
True if a prior active rating from the same reviewer for the same (run, artifact) tuple was superseded by this new rating.
created_at
Timestamp when the feedback was created.
Errors
403
Submit Agent Run Feedback Request Forbidden Error
404
Submit Agent Run Feedback Request Not Found Error
422
Submit Agent Run Feedback Request Unprocessable Entity Error