Docs

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.

FieldValue
URLhttps://api.helmcode.com/v1/feedback
MethodPOST
AuthenticationAuthorization: Bearer sk-your-key (an API key of your organization)
Bodymultipart/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

FieldRequiredWhat it is
typeYesOne of bug, feature, model_quality, docs, billing, other.
messageYesWhat happened, 1 to 4000 characters. Write it in any language.
reporterNohuman (default) or agent. Set agent when an agent sends the report on its own.
clientNo{ "name": "opencode", "version": "0.9.1" }: the tool that sent it, at most 64 characters each.
modelNoThe model you were calling, at most 128 characters.
request_idNoThe 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

WhoLimit
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 together200 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.

StatuscodeWhen
400invalid_payloadA missing or invalid field, an unknown field, or a message out of range
400too_many_attachmentsMore than 5 screenshots
401No key, or a key that is not valid or was revoked
413payload_too_largeA screenshot over 5 MB or 16 megapixels, or a request over the size limit
415unsupported_media_typeAn image that is not PNG, JPEG or WebP, or a body that is not multipart or JSON
429rate_limitedOver a limit. Wait for Retry-After
503busyToo many screenshots being processed. Retry after Retry-After (5 seconds)
503attachments_unavailableScreenshots 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.

FieldValue
URLhttps://api.helmcode.com/mcp
AuthenticationAuthorization: Bearer sk-your-key
TransportHTTP, 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"
ArgumentWhat it does
typeRequired. One of bug, feature, model_quality, docs, billing, other
messageRequired. What happened, 1 to 4000 characters
modelThe model the agent was calling, at most 128 characters
request_idThe id of the API response or its x-litellm-call-id header, at most 256 characters
attachmentsUp 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_id is 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.