# Get current alerting configuration **GET /alerts/config** Retrieves the current alerting configuration from Mimir (source of truth). By default returns structured JSON (AlertingConfig). Use ?format=yaml to get the raw redacted YAML. ## Servers - Backend API server (port 8080): https://api.your-domain.com/api (Backend API server (port 8080)) - Collect API server (port 8081): https://collect.your-domain.com/api (Collect API server (port 8081)) ## Authentication methods - Bearer auth ## Parameters ### Query parameters - **organization_id** (string) Target organization ID. Required for Owner, Distributor, and Reseller roles. - **format** (string) Response format. Omit for JSON (default) or set to "yaml" for raw YAML. ## Responses ### 200 Current alerting configuration #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object) ### 400 Bad request - validation error #### Body: application/json (object) - **code** (integer) HTTP error code - **message** (string) Error message - **data** (object) ### 401 Unauthorized - invalid or missing token #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 403 Forbidden - insufficient permissions #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) ### 500 Internal server error #### Body: application/json (object) - **code** (integer) - **message** (string) - **data** (object | null) [Powered by Bump.sh](https://bump.sh)