> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getlurk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send feedback

> Tell the Lurk team about a bug, a gap or an idea, from the API, the MCP server or an SDK. What to include, and what happens to it.

If something in Lurk is broken, confusing or missing, you and your agent can tell the Lurk team from the same place you build. It is **optional**, it goes to Lurk and not into your project, and it changes nothing in your project.

> [!NOTE]
>
> Lurk staff read each piece of feedback. Lurk does not promise a reply, and the answer carries no status to check later.

## Three ways to send it

All three make the same request: `POST /v1/feedback`. A project key, an agent key or a signed-in team member can send it, viewers too. End users, chat and Lurky cannot.

```bash curl theme={null}
curl https://api.getlurk.com/v1/feedback \
  -H "Authorization: Bearer $LURK_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "kind": "docs",
    "impact": "annoying",
    "message": "The rules page says a rule can use a budget, but not which field names one.",
    "operation": "rules.create",
    "docs_path": "/rules",
    "idempotency_key": "fb-rules-budget-field"
  }'
```

```typescript TypeScript theme={null}
import { Lurk } from "@getlurk/sdk";

const lurk = new Lurk(); // reads the key from LURK_KEY

const received = await lurk.feedback.send({
  kind: "docs",
  impact: "annoying",
  message: "The rules page says a rule can use a budget, but not which field names one.",
  operation: "rules.create",
  docs_path: "/rules",
});

console.log(received.id); // fb_…
```

```python Python theme={null}
from getlurk import Lurk

lurk = Lurk()  # reads the key from LURK_KEY

received = lurk.feedback.send(
    {
        "kind": "docs",
        "impact": "annoying",
        "message": "The rules page says a rule can use a budget, but not which field names one.",
        "operation": "rules.create",
        "docs_path": "/rules",
    }
)

print(received["id"])  # fb_…
```

```text MCP theme={null}
Call the tool lurk.feedback.send with kind, impact, message and an idempotency_key.
```

The SDKs make the idempotency key for you. In a plain request and in an MCP call it is required: use any string of your own for that message, 1 to 255 characters.

The answer is `202` with the ID of the feedback, `status: "received"` and when it arrived. `received` means Lurk has stored it. It does not mean a person has read it yet.

## What to send

| Field | |
| - | - |
| `kind` | `bug`, `gap` (something is missing), `idea`, `docs` or `question`. |
| `impact` | `blocked`, `annoying` or `minor`. |
| `message` | What happened or what you need, in plain words, 1 to 2,000 characters. |
| `operation` | The operation it is about, such as `units.give`, if any. An ID that is not one of Lurk's operations is not stored; the feedback is. |
| `request_ids` | Up to 5 `Request-Id` values of the calls it is about. Every answer carries one, and so does every error as `request_id`. |
| `docs_path` | The docs page it is about, such as `/guides/rules`. |
| `client` | The SDK (`sdk`) and the agent (`agent`) that sent it, each with a `name` and a `version`, if you know them. |
| `idempotency_key` | Required. A retry with the same key and body returns the first answer. |

Lurk adds the project, whether it is a Production or a Staging project, and whether a key, an agent key or a team member sent it. You cannot set those. A request id, a docs path or a name that looks like a secret or an address is dropped, and the rest of the feedback is kept.

## Rules for agents

Put these in your agent's instructions, or let [Agent instructions](https://docs.getlurk.com/agent-instructions.md) do it:

* Send feedback when you hit a bug, a confusing error, a gap in the docs or a capability that is missing.
* **Ask the user first, once per task.** If they say no, do not send.
* Never include secrets, keys or the data of your user's users. Say what happened in your own words.
* Include the `Request-Id` of the call and the `operation`, so the team can find it.
* If sending fails, carry on with the task. Do not retry.

## What Lurk removes

Before it stores your message, Lurk replaces the credentials and personal data it recognises with `[redacted]`, and keeps only the site of a link. This is a best-effort backstop, **not a guarantee**. It works best in English, and text in another language may keep a credential or personal data. A message that would be mostly removed is refused with `validation_failed`: write it again in your own words. Leave secrets and personal data out in the first place.

## What happens to it

1. Lurk stores the feedback and answers `received`.
2. A member of Lurk staff reads it before it is shared anywhere. They may remove parts of it first, or decline it. Declined feedback is never shared.
3. Feedback from a Production project that they approve goes to Lurk's issue tracker, Linear, where the team works through it.

> [!WARNING]
>
> Feedback from a **Staging** project is stored and read by staff, but it is never sent to Linear. Coding agents usually work with a Staging key, so what they send stays with Lurk's staff and gets no further.

Lurk does not promise a reply or a fix, and it does not contact you about a piece of feedback. If you need an answer, write to [hello@getlurk.com](mailto:hello@getlurk.com).

What Linear receives, how long Lurk keeps feedback and how it is deleted are in [Privacy and AI](https://docs.getlurk.com/guides/privacy-and-ai.md#feedback-you-send-to-lurk).

## Limits

| Limit | Value |
| - | - |
| Per key, agent key or team member | 5 a minute |
| Per project | 50 in 24 hours |
| Message | 2,000 characters |
| Identical message in a project | Within 24 hours you get the same `fb_` ID back, and nothing new is stored |

Past a limit the answer is `429` (`rate_limited`) and the error says when to try again. See [Idempotency, retries and limits](https://docs.getlurk.com/guides/idempotency-and-retries.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.