AI
Agents

Rate one agent reply (creator only)

Body: rating (up or down) and an optional comment. Kept on the turn's trace; a later rating of the same turn replaces it. 404 when the chat has no trace for the turn.

post/agents/sessions/{session_id}/turns/{turn_id}/feedback

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/agents/sessions/{session_id}/turns/{turn_id}/feedback
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Path parameters

session_idstring required
turn_idstring required

Request body

rating'up' | 'down' required
commentstring nullable

Response

Request fulfilled, nothing follows

Changes

No recorded changes to this operation across all 6 revisions of this API.