Feedback
Every report reaches the Helmcode team. Members can send one from the console, from code with POST /v1/feedback, or let an agent send it when the API does something it should not. This page covers the last two.
| Field | Value |
|---|---|
| URL | https://api.helmcode.com/v1/feedback |
| Method | POST |
| Authentication | Authorization: Bearer sk-your-key (an API key of your organization) |
| Body | multipart/form-data or application/json |
Any key of any organization can report, whatever its plan. The report belongs to the key’s organization and is counted against the person who created the key.
Send a report
The shortest report is a JSON body with a type and a message:
curl https://api.helmcode.com/v1/feedback \
-H "Authorization: Bearer $HELMCODE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "bug",
"message": "The tool call came back with the arguments cut in half.",
"model": "deepseek-v4-flash",
"request_id": "chatcmpl-9f1c2b7e"
}'
The answer is a 201 with the report’s id and a thank-you:
{
"id": "fb_01jf3k8x2q9w7m4n6p5r0t1v8z",
"message": "Thanks for your feedback! Our team reviews every report."
}
Fields
| Field | Required | What it is |
|---|---|---|
type | Yes | One of bug, feature, model_quality, docs, billing, other. |
message | Yes | What happened, 1 to 4000 characters. Write it in any language. |
reporter | No | human (default) or agent. Set agent when an agent sends the report on its own. |
client | No | { "name": "opencode", "version": "0.9.1" }: the tool that sent it, at most 64 characters each. |
model | No | The model you were calling, at most 128 characters. |
request_id | No | The id of the API response or its x-litellm-call-id header, for the call that went wrong, at most 256 characters. With it we can look up that call’s status and latency; we never read your prompt or the completion. |
Any other field is refused with a 400.
Screenshots
A report can carry up to 5 screenshots, PNG, JPEG or WebP, at most 5 MB and 16 megapixels each. There are two ways to send them.
Multipart, for code that can send files. The fields go as JSON in a part called payload, and each image in a part called files:
curl https://api.helmcode.com/v1/feedback \
-H "Authorization: Bearer $HELMCODE_API_KEY" \
-F 'payload={"type":"bug","message":"The usage chart shows zero tokens."};type=application/json' \
-F 'files=@screenshot.png;type=image/png'
The whole multipart request can be at most 26 MB.
JSON with base64, for agents that cannot build a multipart body. The images go in attachments:
{
"type": "bug",
"message": "The usage chart shows zero tokens.",
"attachments": [
{ "mime": "image/png", "data_base64": "iVBORw0KGgo..." }
]
}
A JSON request can be at most 8 MB. Use multipart for larger screenshots.
Every image is decoded and encoded again on our side before it is stored: PNG stays PNG, JPEG and WebP become JPEG. That drops EXIF data, GPS location and anything else hidden in the file. The original bytes are never kept, and the screenshots are deleted after 180 days.
Limits
| Who | Limit |
|---|---|
A person (reporter absent or human, the console included) | 10 per hour, 50 per day |
An agent (reporter: "agent") | 20 per hour per API key, 100 per day per person over all their keys |
| Your organization, all members and channels together | 200 per day |
Send one report at a time: a second request while the first is still in flight gets a 429.
Over a limit, the answer is a 429 with a Retry-After header that says how many seconds to wait. Do not retry earlier.
Errors
Errors use the same envelope as the rest of the API: error.code carries the reason and error.message a sentence you can show as is.
| Status | code | When |
|---|---|---|
400 | invalid_payload | A missing or invalid field, an unknown field, or a message out of range |
400 | too_many_attachments | More than 5 screenshots |
401 | No key, or a key that is not valid or was revoked | |
413 | payload_too_large | A screenshot over 5 MB or 16 megapixels, or a request over the size limit |
415 | unsupported_media_type | An image that is not PNG, JPEG or WebP, or a body that is not multipart or JSON |
429 | rate_limited | Over a limit. Wait for Retry-After |
503 | busy | Too many screenshots being processed. Retry after Retry-After (5 seconds) |
503 | attachments_unavailable | Screenshots cannot be accepted right now. Send the report without them |
The report_feedback MCP tool
Helmcode’s MCP server offers a report_feedback tool. It sends the same report as POST /v1/feedback, always as reporter: "agent", with the name of your MCP client, and counts against the agent and organization limits above.
| Field | Value |
|---|---|
| URL | https://api.helmcode.com/mcp |
| Authentication | Authorization: Bearer sk-your-key |
| Transport | HTTP, stateless |
The MCP server lives at the root of the domain, without /v1. report_feedback is there for any key of your organization, whatever its plan. Most MCP clients take this block:
{
"mcpServers": {
"helmcode": {
"url": "https://api.helmcode.com/mcp",
"headers": {
"Authorization": "Bearer sk-your-key"
}
}
}
}
In Claude Code:
claude mcp add --transport http helmcode https://api.helmcode.com/mcp \
--header "Authorization: Bearer sk-your-key"
| Argument | What it does |
|---|---|
type | Required. One of bug, feature, model_quality, docs, billing, other |
message | Required. What happened, 1 to 4000 characters |
model | The model the agent was calling, at most 128 characters |
request_id | The id of the API response or its x-litellm-call-id header, at most 256 characters |
attachments | Up to 5 screenshots, { "mime": "image/png", "data_base64": "..." } each, PNG, JPEG or WebP |
There is no reporter, client or page argument: the tool refuses them as unknown fields. It always reports as an agent, and the client name and version come from the clientInfo your MCP client sends in initialize. For that, the client sends back the Mcp-Session-Id header that initialize returns on every later request; standard MCP clients do this on their own. A whole MCP request can be at most 1 MB, so send larger screenshots with POST /v1/feedback as multipart. tools/list shows the same schema.
Over a limit, the tool answers “Feedback limit reached for now. Do not retry this report; continue with the task.” If it answers that it is not enabled, check your API key.
Let your agent report
Paste this into your AGENTS.md, CLAUDE.md or the system prompt of your agent. It reports a problem once, with what we need to find it, and goes on with the task:
## Reporting Helmcode API problems
When the Helmcode API behaves unexpectedly (malformed tool call, truncated
output, unexpected 4xx/5xx), report it once with POST /v1/feedback
(reporter: agent), including the request_id.
- Endpoint: https://api.helmcode.com/v1/feedback, header
"Authorization: Bearer $HELMCODE_API_KEY", JSON body.
- Fields: type ("bug", or "model_quality" for a bad answer), message (a
short description of what you sent (not the full prompt), what came back,
and what you expected), reporter ("agent"), model (the model you called),
request_id (the id of the API response or its x-litellm-call-id header),
client.name (your tool).
- If the report_feedback MCP tool is available, use it instead. If it says
it is not enabled, check your API key.
- One report per problem. Never include API keys, passwords or personal data
in the message.
- On 429 (over MCP: "Feedback limit reached for now"), do not retry:
continue with the task.
The report-feedback skill does the same for agents that load skills.
What not to send. The message reaches people. Do not paste API keys, passwords, tokens or personal data into it, and do not paste whole prompts: the
request_idis enough for us to find the call.
What happens to a report
- Reports are read, grouped with others about the same problem and turned into work for the team. You do not get a reply for each one.
- The report stores your organization, your plan and the fields above. It never stores your API key, only a short fingerprint of it, so we can tell your keys apart.