Mendloop Docs Request access

Issues

List, read, triage, ignore, merge and bulk-update issues, and keep saved views.

An issue groups events with the same fingerprint. Issues belong to one project and one mode. Members limited to some projects only see those projects' issues.

The issue object#

Field Type Description
id uuid Issue id
project_id uuid The project it belongs to
short_id string Project slug and number, e.g. RIDER-12
title string Usually the exception type and message
culprit string Where it happened, e.g. src/cart.tsx in CartItem
fingerprint string The grouping fingerprint
kind string exception, crash, anr, log, http, user_report or ci_failure
level string fatal, error, warning, info or debug
status string open, ignored, resolved or regressed
severity string or null P0 to P4; null until scored
severity_score integer or null Severity score from 0 to 100; null until triaged
severity_reason string or null One-line reason for the severity
platform string e.g. javascript, python, android
first_seen datetime First event
last_seen datetime Latest event
first_release string or null Release of the first event
last_release string or null Release of the latest event
event_count integer Events in the issue
user_count integer Distinct affected users (counted from hashed ids)
trend_24h integer[] Events per hour for the last 24 hours, oldest first
sources string[] Where events came from, e.g. sdk.browser, sentry, api
environments string[] Environments seen
assignee object or null {id, name}
ignore object or null {mode, value} while ignored or snoozed
merged_from integer How many issues were merged into this one
ticket object or null The newest linked ticket: {provider, key, url, status}
owner object or null {kind: user|team, id, name, source, path}

List issues#

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

Issues in the current mode, newest activity first by default. Filters combine with AND; comma-separated values within one filter combine with OR.

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

Query parameters

Parameter Type Required Description
project_id uuid optional Only this project
status string optional open, ignored, resolved, regressed (comma-separated)
severity string optional P0 to P4 (comma-separated)
kind string optional exception, crash, anr, log, … (comma-separated)
platform string optional e.g. javascript (comma-separated)
source string optional One source, e.g. sdk.browser, sentry, api
assignee string optional me, none, or a user id
release string optional The issue's first or latest release equals this
release_since string optional First seen in this release or later. web@1.9 only compares releases of the web package.
environment string optional Seen in this environment
first_seen_after datetime optional First seen after this time
min_users integer optional More than this many affected users
q string optional Text search on title, culprit and short id. Up to 200 characters.
sort string optional last_seen (default), first_seen, events or users
limit integer optional 1 to 200, default 50
cursor string optional next_cursor from the previous page

Response

A page of issue objects: {items, next_cursor}.

Errors

Status Code When
422 invalid_input A filter value is invalid, e.g. assignee isn't me, none or a user id
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues?status=open,regressed&severity=P0,P1,P2&limit=20" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "items": [
    {
      "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
      "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
      "short_id": "RIDER-12",
      "title": "TypeError: Cannot read properties of undefined (reading 'id')",
      "culprit": "src/cart.tsx in CartItem",
      "fingerprint": "9f2c4a7e1b3d5f60",
      "kind": "exception",
      "level": "error",
      "status": "open",
      "severity": "P2",
      "severity_score": 47,
      "severity_reason": "612 users in 24 h on a checkout path",
      "platform": "javascript",
      "first_seen": "2026-11-03T16:02:11Z",
      "last_seen": "2026-11-05T09:14:03Z",
      "first_release": "web@1.8.2",
      "last_release": "web@1.8.3",
      "event_count": 4210,
      "user_count": 612,
      "trend_24h": [
        0,
        0,
        3,
        12,
        40,
        61,
        58,
        44,
        30,
        22,
        19,
        25,
        31,
        29,
        18,
        9,
        4,
        2,
        1,
        0,
        0,
        1,
        6,
        15
      ],
      "sources": [
        "sdk.browser"
      ],
      "environments": [
        "production"
      ],
      "assignee": {
        "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
        "name": "Priya Shah"
      },
      "ignore": null,
      "merged_from": 0,
      "ticket": null,
      "owner": {
        "kind": "team",
        "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
        "name": "Checkout",
        "source": "codeowners",
        "path": "src/cart.tsx"
      }
    }
  ],
  "next_cursor": "AZO34gpMfxm40lHD6af2BA"
}

