Back to Eliza

Bug Report API

packages/docs/rest/bug-report.md

2.0.12.0 KB
Original Source

The bug report API accepts structured bug reports from the Eliza UI's Help menu and routes them into the project's issue tracker. Submissions are rate-limited per source IP to prevent abuse.

Endpoints

MethodPathDescription
GET/api/bug-report/infoReturns environment metadata + rate-limit state used to prefill the form.
POST/api/bug-reportSubmits a bug report. Rate-limited: 5 submissions per 10 minute window per IP.

GET /api/bug-report/info

Returns metadata the client can use to prefill the bug report form (node version, app version, release channel) and the current rate-limit window.

POST /api/bug-report

Submits a bug report with the following body shape:

FieldTypeRequiredDescription
descriptionstringyesWhat went wrong.
stepsToReproducestringyesHow to trigger the issue.
expectedBehaviorstringnoWhat the user expected to happen.
actualBehaviorstringnoWhat actually happened.
environmentstringnoOS / runtime info.
nodeVersionstringnoNode version reported by the client.
modelProviderstringnoWhich provider was in use (OpenAI, Anthropic, local, …).
logsstringnoRecent log tail.
category"general" | "startup-failure"noTriage hint.
appVersionstringnoApp version string.
releaseChannelstringnostable / beta / nightly.
startupobjectnoStartup-failure context (reason, fail-fast diagnostics).

Rate limiting

Bug reports are rate-limited to 5 submissions per 10 minute window per source IP. When the limit is hit, the endpoint returns 429.

Triggered by

The Eliza UI shows a Report a bug entry in the Help menu in the header. The startup-failure UI also opens this form pre-filled with a startup-failure category and crash context.