Skip to content
FeedunaDeveloper docs

Turn API usage questions into Linear issues

Let customers flag a charge right in your usage dashboard. Review the question with the exact event attached, then send it to your team in Linear.

Sample usage report

Why did this API call cost $0.92?

Event
evt_demo_0197
Period
November 2026
Price ID
price_demo_standard
Watch a usage report go to Linear (28 seconds)

A customer flags a $0.92 API call. You review the AI draft, check the event ID, edit the title and approve the Linear issue in the demo.

Try the $0.92 example

Attach the usage record the customer sees

Install the widget and add a report button by each charge. Set the button’s attributes from the event shown on that row. The handler attaches the event reference and a label with its billing month and price ID.

Button on each usage row
<button type="button" data-feeduna-usage
  data-event-id="evt_demo_0197" data-billing-month="2026-11"
  data-price-id="price_demo_standard">Report this charge</button>
Add this JavaScript handler once
document.addEventListener("click", (event) => {
  const button = event.target instanceof Element
    ? event.target.closest("button[data-feeduna-usage]") : null;
  if (!button || !window.Feeduna) return;
  const { eventId, billingMonth, priceId } = button.dataset;
  window.Feeduna.feedbackFor({
    type: "data_record",
    collection: "usage_events",
    id: eventId,
    label: billingMonth + " · " + priceId,
  });
});

Use an opaque reference. If you add a path to the record, keep it behind your app’s access checks. The record setup guide also shows how to mark an entire row.

Review before you send to Linear

Open the report in Feeduna, check the event reference and edit the issue. Once you’ve connected Linear, choose your team and create the issue.

For questions about a monthly total

Give each saved statement version its own reference so your team can reopen the total the customer saw after a later adjustment.

Try the monthly statement example