Releases
Releases seen in a project's events, with event and file counts.
A release is the release string your SDK sends, for example web@1.8.2. Mendloop learns releases from events;
there is no endpoint to create one. Releases drive regression detection (a resolved issue that comes back in a
newer release becomes regressed) and source map matching. To upload files for a release, see
Source maps.
List releases#
GET
/api/v1/orgs/{org_id}/projects/{project_id}/releasesReleases seen in this project's events, newest first. Returned whole (next_cursor is null).
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 |
project_id |
uuid | required | Project id |
Response
| Field | Type | Description |
|---|---|---|
items[].release |
string | The release string |
items[].event_count |
integer | Events with this release |
items[].first_seen |
datetime | First event |
items[].last_seen |
datetime | Latest event |
items[].file_count |
integer | Files uploaded for this release (source maps, bundles) |
Errors
| Status | Code | When |
|---|---|---|
| 404 | project_not_found |
No such project in this mode |
curl "https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/releases" \
-H "Authorization: Bearer sk_test_…"const res = await fetch("https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/releases", {
headers: { Authorization: "Bearer sk_test_…" },
});
if (!res.ok) throw new Error((await res.json()).error.message);
const data = await res.json();import requests
resp = requests.get(
"https://app.getmendloop.com/api/v1/orgs/ORG_ID/projects/PROJECT_ID/releases",
headers={"Authorization": "Bearer sk_test_…"},
timeout=30,
)
resp.raise_for_status()
data = resp.json(){
"items": [
{
"release": "web@1.8.3",
"event_count": 3120,
"first_seen": "2026-11-04T08:00:12Z",
"last_seen": "2026-11-05T09:14:03Z",
"file_count": 14
},
{
"release": "web@1.8.2",
"event_count": 18040,
"first_seen": "2026-10-29T13:41:55Z",
"last_seen": "2026-11-04T08:10:40Z",
"file_count": 14
}
],
"next_cursor": null
}