Skip to main content
    Ivy Biosciences Docs/Call the platform/API/Reference/Reference/Agent/POST /agent/feedback

    POST /agent/feedback

    Report the outcome of a previous run

    Auth: optional. The route accepts anonymous calls; send an ivy_ API key (Authorization: Bearer ivy_… or X-Ivy-Api-Key) or a Clerk session JWT (Authorization: Bearer …) to call as your own account. See Authentication.

    Agent reports success/wrong_tool/incomplete/factually_wrong/timeout/rate_limited/other for a previous run. Persisted to harness_event_log for meta-learning. Anonymous feedback is logged but not yet contributed to the guest_aggregate until verified.

    Request

    Request body

    run_idstring
    session_idstring
    outcomeenum ("success" | "wrong_tool" | "incomplete" | "factually_wrong" | "timeout" | "rate_limited" | "other")
    correct_tool_suggestionstring
    commentstring
    ratinginteger

    Responses

    202 Accepted

    Feedback recorded

    Response shape: object

    400 Bad Request

    Invalid request

    Response shape: object

    curl -X POST 'https://ivybiosciences.com/api/v1/agent/feedback' \
      -H "Authorization: Bearer $IVY_API_KEY" \
      -H 'Content-Type: application/json' \
      -d '{
      "outcome": "success"
    }'

    Was this page helpful?

    Loading...