Get issue stats#

GET/api/v1/orgs/{org_id}/issues/stats

The numbers on the Overview page, for all projects you can see or one project.

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

Query parameters

Parameter Type Required Description
project_id uuid optional Only this project

Response

Field Type Description
open integer Open issues
new_24h integer Issues first seen in the last 24 hours
events_24h integer Events in the last 24 hours
users_24h integer Affected users in the last 24 hours
regressions_7d integer Regressions in the last 7 days
sparkline_7d integer[] Events per day for the last 7 days, oldest first
last_event_at datetime or null Time of the latest event
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/stats" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "open": 38,
  "new_24h": 4,
  "events_24h": 9120,
  "users_24h": 1408,
  "regressions_7d": 2,
  "sparkline_7d": [
    6210,
    5980,
    7430,
    8800,
    9010,
    8650,
    9120
  ],
  "last_event_at": "2026-11-05T09:14:03Z"
}
POST/api/v1/orgs/{org_id}/issues/parse-query

Turns a plain-language search such as "android crashes since 5.42 with more than 100 users" into filters for List issues. Rules run first; when a model is configured, the filter-parser agent handles words the rules don't understand. Nothing is changed.

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

Body (JSON)

Parameter Type Required Description
q string required The search, up to 500 characters

Response

Field Type Description
filters object Query parameters for List issues
chips object[] {key, label, value} for each understood filter
unparsed string Words that became a text search
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/parse-query" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "q": "unassigned android crashes with more than 100 users"
  }'
Response 200JSON
{
  "filters": {
    "assignee": "none",
    "platform": "android",
    "kind": "crash",
    "min_users": 100
  },
  "chips": [
    {
      "key": "assignee",
      "label": "Unassigned",
      "value": "none"
    },
    {
      "key": "platform",
      "label": "Android",
      "value": "android"
    },
    {
      "key": "kind",
      "label": "Crashes",
      "value": "crash"
    },
    {
      "key": "min_users",
      "label": "More than 100 users",
      "value": 100
    }
  ],
  "unparsed": ""
}

Get an issue#

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

One issue with its latest event, a summary of its tags and the signals linked to it (detections, Sentry issues, tickets, chat threads).

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

Response

Field Type Description
… Every field of the issue object
latest_event object or null The latest event, in the shape Get an event returns
tags_summary object[] {key, top: [{value, count}]}
signals object[] {id, kind, source, external_id, url, title, data, created_at}; kind is e.g. detection, sentry_issue, ticket, chat_thread

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" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
  "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
  "short_id": "RIDER-12",
  "title": "TypeError: Cannot read properties of undefined (reading 'id')",
  "culprit": "src/cart.tsx in CartItem",
  "fingerprint": "9f2c4a7e1b3d5f60",
  "kind": "exception",
  "level": "error",
  "status": "open",
  "severity": "P2",
  "severity_score": 47,
  "severity_reason": "612 users in 24 h on a checkout path",
  "platform": "javascript",
  "first_seen": "2026-11-03T16:02:11Z",
  "last_seen": "2026-11-05T09:14:03Z",
  "first_release": "web@1.8.2",
  "last_release": "web@1.8.3",
  "event_count": 4210,
  "user_count": 612,
  "trend_24h": [
    0,
    0,
    3,
    12,
    40,
    61,
    58,
    44,
    30,
    22,
    19,
    25,
    31,
    29,
    18,
    9,
    4,
    2,
    1,
    0,
    0,
    1,
    6,
    15
  ],
  "sources": [
    "sdk.browser"
  ],
  "environments": [
    "production"
  ],
  "assignee": {
    "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
    "name": "Priya Shah"
  },
  "ignore": null,
  "merged_from": 0,
  "ticket": null,
  "owner": {
    "kind": "team",
    "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
    "name": "Checkout",
    "source": "codeowners",
    "path": "src/cart.tsx"
  },
  "latest_event": {
    "id": "0193c1d0-4b2e-7e8a-91c7-3f5a2d6b8e40",
    "issue_id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
    "event_id": "8d2f6c1e4b7a49e0a3c5d7f9b1e2a4c6",
    "timestamp": "2026-11-05T09:14:03Z",
    "…": "…"
  },
  "tags_summary": [
    {
      "key": "browser",
      "top": [
        {
          "value": "Chrome 130",
          "count": 2900
        },
        {
          "value": "Safari 18",
          "count": 1100
        }
      ]
    }
  ],
  "signals": [
    {
      "id": "0193c4e7-5a6b-7c8d-9e0f-1a2b3c4d5e6f",
      "kind": "detection",
      "source": "mendloop",
      "external_id": null,
      "url": null,
      "title": "New issue",
      "data": {},
      "created_at": "2026-11-03T16:02:12Z"
    }
  ]
}

