Skip to main content
POST
Test destination
Requires the Alerts Admin role. The test notification has the subject Test Notification. A test of a queue destination adds a message to the queue, and a test of the in_app destination adds an entry to the Cloud Console Alert history page. The response returns delivered: true on success, or delivered: false with the delivery error in error. If the destination’s credential is revoked, the request fails with FAILED_PRECONDITION.
Example request

承認

Authorization
string
header
デフォルト:Bearer [API-ACCESS-TOKEN]
必須

CoreWeave API access token sent as a bearer token.

パスパラメータ

destId
string
必須

ボディ

application/json
destId
string
必須

レスポンス

OK

eventId
string

The ID of the test notification.

delivered
boolean

Whether the test notification was delivered.

error
string

The delivery error when delivered is false.