ToolFeedback
Operations
Every route this entity exposes. Each route links to its own reference on this page.
| Method | Route | SDK operation | Returns |
|---|---|---|---|
POST |
/api/v1/organizations/{organization_id}/tool_feedbacks |
create |
Success |
GET |
/api/v1/organizations/{organization_id}/tool_feedbacks/{id} |
load |
Saved feedback |
Examples
One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.
Golang
Construct client as shown in the Golang setup, then call the operations:
tool_feedback, err := client.ToolFeedback(nil).Load(map[string]any{"id": "example_id", "organization_id": "example"}, nil)
if err != nil {
panic(err)
}
fmt.Println(tool_feedback)
created, err := client.ToolFeedback(nil).Create(map[string]any{"organization_id": "example", "feedback": map[string]any{}}, nil)
if err != nil {
panic(err)
}
fmt.Println(created)
Lua
Construct client as shown in the Lua setup, then call the operations:
local tool_feedback, err = client:ToolFeedback():load({ id = "example_id", organization_id = "example" })
local created, err = client:ToolFeedback():create({ organization_id = "example", feedback = {} })
PHP
Construct client as shown in the PHP setup, then call the operations:
$tool_feedback = $client->ToolFeedback()->load(["id" => "example_id", "organization_id" => "example"]);
$created = $client->ToolFeedback()->create(["organization_id" => "example", "feedback" => []]);
Python
Construct client as shown in the Python setup, then call the operations:
tool_feedback = client.ToolFeedback().load({"id": "example_id", "organization_id": "example"})
created = client.ToolFeedback().create({ "organization_id": "example", "feedback": {} })
Ruby
Construct client as shown in the Ruby setup, then call the operations:
tool_feedback = client.ToolFeedback.load({ "id" => "example_id", "organization_id" => "example" })
created = client.ToolFeedback.create({ "organization_id" => "example", "feedback" => {} })
TypeScript
Construct client as shown in the TypeScript setup, then call the operations:
const tool_feedback = await client.ToolFeedback().load({ id: "example_id", organization_id: "example" })
const created = await client.ToolFeedback().create({ organization_id: "example", feedback: {} })
Fields
| Field | Type | Required | Description |
|---|---|---|---|
category |
string |
Yes | Category |
created_at |
string |
Yes | Created At |
details |
string |
Yes | Details |
feedback |
object |
Yes | Feedback |
id |
string |
Yes | Id |
metadata |
object |
Yes | Caller-supplied session context; no secrets or transcripts |
organization_id |
string |
Yes | Organization Id |
source |
string |
Yes | Source |
summary |
string |
Yes | Summary |
user_id |
string |
Yes | User Id |
create
POST /api/v1/organizations/{organization_id}/tool_feedbacks
Operation ID: api_v1_organization_tool_feedbacks.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
Idempotency-Key |
header |
string |
Yes |
Request body
application/json
| Property | Type | Required | Description |
|---|---|---|---|
feedback |
object |
Yes | |
feedback.category |
enum: bug, feedback |
No | |
feedback.details |
string |
Yes | |
feedback.metadata |
object |
No | Caller-supplied session context; no secrets or transcripts |
feedback.metadata.client_version |
string |
No | |
feedback.metadata.command |
string |
No | |
feedback.metadata.harness |
string |
No | |
feedback.metadata.model |
string |
No | |
feedback.metadata.platform |
string |
No | |
feedback.metadata.run_id |
string |
No | |
feedback.metadata.session_id |
string |
No | |
feedback.metadata.tool_name |
string |
No | |
feedback.source |
enum: cli, mcp, harness, android |
Yes | |
feedback.summary |
string |
Yes |
Responses
200: Success
application/json
The response is object.
201: Feedback saved, including on an identical retry. Does not confirm Slack delivery
application/json
| Property | Type | Required | Description |
|---|---|---|---|
category |
enum: bug, feedback |
Yes | |
created_at |
string (date-time) |
Yes | |
details |
string |
Yes | |
id |
string |
Yes | |
metadata |
object |
Yes | Caller-supplied session context; no secrets or transcripts |
metadata.client_version |
string |
No | |
metadata.command |
string |
No | |
metadata.harness |
string |
No | |
metadata.model |
string |
No | |
metadata.platform |
string |
No | |
metadata.run_id |
string |
No | |
metadata.session_id |
string |
No | |
metadata.tool_name |
string |
No | |
organization_id |
string |
Yes | |
source |
enum: cli, mcp, harness, android |
Yes | |
summary |
string |
Yes | |
user_id |
string |
Yes |
401: Unauthorized
403: Forbidden
404: Not found
409: The key was already used for a different report
422: Invalid feedback
502: Bad gateway
load
GET /api/v1/organizations/{organization_id}/tool_feedbacks/{id}
Operation ID: api_v1_organization_tool_feedback.
Authentication: bearer token (bearerAuth).
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
organization_id |
path |
string |
Yes | |
id |
path |
string |
Yes |
Responses
200: Saved feedback
application/json
| Property | Type | Required | Description |
|---|---|---|---|
category |
enum: bug, feedback |
Yes | |
created_at |
string (date-time) |
Yes | |
details |
string |
Yes | |
id |
string |
Yes | |
metadata |
object |
Yes | Caller-supplied session context; no secrets or transcripts |
metadata.client_version |
string |
No | |
metadata.command |
string |
No | |
metadata.harness |
string |
No | |
metadata.model |
string |
No | |
metadata.platform |
string |
No | |
metadata.run_id |
string |
No | |
metadata.session_id |
string |
No | |
metadata.tool_name |
string |
No | |
organization_id |
string |
Yes | |
source |
enum: cli, mcp, harness, android |
Yes | |
summary |
string |
Yes | |
user_id |
string |
Yes |