Mendloop Docs Request access

Events

List an issue's events and read one normalized, scrubbed event.

Events are the individual occurrences behind an issue. Every event is stored in one normalized shape, whatever sent it (an SDK, the Sentry integration or /v1/events). Text is scrubbed and user identifiers are hashed; the raw values were never stored. Raw events are kept for 30 days by default.

The event object#

Field Type Description
id uuid Mendloop's id for the stored event
issue_id uuid The issue it belongs to
event_id string 32 hex characters, from the SDK or generated
timestamp string When it happened (ISO 8601)
received_at string When ingest received it
platform string e.g. javascript
level string fatal, error, warning, info or debug
kind string exception, crash, anr, log, http, user_report or ci_failure
environment string or null e.g. production
release string or null e.g. web@1.8.2
source string e.g. sdk.browser, sdk.sentry, sentry, api
message string Scrubbed message
exception object[] {type, value, frames}; frames are outermost call first, the frame that raised last
exception[].frames[] object {filename, abs_path, function, module, lineno, colno, in_app, context_line}; symbolicated frames add pre_context, post_context, mapped: true and the original location in minified
breadcrumbs object[] {timestamp, category, type, level, message, data}
context object user_hash, session_hash, trace_id, device, os, browser, runtime, app, url, request when present
tags object Tags, plus feature_flags when the SDK sent flags
extra, logger, transaction, culprit, fingerprint, sdk, attachments Present when the event had them. attachments is [{name, content_type, size}].

List an issue's events#

GET/api/v1/orgs/{org_id}/issues/{issue_id}/events

The issue's events, newest first, as short summaries.

Auth: secret key with the issues:read scope, or a session. Either way the role behind it needs issues.view.

Path parameters

Parameter Type Required Description
org_id uuid required Organization id
issue_id uuid required Issue id

Query parameters

Parameter Type Required Description
limit integer optional 1 to 200, default 50
cursor string optional next_cursor from the previous page

Response

Field Type Description
items[].id uuid Event id
items[].event_id string 32-hex event id
items[].timestamp datetime When it happened
items[].release string or null Release
items[].environment string or null Environment
items[].user_hash_short string or null First 8 characters of the hashed user id
items[].message string Message, up to 500 characters
next_cursor string or null Cursor for the next page

Errors

Status Code When
404 issue_not_found No such issue in this mode, or it's in a project you can't see
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/events?limit=2" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "items": [
    {
      "id": "0193c1d0-4b2e-7e8a-91c7-3f5a2d6b8e40",
      "event_id": "8d2f6c1e4b7a49e0a3c5d7f9b1e2a4c6",
      "timestamp": "2026-11-05T09:14:03.512Z",
      "release": "web@1.8.3",
      "environment": "production",
      "user_hash_short": "mlh_5c1e",
      "message": "TypeError: Cannot read properties of undefined (reading 'id')"
    }
  ],
  "next_cursor": "AZPB0EsuforpkcfPWi1rjk"
}

Get an event#

GET/api/v1/orgs/{org_id}/issues/{issue_id}/events/{event_id}

One full normalized event. event_id can be Mendloop's id or the 32-character event id.

Auth: secret key with the issues:read scope, or a session. Either way the role behind it needs issues.view.

Path parameters

Parameter Type Required Description
org_id uuid required Organization id
issue_id uuid required Issue id
event_id string required Mendloop's event id (uuid) or the 32-hex event id

Response

The event object.

Errors

Status Code When
404 issue_not_found No such issue in this mode, or it's in a project you can't see
404 event_not_found No such event in this issue
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/events/EVENT_ID" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "id": "0193c1d0-4b2e-7e8a-91c7-3f5a2d6b8e40",
  "issue_id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
  "event_id": "8d2f6c1e4b7a49e0a3c5d7f9b1e2a4c6",
  "timestamp": "2026-11-05T09:14:03.512Z",
  "received_at": "2026-11-05T09:14:03.640Z",
  "platform": "javascript",
  "level": "error",
  "kind": "exception",
  "environment": "production",
  "release": "web@1.8.3",
  "source": "sdk.browser",
  "message": "TypeError: Cannot read properties of undefined (reading 'id')",
  "exception": [
    {
      "type": "TypeError",
      "value": "Cannot read properties of undefined (reading 'id')",
      "frames": [
        {
          "filename": "src/pages/cart.tsx",
          "function": "CartPage",
          "lineno": 88,
          "colno": 12,
          "in_app": true,
          "mapped": true
        },
        {
          "filename": "src/cart.tsx",
          "function": "CartItem",
          "lineno": 42,
          "colno": 7,
          "in_app": true,
          "context_line": "  const id = item.product.id;",
          "mapped": true,
          "minified": {
            "abs_path": "https://shop.example.com/assets/app.4f2a.js",
            "lineno": 1,
            "colno": 18342
          }
        }
      ]
    }
  ],
  "breadcrumbs": [
    {
      "timestamp": "2026-11-05T09:14:01Z",
      "category": "navigation",
      "message": "/products -> /cart",
      "data": {}
    }
  ],
  "context": {
    "user_hash": "mlh_5c1e9a…",
    "browser": {
      "name": "Chrome",
      "version": "130"
    },
    "os": {
      "name": "macOS",
      "version": "15.1"
    },
    "url": "/cart"
  },
  "tags": {
    "plan": "pro"
  }
}