On this page
alert_destinations.get
Read which alert destinations are configured (metadata only, never the secret)
Request
GET /api/v1/alert-destinations
- MCP:
alert_destinations_get - SDK:
client.alert_destinations.get(SDK path arguments usepath; MCP usesparams). - Minimum API key role: viewer.
- Idempotency: none.
Use the request schema below. Read IDs from earlier operation results.
Input schema
json
{
"parameters": [],
"requestBody": null
}
Responses
json
{
"200": {
"description": "Read which alert destinations are configured (metadata only, never the secret)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlertDestinationsGetResponse200"
}
}
}
},
"4XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
},
"5XX": {
"description": "Typed error (ApiError)",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiError"
}
}
}
}
}
Referenced schemas
json
{
"components": {
"schemas": {
"AlertDestinationsGetResponse200": {
"type": "object",
"properties": {
"scope": {
"type": "object",
"properties": {
"owner_id": {
"type": "string",
"minLength": 1
},
"environment": {
"type": "string",
"minLength": 1
},
"tenant_id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"owner_id",
"environment",
"tenant_id"
],
"additionalProperties": false
},
"destinations": {
"type": "object",
"properties": {
"slack": {
"type": "object",
"properties": {
"revision": {
"type": "string",
"format": "uuid",
"nullable": true
},
"configured": {
"type": "boolean"
}
},
"required": [
"revision",
"configured"
],
"additionalProperties": false
},
"pagerduty": {
"type": "object",
"properties": {
"revision": {
"type": "string",
"format": "uuid",
"nullable": true
},
"configured": {
"type": "boolean"
}
},
"required": [
"revision",
"configured"
],
"additionalProperties": false
}
},
"required": [
"slack",
"pagerduty"
],
"additionalProperties": false
}
},
"required": [
"scope",
"destinations"
],
"additionalProperties": false
},
"ApiError": {
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string",
"enum": [
"unauthenticated",
"forbidden",
"not_found",
"conflict",
"invalid_request",
"idempotency_conflict",
"policy_denied",
"capability_unavailable",
"provider_unavailable",
"knowledge_unavailable",
"publication_invalid",
"run_not_active",
"rate_limited",
"outcome_unknown",
"internal"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"outcome": {
"type": "string",
"enum": [
"none",
"unknown"
]
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"code",
"message",
"retryable",
"outcome"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}
}
}
}
Errors and recovery
See API error handling and Troubleshooting.
Related guides
Content version 23dd774eMarkdown source