Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Notification Channels

Notification Channels are the medium through which notifications are sent.

Get supported Notification Channels

get

Get supported Notification Channels

Authorizations
AuthorizationstringRequired

Bearer authentication

Responses
200

Notification Channel types

application/json
namestringRequired
typestring · enumRequiredDefault: emailPossible values:
get/api/v1/notification-channels
GET /api/v1/notification-channels HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "name": "my-email",
    "type": "email"
  }
]

Create notification channel

post

Create notification channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
typestring · enumRequiredDefault: emailPossible values:
Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
post/api/v1/notification-channels
POST /api/v1/notification-channels HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 150

{
  "type": "email",
  "config": {
    "username": "email@gmail.com",
    "password": 123456,
    "smtpHost": "smtp.gmail.com",
    "from": "email@gmail.com",
    "subject": "My subject"
  }
}
{
  "code": 400,
  "message": "Required parameter is missing"
}

Get notification channel

get

Get notification channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
namestring · min: 1 · max: 250Required

Notification Channel name

Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
get/api/v1/notification-channels/{name}
GET /api/v1/notification-channels/{name} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "code": 400,
  "message": "Required parameter is missing"
}

Update notification channel

put

Update notification channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
namestring · min: 1 · max: 250Required

Notification Channel name

Body
typestring · enumRequiredDefault: emailPossible values:
Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
put/api/v1/notification-channels/{name}
PUT /api/v1/notification-channels/{name} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 150

{
  "type": "email",
  "config": {
    "username": "email@gmail.com",
    "password": 123456,
    "smtpHost": "smtp.gmail.com",
    "from": "email@gmail.com",
    "subject": "My subject"
  }
}
{
  "code": 400,
  "message": "Required parameter is missing"
}

Delete notification channel

delete

Delete notification channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
namestring · min: 1 · max: 250Required

Notification Channel name

Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
delete/api/v1/notification-channels/{name}
DELETE /api/v1/notification-channels/{name} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "code": 400,
  "message": "Required parameter is missing"
}

Patch notification channel

patch

Patch notification channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
namestring · min: 1 · max: 250Required

Notification Channel name

Body
typestring · enumOptionalDefault: emailPossible values:
Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
patch/api/v1/notification-channels/{name}
PATCH /api/v1/notification-channels/{name} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 150

{
  "type": "email",
  "config": {
    "username": "email@gmail.com",
    "password": 123456,
    "smtpHost": "smtp.gmail.com",
    "from": "email@gmail.com",
    "subject": "My subject"
  }
}
{
  "code": 400,
  "message": "Required parameter is missing"
}
Deprecated

Validate configuration of Notification Channel

post

Validate configuration of Notification Channel

Authorizations
AuthorizationstringRequired

Bearer authentication

Body
typestring · enumRequiredDefault: emailPossible values:
Responses
400

Bad request.

application/json
codeinteger · min: 100 · max: 599Required
messagestringRequired
detailsstringOptional
post/api/v1/validate-notification-channel
POST /api/v1/validate-notification-channel HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 150

{
  "type": "email",
  "config": {
    "username": "email@gmail.com",
    "password": 123456,
    "smtpHost": "smtp.gmail.com",
    "from": "email@gmail.com",
    "subject": "My subject"
  }
}
{
  "code": 400,
  "message": "Required parameter is missing"
}

Last updated