Update an issue#

PATCH/api/v1/orgs/{org_id}/issues/{issue_id}

Changes the status, assignee or severity. Send only the fields you want to change. Audit logged; an issue.updated live event follows.

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

Path parameters

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

Body (JSON)

Parameter Type Required Description
status string optional open, resolved or ignored
assignee_id uuid or null optional A member's user id; null unassigns
severity string or null optional P0 to P4; null goes back to the automatic severity

Response

The updated issue 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
422 invalid_input Unknown status or severity, or the assignee isn't a member
Shell
curl -X PATCH "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "resolved",
    "assignee_id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15"
  }'
Response 200JSON
{
  "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
  "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
  "short_id": "RIDER-12",
  "title": "TypeError: Cannot read properties of undefined (reading 'id')",
  "culprit": "src/cart.tsx in CartItem",
  "fingerprint": "9f2c4a7e1b3d5f60",
  "kind": "exception",
  "level": "error",
  "status": "resolved",
  "severity": "P2",
  "severity_score": 47,
  "severity_reason": "612 users in 24 h on a checkout path",
  "platform": "javascript",
  "first_seen": "2026-11-03T16:02:11Z",
  "last_seen": "2026-11-05T09:14:03Z",
  "first_release": "web@1.8.2",
  "last_release": "web@1.8.3",
  "event_count": 4210,
  "user_count": 612,
  "trend_24h": [
    0,
    0,
    3,
    12,
    40,
    61,
    58,
    44,
    30,
    22,
    19,
    25,
    31,
    29,
    18,
    9,
    4,
    2,
    1,
    0,
    0,
    1,
    6,
    15
  ],
  "sources": [
    "sdk.browser"
  ],
  "environments": [
    "production"
  ],
  "assignee": {
    "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
    "name": "Priya Shah"
  },
  "ignore": null,
  "merged_from": 0,
  "ticket": null,
  "owner": {
    "kind": "team",
    "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
    "name": "Checkout",
    "source": "codeowners",
    "path": "src/cart.tsx"
  }
}

Ignore an issue#

POST/api/v1/orgs/{org_id}/issues/{issue_id}/ignore

Ignores the issue for good, or snoozes it until a number of new events, a date or a later release. A snoozed issue reopens when the condition is met.

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

Path parameters

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

Body (JSON)

Parameter Type Required Description
mode string required forever, until_count, until_date or until_release
value string, integer or null optional until_count: number of new events (1 or more). until_date: an ISO time in the future. until_release: a release (default: the latest).

Response

The updated issue object, with status: ignored and ignore set.

Errors

Status Code When
404 issue_not_found No such issue in this mode, or it's in a project you can't see
422 invalid_input The value doesn't fit the mode
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/ignore" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "until_count",
    "value": 500
  }'
