---
title: "Submit feedback for an agent run"
method: POST
path: "/api/agent-runs/{runId}/feedback"
tags: ["Agent Runs"]
---

# Submit feedback for an agent run

`POST /api/agent-runs/{runId}/feedback`

## Request

- Base URL: `https://app.cotool.ai`
- URL: `https://app.cotool.ai/api/agent-runs/{runId}/feedback`
- Auth: HTTP bearer

Submits user feedback (thumbs up/down) for a specific agent run, optionally including a comment and chat event reference

## Path parameters

- `runId` string, uuid, required

## Request body

- object
  - `label` 'up' | 'down', required
  - `agentId` string, uuid
  - `chatEventId` string, uuid
  - `comment` string

## Response `200`

Successful response - no content

## Other responses

- `400`: Bad request — input validation failed or the request was malformed
- `401`: Unauthorized — missing or invalid API key / session
- `403`: Forbidden — the authenticated user lacks the required permissions
- `500`: Internal server error

---

[API](https://skmtc.dev/cotool/apis/cotool-api.md) - [All operations](https://skmtc.dev/cotool/apis/cotool-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cotool/apis/cotool-api/revisions/f5abe0add203?raw)
