runs
Submit feedback on an agent run
Changed onRecords 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.
post/v1/runs/{id}/feedback
Request
- Base URLhttps://api.middesk.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Agent run ID
Request body
Response
feedback recorded successfully
Changes
- info
added the new optional request property
- info
added the required property
to the response with the status
- info
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
bearer_authwas added to the API
- warning