Response 200JSON
{
  "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
  "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
  "short_id": "RIDER-12",
  "title": "TypeError: Cannot read properties of undefined (reading 'id')",
  "culprit": "src/cart.tsx in CartItem",
  "fingerprint": "9f2c4a7e1b3d5f60",
  "kind": "exception",
  "level": "error",
  "status": "ignored",
  "severity": "P2",
  "severity_score": 47,
  "severity_reason": "612 users in 24 h on a checkout path",
  "platform": "javascript",
  "first_seen": "2026-11-03T16:02:11Z",
  "last_seen": "2026-11-05T09:14:03Z",
  "first_release": "web@1.8.2",
  "last_release": "web@1.8.3",
  "event_count": 4210,
  "user_count": 612,
  "trend_24h": [
    0,
    0,
    3,
    12,
    40,
    61,
    58,
    44,
    30,
    22,
    19,
    25,
    31,
    29,
    18,
    9,
    4,
    2,
    1,
    0,
    0,
    1,
    6,
    15
  ],
  "sources": [
    "sdk.browser"
  ],
  "environments": [
    "production"
  ],
  "assignee": {
    "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
    "name": "Priya Shah"
  },
  "ignore": {
    "mode": "until_count",
    "value": "500"
  },
  "merged_from": 0,
  "ticket": null,
  "owner": {
    "kind": "team",
    "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
    "name": "Checkout",
    "source": "codeowners",
    "path": "src/cart.tsx"
  }
}

Merge issues#

POST/api/v1/orgs/{org_id}/issues/{issue_id}/merge

Merges other issues of the same project into this one. Their events and fingerprints move here.

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

Path parameters

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

Body (JSON)

Parameter Type Required Description
issue_ids uuid[] required Issues to merge into this one, 1 to 100

Response

The merged issue 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
422 invalid_input No other issue given, or an issue is from another project
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/merge" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "issue_ids": [
      "0193b7e2-1c88-7a02-9e41-0d5b7f3a2c19",
      "0193b7e2-2d10-7c55-a3b6-8e1f4c9d0a27"
    ]
  }'
Response 200JSON
{
  "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
  "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
  "short_id": "RIDER-12",
  "title": "TypeError: Cannot read properties of undefined (reading 'id')",
  "culprit": "src/cart.tsx in CartItem",
  "fingerprint": "9f2c4a7e1b3d5f60",
  "kind": "exception",
  "level": "error",
  "status": "open",
  "severity": "P2",
  "severity_score": 47,
  "severity_reason": "612 users in 24 h on a checkout path",
  "platform": "javascript",
  "first_seen": "2026-11-03T16:02:11Z",
  "last_seen": "2026-11-05T09:14:03Z",
  "first_release": "web@1.8.2",
  "last_release": "web@1.8.3",
  "event_count": 5120,
  "user_count": 612,
  "trend_24h": [
    0,
    0,
    3,
    12,
    40,
    61,
    58,
    44,
    30,
    22,
    19,
    25,
    31,
    29,
    18,
    9,
    4,
    2,
    1,
    0,
    0,
    1,
    6,
    15
  ],
  "sources": [
    "sdk.browser"
  ],
  "environments": [
    "production"
  ],
  "assignee": {
    "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
    "name": "Priya Shah"
  },
  "ignore": null,
  "merged_from": 2,
  "ticket": null,
  "owner": {
    "kind": "team",
    "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
    "name": "Checkout",
    "source": "codeowners",
    "path": "src/cart.tsx"
  }
}

Unmerge an issue#

POST/api/v1/orgs/{org_id}/issues/{issue_id}/unmerge

Splits fingerprints back out of the issue into a new issue. At least one fingerprint must stay.

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

Path parameters

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

Body (JSON)

Parameter Type Required Description
fingerprints string[] required Fingerprints to split out, 1 to 100

Response

Field Type Description
issue object The original issue
new_issue object The issue the fingerprints moved to

Errors

Status Code When
404 issue_not_found No such issue in this mode, or it's in a project you can't see
422 invalid_input A fingerprint doesn't belong to the issue, or none would stay
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/unmerge" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "fingerprints": [
      "4e1a9c0b2d7f3e65"
    ]
  }'
