Shipeasy
Flags experimentsApiOperations

Update a tracked error's status

Flips the triage state of one error — the only mutation this surface allows. Valid transitions are between open, resolved, and ignored; the body must carry…

Flips the triage state of one error — the only mutation this surface allows. Valid transitions are between open, resolved, and ignored; the body must carry exactly { "status": … }.

A resolved error reopens automatically (ingestion-side) if it recurs; ignored is sticky until flipped back here. Returns the updated row.

Use cases
  • Triage{ "status": "ignored" } to suppress a known-benign issue from the open list.
  • Close out{ "status": "resolved" } once the fix lands; it reopens on its own if the error recurs.
PATCH
/api/admin/errors/{id}

Authorization

bearerSdkKey
AuthorizationBearer <token>

Pass an admin SDK key as Authorization: Bearer sdk_admin_…. Mint via POST /api/admin/keys with type: "admin".

In: header

Path Parameters

id*string

Stable opaque error id (err_…).

Length1 <= length <= 128

Header Parameters

X-Project-Id?string

Project the request operates on. Optional — defaults to the project the SDK key belongs to; pass it only to scope a multi-project key (the generated client sets it once from its configuration, so per-call callers never thread it).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://shipeasy.ai/api/admin/errors/string" \  -H "Content-Type: application/json" \  -d '{    "status": "resolved"  }'
{
  "id": "err_01j7w7m9q4hxbf6npe6s9zr3vc",
  "projectId": "e976b15e-2f0d-4c6e-9b1a-3a7c1f2d8e90",
  "fingerprint": "9c1f4f1f2c0c4a5fa1c2b6d3e7c8e3a1",
  "causedByFingerprint": null,
  "message": "Cannot read properties of undefined (reading 'id')",
  "errorType": "TypeError",
  "stack": null,
  "source": "shipeasy",
  "url": "https://app.example.com/dashboard/gat_01j7/edit",
  "seenUrls": null,
  "subject": "gate editor",
  "outcome": "crash on load",
  "side": "client",
  "env": "prod",
  "kind": "uncaught",
  "lastExtrasJson": null,
  "sdkVersion": "6.0.0",
  "count": 137,
  "status": "resolved",
  "firstSeenAt": "2026-06-20T08:11:02.000Z",
  "lastSeenAt": "2026-06-28T14:55:31.000Z",
  "createdAt": "2026-06-20T08:11:02.000Z",
  "updatedAt": "2026-06-28T15:02:10.000Z"
}
{
  "error": "Malformed request (bad JSON, missing project scope).",
  "code": "BAD_REQUEST"
}
{
  "error": "Missing or invalid admin SDK key.",
  "code": "UNAUTHORIZED"
}

{
  "error": "Key is valid but not allowed to act on this project.",
  "code": "FORBIDDEN"
}

{
  "error": "The resource does not exist or is not visible to the caller.",
  "code": "NOT_FOUND"
}

{
  "error": "A resource with this name already exists in the project.",
  "code": "ALREADY_EXISTS"
}

{
  "error": "The request body failed structural (schema) validation.",
  "code": "VALIDATION"
}

Was this page helpful?
✎ Edit this page