Submit feedback on an agent run
Records a rating on something an agent run produced: an artifact or, with subject_type message, an Assistant reply. The rating can be POSITIVE or NEGATIVE. Attribution defaults to the authenticated user; API-key callers are attributed to their account instead.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Identifier of the rated subject. Its meaning is given by subject_type.
What artifact_id refers to. artifact is an op Artifact (for example a litigation or lien finding); message is an Assistant reply message.
Optional free-text comment explaining the rating. Whitespace is stripped server-side; empty or whitespace-only strings are normalized to null.
Response
Identifier of the rated subject within the run. Its meaning is given by subject_type.
What artifact_id refers to. artifact is an op Artifact (for example a litigation or lien finding); message is an Assistant reply message.
Optional free-text comment submitted with the rating.
The actor that submitted the feedback. Sidepanel/session callers attribute to a User; API-key callers attribute to the Account.
True if a prior active rating from the same reviewer for the same (run, subject_type, artifact_id) tuple was superseded by this new rating.