Response 200JSON
{
  "issue": {
    "id": "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
    "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
    "short_id": "RIDER-12",
    "title": "TypeError: Cannot read properties of undefined (reading 'id')",
    "culprit": "src/cart.tsx in CartItem",
    "fingerprint": "9f2c4a7e1b3d5f60",
    "kind": "exception",
    "level": "error",
    "status": "open",
    "severity": "P2",
    "severity_score": 47,
    "severity_reason": "612 users in 24 h on a checkout path",
    "platform": "javascript",
    "first_seen": "2026-11-03T16:02:11Z",
    "last_seen": "2026-11-05T09:14:03Z",
    "first_release": "web@1.8.2",
    "last_release": "web@1.8.3",
    "event_count": 4210,
    "user_count": 612,
    "trend_24h": [
      0,
      0,
      3,
      12,
      40,
      61,
      58,
      44,
      30,
      22,
      19,
      25,
      31,
      29,
      18,
      9,
      4,
      2,
      1,
      0,
      0,
      1,
      6,
      15
    ],
    "sources": [
      "sdk.browser"
    ],
    "environments": [
      "production"
    ],
    "assignee": {
      "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
      "name": "Priya Shah"
    },
    "ignore": null,
    "merged_from": 1,
    "ticket": null,
    "owner": {
      "kind": "team",
      "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
      "name": "Checkout",
      "source": "codeowners",
      "path": "src/cart.tsx"
    }
  },
  "new_issue": {
    "id": "0193b7e2-1c88-7a02-9e41-0d5b7f3a2c19",
    "project_id": "0193a2c4-61b0-7d3e-9a15-7c2e4f8b1d02",
    "short_id": "RIDER-31",
    "title": "TypeError: Cannot read properties of undefined (reading 'id')",
    "culprit": "src/cart.tsx in CartItem",
    "fingerprint": "9f2c4a7e1b3d5f60",
    "kind": "exception",
    "level": "error",
    "status": "open",
    "severity": "P2",
    "severity_score": 47,
    "severity_reason": "612 users in 24 h on a checkout path",
    "platform": "javascript",
    "first_seen": "2026-11-03T16:02:11Z",
    "last_seen": "2026-11-05T09:14:03Z",
    "first_release": "web@1.8.2",
    "last_release": "web@1.8.3",
    "event_count": 910,
    "user_count": 612,
    "trend_24h": [
      0,
      0,
      3,
      12,
      40,
      61,
      58,
      44,
      30,
      22,
      19,
      25,
      31,
      29,
      18,
      9,
      4,
      2,
      1,
      0,
      0,
      1,
      6,
      15
    ],
    "sources": [
      "sdk.browser"
    ],
    "environments": [
      "production"
    ],
    "assignee": {
      "id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
      "name": "Priya Shah"
    },
    "ignore": null,
    "merged_from": 0,
    "ticket": null,
    "owner": {
      "kind": "team",
      "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
      "name": "Checkout",
      "source": "codeowners",
      "path": "src/cart.tsx"
    }
  }
}

Bulk update issues#

POST/api/v1/orgs/{org_id}/issues/bulk

Applies one action to many issues at once.

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

Path parameters

Parameter Type Required Description
org_id uuid required Organization id

Body (JSON)

Parameter Type Required Description
issue_ids uuid[] required 1 to 500 issues
action string required assign, ignore, resolve, reopen or merge
params object optional assign: {assignee_id} (null unassigns). ignore: {mode, value}. merge: {target_id} (default: the first id).

Response

Field Type Description
updated integer How many issues changed

Errors

Status Code When
404 issue_not_found No such issue in this mode, or it's in a project you can't see
422 invalid_input Unknown action or invalid params
Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/bulk" \
  -H "Authorization: Bearer sk_test_…" \
  -H "Content-Type: application/json" \
  -d '{
    "issue_ids": [
      "0193b7e2-0a4c-7f19-b8d2-51c3e9a7f604",
      "0193b7e2-1c88-7a02-9e41-0d5b7f3a2c19"
    ],
    "action": "assign",
    "params": {
      "assignee_id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15"
    }
  }'
Response 200JSON
{
  "updated": 2
}

Re-run triage#

POST/api/v1/orgs/{org_id}/issues/{issue_id}/triage

Scores the issue's severity and resolves its owner again now, using the current policies.

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

Path parameters

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

Response

