API reference
Alerts
The Alerts API manages the rules that watch market moves against your calculations and lists the alerts they deliver, with their estimated cost impact.
The Alerts API manages the rules that watch market moves against your calculations and lists the alerts they deliver, with their estimated cost impact.
Auto-generated from the public OpenAPI spec — this page never drifts from the running API. Base URL
https://api.arcnm.io. Authenticate with theX-API-Keyheader (see Authentication).
List Alert Deliveries
GET /api/v1/alerts/deliveries
The inbox: delivered digests and immediate alerts, newest first.
Walk it with next_cursor until has_more is false.
Paginated. Pass
cursor(from the previous response) to fetch the next page;limitcaps the page size.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
unread_only |
query | boolean | no | Only deliveries not yet read. |
cursor |
query | string | no | Opaque position token from the previous page's next_cursor (or the Link / X-Next-Cursor response header). Omit it for the first page. Keep every other query parameter identical for the whole walk — a cursor replayed against different filters is rejected. |
limit |
query | integer | no | Maximum rows to return in one page. |
Request
curl -X GET https://api.arcnm.io/api/v1/alerts/deliveries \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/alerts/deliveries",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/deliveries", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
count |
integer | Rows on this page. |
has_more |
boolean | |
items |
AlertDeliveryPublic[] | |
next_cursor |
string |
Example response
{
"count": 0,
"has_more": true,
"items": [
{
"calculation_count": 0,
"channels": [
"in_app"
],
"delivered_at": "2026-06-01T12:00:00Z",
"event_count": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "digest",
"period_end": "2026-06-01T12:00:00Z",
"period_start": "2026-06-01T12:00:00Z",
"read_at": "2026-06-01T12:00:00Z",
"reprice_batch_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_name": "string",
"status": "pending",
"top_annual_impact": 0,
"top_currency": "string",
"top_part_number": "string",
"trigger": "driver_move"
}
],
"next_cursor": "string"
}
Get Alert Delivery
GET /api/v1/alerts/deliveries/{delivery_id}
One delivery with its full impact summary: the events, the current calculations they move with the estimated change and its attribution to drivers, and the totals.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
delivery_id |
path | string | yes | Identifier of the delivery. |
Request
curl -X GET https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id}", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
calculation_count |
integer | |
channels |
in_app | email | webhook[] |
The channels it went out on. |
delivered_at |
string | |
event_count |
integer | |
id |
string | |
impact_summary |
AlertImpactSummaryPublic | |
kind |
digest | immediate |
digest or immediate. |
period_end |
string | |
period_start |
string | |
read_at |
string | |
reprice_batch_id |
string | The re-price batch created from this delivery, if any. |
rule_id |
string | |
rule_name |
string | |
status |
pending | delivered | suppressed | failed |
|
top_annual_impact |
number | The largest |
top_currency |
string | |
top_part_number |
string | |
trigger |
driver_move | cost_impact | version_published | source_outage |
Example response
{
"calculation_count": 0,
"channels": [
"in_app"
],
"delivered_at": "2026-06-01T12:00:00Z",
"event_count": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"impact_summary": {
"calculations": [
{
"annual_impact": 0,
"calculation_id": "string",
"currency": "EUR",
"drivers": [],
"environment_id": "string",
"environment_name": "string",
"estimated_delta": 0,
"estimated_delta_pct": 0,
"lot_size": 50,
"part_id": "string",
"part_number": "BRACKET-001",
"unit_cost": 12.84
}
],
"events": [
{
"delta_pct": 0,
"detected_at": "string",
"driver_key": "string",
"environment_id": "string",
"environment_name": "string",
"environments": [],
"from_value": 0,
"id": "string",
"kind": "move",
"qualifier": "string",
"region_code": "string",
"severity": "info",
"to_value": 0,
"version_id": "string",
"version_label": "string"
}
],
"totals": {
"annual_impact_eur": 0,
"calculations": 0,
"currency_note": "string"
},
"truncated": 0
},
"kind": "digest",
"period_end": "2026-06-01T12:00:00Z",
"period_start": "2026-06-01T12:00:00Z",
"read_at": "2026-06-01T12:00:00Z",
"reprice_batch_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_name": "string",
"status": "pending",
"top_annual_impact": 0,
"top_currency": "string",
"top_part_number": "string",
"trigger": "driver_move"
}
Mark Alert Delivery Read
POST /api/v1/alerts/deliveries/{delivery_id}/read
Mark one delivery read (idempotent: the first read time stays).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
delivery_id |
path | string | yes | Identifier of the delivery. |
Request
curl -X POST https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id}/read \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id}/read",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/deliveries/{delivery_id}/read", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
calculation_count |
integer | |
channels |
in_app | email | webhook[] |
The channels it went out on. |
delivered_at |
string | |
event_count |
integer | |
id |
string | |
kind |
digest | immediate |
digest or immediate. |
period_end |
string | |
period_start |
string | |
read_at |
string | |
reprice_batch_id |
string | The re-price batch created from this delivery, if any. |
rule_id |
string | |
rule_name |
string | |
status |
pending | delivered | suppressed | failed |
|
top_annual_impact |
number | The largest |
top_currency |
string | |
top_part_number |
string | |
trigger |
driver_move | cost_impact | version_published | source_outage |
Example response
{
"calculation_count": 0,
"channels": [
"in_app"
],
"delivered_at": "2026-06-01T12:00:00Z",
"event_count": 0,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"kind": "digest",
"period_end": "2026-06-01T12:00:00Z",
"period_start": "2026-06-01T12:00:00Z",
"read_at": "2026-06-01T12:00:00Z",
"reprice_batch_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rule_name": "string",
"status": "pending",
"top_annual_impact": 0,
"top_currency": "string",
"top_part_number": "string",
"trigger": "driver_move"
}
Mark All Alert Deliveries Read
POST /api/v1/alerts/deliveries/read-all
Mark every delivered, unread delivery read.
Request
curl -X POST https://api.arcnm.io/api/v1/alerts/deliveries/read-all \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/alerts/deliveries/read-all",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/deliveries/read-all", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
marked |
integer | Deliveries newly marked read. |
Example response
{
"marked": 0
}
List Alert Rules
GET /api/v1/alerts/rules
The organization's alert rules, by name.
Request
curl -X GET https://api.arcnm.io/api/v1/alerts/rules \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/alerts/rules",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/rules", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Create Alert Rule
POST /api/v1/alerts/rules
Create an alert rule. The timezone must be an IANA name, a narrowed scope must name one of your environments or folders, and driver keys must be registered drivers.
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
channels |
in_app | email | webhook[] |
no | Where a delivery goes: in_app, email, webhook. |
digest |
immediate | daily | weekly |
no | immediate (at most three per organization per UTC day — the excess folds into the rule's daily digest), daily (the local calendar day) or weekly (the local week from Monday). |
digest_hour_local |
integer | no | The local hour a digest goes out. |
drivers |
string[] | no | Only these driver keys (e.g. material.eur_per_kg); null = every driver. |
enabled |
boolean | no | |
frozen_only |
boolean | no | Only calculations under the frozen assumption policy — the prices you signed. |
min_impact_eur |
number | no | cost_impact: the minimum annualised impact in EUR over the matched calculations. |
min_severity |
info | notable | significant |
no | Only events at least this severe. |
name |
string | yes | Unique per organization. |
scope |
org | environment | part_set |
no | What the rule watches: org (every current calculation), environment (one environment, named by scope_id) or part_set (the parts of one folder, named by scope_id). |
scope_id |
string | no | The environment (scope environment) or folder (part_set); null for org. |
threshold_pct |
number | no | driver_move: the minimum |
timezone |
string | no | IANA timezone name. |
trigger |
driver_move | cost_impact | version_published | source_outage |
yes | driver_move — a reference value your current calculations read moved; cost_impact — the estimated unit cost of a current calculation moved; version_published — an environment you follow published a version; source_outage — a market-data source is out of reach. |
Request
curl -X POST https://api.arcnm.io/api/v1/alerts/rules \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "string",
"trigger": "driver_move"
}'
import requests
resp = requests.post(
"https://api.arcnm.io/api/v1/alerts/rules",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"name": "string",
"trigger": "driver_move"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/rules", {
method: "POST",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"name": "string",
"trigger": "driver_move"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
201 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 201
| Field | Type | Description |
|---|---|---|
channels |
in_app | email | webhook[] |
|
created_at |
string | |
digest |
immediate | daily | weekly |
immediate (at most three per organization per UTC day — the excess folds into the rule's daily digest), daily (the local calendar day) or weekly (the local week from Monday). |
digest_hour_local |
integer | |
drivers |
string[] | |
enabled |
boolean | |
frozen_only |
boolean | |
id |
string | |
is_default |
boolean | One of the rules created on the organization's first follow. |
min_impact_eur |
number | |
min_severity |
info | notable | significant |
|
name |
string | |
scope |
org | environment | part_set |
What the rule watches: org (every current calculation), environment (one environment, named by scope_id) or part_set (the parts of one folder, named by scope_id). |
scope_id |
string | |
threshold_pct |
number | driver_move: the minimum |
timezone |
string | |
trigger |
driver_move | cost_impact | version_published | source_outage |
driver_move — a reference value your current calculations read moved; cost_impact — the estimated unit cost of a current calculation moved; version_published — an environment you follow published a version; source_outage — a market-data source is out of reach. |
update_modes |
automatic | ask | fixed[] |
version_published: only the follows in these update modes — automatic, ask (a new version waits for a person's decision) or fixed; null = every follow. |
updated_at |
string |
Example response
{
"channels": [
"in_app"
],
"created_at": "2026-06-01T12:00:00Z",
"digest": "immediate",
"digest_hour_local": 0,
"drivers": [
"string"
],
"enabled": true,
"frozen_only": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_default": true,
"min_impact_eur": 0,
"min_severity": "info",
"name": "string",
"scope": "org",
"scope_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"threshold_pct": 0,
"timezone": "string",
"trigger": "driver_move",
"update_modes": [
"automatic"
],
"updated_at": "2026-06-01T12:00:00Z"
}
Delete Alert Rule
DELETE /api/v1/alerts/rules/{rule_id}
Delete an alert rule and its deliveries.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
rule_id |
path | string | yes | Identifier of the rule. |
Request
curl -X DELETE https://api.arcnm.io/api/v1/alerts/rules/{rule_id} \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.delete(
"https://api.arcnm.io/api/v1/alerts/rules/{rule_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/rules/{rule_id}", {
method: "DELETE",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
message |
string | Human-readable confirmation that the rule was deleted. |
Example response
{
"message": "string"
}
Update Alert Rule
PATCH /api/v1/alerts/rules/{rule_id}
Change an alert rule; omitted fields keep their values. Changing the
scope re-checks the scope id; null clears an optional filter.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
rule_id |
path | string | yes | Identifier of the rule. |
Request body (application/json)
| Field | Type | Required | Description |
|---|---|---|---|
channels |
in_app | email | webhook[] |
no | |
digest |
immediate | daily | weekly |
no | immediate (at most three per organization per UTC day — the excess folds into the rule's daily digest), daily (the local calendar day) or weekly (the local week from Monday). |
digest_hour_local |
integer | no | |
drivers |
string[] | no | |
enabled |
boolean | no | |
frozen_only |
boolean | no | |
min_impact_eur |
number | no | |
min_severity |
info | notable | significant |
no | |
name |
string | no | |
scope |
org | environment | part_set |
no | What the rule watches: org (every current calculation), environment (one environment, named by scope_id) or part_set (the parts of one folder, named by scope_id). |
scope_id |
string | no | |
threshold_pct |
number | no | driver_move: the minimum |
timezone |
string | no | |
trigger |
driver_move | cost_impact | version_published | source_outage |
no | driver_move — a reference value your current calculations read moved; cost_impact — the estimated unit cost of a current calculation moved; version_published — an environment you follow published a version; source_outage — a market-data source is out of reach. |
Request
curl -X PATCH https://api.arcnm.io/api/v1/alerts/rules/{rule_id} \
-H "X-API-Key: $ARCNM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"channels": [
"in_app"
],
"digest": "immediate",
"digest_hour_local": 0,
"drivers": [
"string"
],
"enabled": true,
"frozen_only": true,
"min_impact_eur": 0,
"min_severity": "info",
"name": "string",
"scope": "org",
"scope_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"threshold_pct": 0,
"timezone": "string",
"trigger": "driver_move"
}'
import requests
resp = requests.patch(
"https://api.arcnm.io/api/v1/alerts/rules/{rule_id}",
headers={"X-API-Key": "YOUR_API_KEY"},
json={
"channels": [
"in_app"
],
"digest": "immediate",
"digest_hour_local": 0,
"drivers": [
"string"
],
"enabled": True,
"frozen_only": True,
"min_impact_eur": 0,
"min_severity": "info",
"name": "string",
"scope": "org",
"scope_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"threshold_pct": 0,
"timezone": "string",
"trigger": "driver_move"
},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/rules/{rule_id}", {
method: "PATCH",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
"Content-Type": "application/json",
},
body: JSON.stringify({
"channels": [
"in_app"
],
"digest": "immediate",
"digest_hour_local": 0,
"drivers": [
"string"
],
"enabled": true,
"frozen_only": true,
"min_impact_eur": 0,
"min_severity": "info",
"name": "string",
"scope": "org",
"scope_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"threshold_pct": 0,
"timezone": "string",
"trigger": "driver_move"
}),
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
404 |
not_found |
A referenced resource doesn't exist or isn't visible to your organisation. |
409 |
conflict |
A conflicting change, or an Idempotency-Key reused with a different body. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
channels |
in_app | email | webhook[] |
|
created_at |
string | |
digest |
immediate | daily | weekly |
immediate (at most three per organization per UTC day — the excess folds into the rule's daily digest), daily (the local calendar day) or weekly (the local week from Monday). |
digest_hour_local |
integer | |
drivers |
string[] | |
enabled |
boolean | |
frozen_only |
boolean | |
id |
string | |
is_default |
boolean | One of the rules created on the organization's first follow. |
min_impact_eur |
number | |
min_severity |
info | notable | significant |
|
name |
string | |
scope |
org | environment | part_set |
What the rule watches: org (every current calculation), environment (one environment, named by scope_id) or part_set (the parts of one folder, named by scope_id). |
scope_id |
string | |
threshold_pct |
number | driver_move: the minimum |
timezone |
string | |
trigger |
driver_move | cost_impact | version_published | source_outage |
driver_move — a reference value your current calculations read moved; cost_impact — the estimated unit cost of a current calculation moved; version_published — an environment you follow published a version; source_outage — a market-data source is out of reach. |
update_modes |
automatic | ask | fixed[] |
version_published: only the follows in these update modes — automatic, ask (a new version waits for a person's decision) or fixed; null = every follow. |
updated_at |
string |
Example response
{
"channels": [
"in_app"
],
"created_at": "2026-06-01T12:00:00Z",
"digest": "immediate",
"digest_hour_local": 0,
"drivers": [
"string"
],
"enabled": true,
"frozen_only": true,
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"is_default": true,
"min_impact_eur": 0,
"min_severity": "info",
"name": "string",
"scope": "org",
"scope_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"threshold_pct": 0,
"timezone": "string",
"trigger": "driver_move",
"update_modes": [
"automatic"
],
"updated_at": "2026-06-01T12:00:00Z"
}
Count Unread Alert Deliveries
GET /api/v1/alerts/unread-count
How many delivered deliveries are unread — the badge.
Request
curl -X GET https://api.arcnm.io/api/v1/alerts/unread-count \
-H "X-API-Key: $ARCNM_API_KEY"
import requests
resp = requests.get(
"https://api.arcnm.io/api/v1/alerts/unread-count",
headers={"X-API-Key": "YOUR_API_KEY"},
)
resp.raise_for_status()
print(resp.json())
const resp = await fetch("https://api.arcnm.io/api/v1/alerts/unread-count", {
method: "GET",
headers: {
"X-API-Key": process.env.ARCNM_API_KEY!,
},
})
const data = await resp.json()
Responses
| Status | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
default |
Error — the error envelope; branch on error.code. |
Errors
Standard error responses — see the Errors catalog for the full envelope, request_id, and retry-safety table.
| Status | Code | When |
|---|---|---|
401 |
invalid_api_key |
Missing, malformed, or revoked API key. |
403 |
insufficient_scope |
The key is valid but lacks a scope this endpoint requires. |
429 |
rate_limited |
Per-key or per-org rate limit exceeded — back off with jitter and retry. |
Response body 200
| Field | Type | Description |
|---|---|---|
unread |
integer | Delivered, unread deliveries. |
Example response
{
"unread": 0
}