{
  "id": "crdt_sources-alerts",
  "title": "Database CRDT sources alerts requests",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/rest-api/requests/bdbs/crdt_sources-alerts/",
  "summary": "Conflict-free replicated data type (CRDT) source alert requests",
  "content": "\n| Method | Path | Description |\n|--------|------|-------------|\n| [GET](#get-all-bdbs-crdt-sources-alerts) | `/v1/bdbs/crdt_sources/alerts` | Get all CRDT sources alert states for all CRDB databases |\n| [GET](#get-bdbs-crdt-sources-alerts) | `/v1/bdbs/crdt_sources/alerts/{uid}` | Get all CRDT sources alert states for a database |\n| [GET](#get-bdbs-crdt-source-all-alerts) | `/v1/bdbs/crdt_sources/alerts/{uid}/{crdt_src_id}` | Get all alert states for a CRDT source |\n| [GET](#get-bdbs-crdt-source-alert) | `/v1/bdbs/crdt_sources/alerts/{uid}/{crdt_src_id}/{alert}` | Get a database alert state |\n\n## Get all CRDB CRDT source alert states {#get-all-bdbs-crdt-sources-alerts}\n\n\tGET /v1/bdbs/crdt_sources/alerts\n\nGet all alert states for all CRDT sources of all CRDBs.\n\n#### Required permissions\n\n| Permission name |\n|-----------------|\n| [view_all_bdbs_alerts]() |\n\n### Request {#get-all-request} \n\n#### Example HTTP request\n\n\tGET /v1/bdbs/crdt_sources/alerts \n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n### Response {#get-all-response} \n\nReturns a hash of alert UIDs and the [alerts states]() for each local BDB of CRDB.\n\n#### Example JSON body\n\n```json\n{\n    \"1\": {\n        \"crdt_src_syncer_connection_error\": {\n            \"enabled\": true,\n            \"state\": true,\n            \"threshold\": \"80\",\n            \"change_time\": \"2014-08-29T11:19:49Z\",\n            \"severity\": \"WARNING\",\n            \"change_value\": {\n                \"state\": true,\n                \"threshold\": \"80\",\n                \"memory_util\": 81.2\n            }\n        },\n        \"...\"\n    },\n    \"...\"\n}\n```\n\n### Status codes {#get-all-status-codes} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error |\n\n## Get all BDB CRDT sources alert states {#get-bdbs-crdt-sources-alerts}\n\n\tGET /v1/bdbs/crdt_sources/alerts/{int: uid}\n\nGet all alert states for all crdt sources for a specific local bdb of a CRDB.\n\n#### Required permissions\n\n| Permission name |\n|-----------------|\n| [view_bdb_alerts]() |\n\n### Request {#get-request-all-crdt-alerts} \n\n#### Example HTTP request\n\n\tGET /v1/bdbs/crdt_sources/alerts/1 \n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n#### URL parameters\n\n| Field | Type | Description |\n|-------|------|-------------|\n| uid | integer | The unique ID of the database |\n\n### Response {#get-response-all-crdt-alerts} \n\nReturns a hash of [alert objects]() and their states.\n\n#### Example JSON body\n\n```json\n{\n    \"crdt_src_syncer_connection_error\": {\n        \"enabled\": true,\n        \"state\": true,\n        \"threshold\": \"80\",\n        \"severity\": \"WARNING\",\n        \"change_time\": \"2014-08-29T11:19:49Z\",\n        \"change_value\": {\n            \"state\": true,\n            \"threshold\": \"80\",\n            \"memory_util\": 81.2\n        }\n    },\n    \"...\"\n}\n```\n\n### Status codes {#get-status-codes-all-crdt-alerts} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error |\n| [404 Not Found](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5) | Specified bdb does not exist |\n\n## Get all CRDT source alert states {#get-bdbs-crdt-source-all-alerts}\n\n\tGET /v1/bdbs/crdt_sources/alerts/{int: uid}/{int: crdt_src_id}\n\nGet all alert states for specific crdt source for a specific local BDB\nof a CRDB.\n\n#### Required permissions\n\n| Permission name |\n|-----------------|\n| [view_bdb_alerts]() |\n\n### Request {#get-request-crdt-alerts} \n\n#### Example HTTP request\n\n\tGET /v1/bdbs/crdt_sources/alerts/1/2 \n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n#### URL parameters\n\n| Field | Type | Description |\n|-------|------|-------------|\n| uid | integer | The unique ID of the database |\n| crdt_src_id | integer | The ID of the crdt source in this BDB |\n\n### Response {#get-response-crdt-alerts} \n\nReturns a hash of [alert objects]() and their states. \n\n#### Example JSON body\n\n```json\n{\n    \"crdt_src_syncer_connection_error\": {\n        \"enabled\": true,\n        \"state\": true,\n        \"threshold\": \"80\",\n        \"severity\": \"WARNING\",\n        \"change_time\": \"2014-08-29T11:19:49Z\",\n        \"change_value\": {\n            \"state\": true,\n            \"threshold\": \"80\",\n            \"memory_util\": 81.2\n        }\n    },\n    \"...\"\n}\n```\n\n### Status codes {#get-status-codes-crdt-alerts} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error |\n| [404 Not Found](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5) | Specified bdb does not exist |\n\n## Get database alert state {#get-bdbs-crdt-source-alert}\n\n\tGET /v1/bdbs/crdt_sources/alerts/{int: uid}/{int: crdt_src_id}/{alert}\n\nGet a BDB alert state.\n\n#### Required permissions\n\n| Permission name |\n|-----------------|\n| [view_bdb_alerts]() |\n\n### Request {#get-request-alert} \n\n#### Example HTTP request\n\n\tGET /v1/bdbs/crdt_sources/alerts/1/2/crdt_src_syncer_connection_error \n\n#### Request headers\n\n| Key | Value | Description |\n|-----|-------|-------------|\n| Host | cnm.cluster.fqdn | Domain name |\n| Accept | application/json | Accepted media type |\n\n\n#### URL parameters\n\n| Field | Type | Description |\n|-------|------|-------------|\n| uid | integer | The unique ID of the database |\n| crdt_src_id | integer | The ID of the crdt source in this BDB |\n| alert | string | The alert name |\n\n### Response {#get-response-alert} \n\nReturns an [alert object]().\n\n#### Example JSON body\n\n```json\n{\n    \"enabled\": true,\n    \"state\": true,\n    \"threshold\": \"80\",\n    \"severity\": \"WARNING\",\n    \"change_time\": \"2014-08-29T11:19:49Z\",\n    \"change_value\": {\n        \"state\": true,\n        \"threshold\": \"80\",\n        \"memory_util\": 81.2\n    }\n}\n```\n\n### Status codes {#get-status-codes-alert} \n\n| Code | Description |\n|------|-------------|\n| [200 OK](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1) | No error |\n| [400 Bad Request](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1) | Bad request |\n| [404 Not Found](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5) | Specified alert or bdb does not exist |\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