Field Type Description
severity string P0 to P4
score integer 0 to 100
factors object[] {name, weight, value, detail, points}; value is 0 to 1, points what it added to the score
reason string One-line reason
owner object or null {kind: user|team, id, name, source, path}
owner_skipped string[] Owner sources that were skipped, with why

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 -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/issues/ISSUE_ID/triage" \
  -H "Authorization: Bearer sk_test_…"
Response 200JSON
{
  "severity": "P2",
  "score": 47,
  "factors": [
    {
      "name": "users",
      "weight": 3.0,
      "value": 0.62,
      "detail": "612 users",
      "points": 18.6
    },
    {
      "name": "critical_paths",
      "weight": 1.5,
      "value": 1.0,
      "detail": "src/cart.tsx matches **/checkout/**",
      "points": 15.0
    }
  ],
  "reason": "612 users in 24 h on a checkout path",
  "owner": {
    "kind": "team",
    "id": "0193a9f2-3c4d-7b18-9e05-2a7d6c1f4b38",
    "name": "Checkout",
    "source": "codeowners",
    "path": "src/cart.tsx"
  },
  "owner_skipped": []
}

Saved views#

Saved views store a search and filters for the Issues page. You see your own views and the ones shared with the organization. Views belong to the current mode.

List saved views#

GET/api/v1/orgs/{org_id}/saved-views

Your saved views plus the shared ones. Returned whole (next_cursor is null).

Auth: session only. Secret keys get 403 api_key_not_allowed. The role needs issues.view.

Path parameters

Parameter Type Required Description
org_id uuid required Organization id

Response

Field Type Description
items[].id uuid View id
items[].name string Name
items[].query string The search text
items[].filters object Filters, as List issues query parameters
items[].shared boolean Visible to the whole organization
items[].owner_id uuid Who saved it
items[].created_at datetime When it was saved
Shell
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/saved-views" \
  --cookie "ml_session=…"
Response 200JSON
{
  "items": [
    {
      "id": "0193b0c1-a1b2-7c3d-8e4f-5a6b7c8d9e0a",
      "name": "Checkout P0-P2",
      "query": "",
      "filters": {
        "severity": "P0,P1,P2",
        "q": "checkout"
      },
      "shared": true,
      "owner_id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
      "created_at": "2026-10-28T11:20:00Z"
    }
  ],
  "next_cursor": null
}

Save a view#

POST/api/v1/orgs/{org_id}/saved-views

Saves a search and filters under a name.

Auth: session only. Secret keys get 403 api_key_not_allowed. The role needs issues.view.

Path parameters

Parameter Type Required Description
org_id uuid required Organization id

Body (JSON)

Parameter Type Required Description
name string required 1 to 200 characters
query string optional Search text, up to 500 characters
filters object optional Filters, as List issues query parameters
shared boolean optional Share with the organization. Default false.

Response

The saved view.

Shell
curl -X POST "https://app.getmendloop.com/api/v1/orgs/ORG_ID/saved-views" \
  --cookie "ml_session=…" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Checkout P0-P2",
    "filters": {
      "severity": "P0,P1,P2",
      "q": "checkout"
    },
    "shared": true
  }'
Response 201JSON
{
  "id": "0193b0c1-a1b2-7c3d-8e4f-5a6b7c8d9e0a",
  "name": "Checkout P0-P2",
  "query": "",
  "filters": {
    "severity": "P0,P1,P2",
    "q": "checkout"
  },
  "shared": true,
  "owner_id": "0193a2c4-5e20-7c11-a3f0-6b9d2e4c8a15",
  "created_at": "2026-11-05T09:30:00Z"
}

Delete a saved view#

DELETE/api/v1/orgs/{org_id}/saved-views/{view_id}

Deletes a view. You can delete your own views; Admins can also delete shared views.

Auth: session only. Secret keys get 403 api_key_not_allowed. The role needs issues.view.

Path parameters

Parameter Type Required Description
org_id uuid required Organization id
view_id uuid required Saved view id

Errors

Status Code When
404 saved_view_not_found No such view, or you can't delete it
Shell
curl -X DELETE "https://app.getmendloop.com/api/v1/orgs/ORG_ID/saved-views/VIEW_ID" \
  --cookie "ml_session=…"
Response 204Text
(empty body)