Sumer Docs
  • 👋Welcome to Sumer
  • Overview
    • 💡What we do
    • ✨Our Features
  • Fundamentals
    • 🛠️Getting set up
    • 💻DApp Starter Kit
  • Sumer SDK
    • 🚀Quickstart
  • API Reference
    • 👁️‍🗨️Overview
    • Alerts
    • Roles
    • Users
  • Support
    • ⁉️FAQs
    • 👩‍🔧Contact our Team
    • 😁Leave Feedback
  • Use Cases
    • ⛓️Web3 projects
  • References
    • 📖Privacy Policy
    • 🍪Cookie Policy
    • 📄Terms & Conditions
Powered by GitBook
On this page

Was this helpful?

  1. API Reference

Alerts

Alerts are based on Monitor's triggers configured by the User

PreviousOverviewNextRoles

Last updated 2 years ago

Was this helpful?

get

Retrieve dapp's related alerts

Authorizations
Path parameters
dappIdstringRequired
Query parameters
monitorIdstringOptional
startDatestringOptional
endDatestringOptional
offsetstringOptional
limitstringOptional
orderBystringOptional

Allowed values "createdAt"

orderTypestringOptional

Allowed values "ASC" | "DESC"

Responses
200
List of dapp's alerts
application/json; charset=utf-8
403
Missed authorization header token
application/json; charset=utf-8
get
GET /me/dapps/{dappId}/alerts HTTP/1.1
Host: api.getsumer.com
authorization: YOUR_API_KEY
Accept: */*
{
  "alerts": [
    {
      "id": "text",
      "monitor": {
        "id": "text",
        "description": "text",
        "conditions": [
          {
            "column": "text",
            "value": "text"
          }
        ],
        "metric": {
          "evaluation": "text",
          "timeframe": {
            "value": "text",
            "unit": 1
          }
        },
        "trigger": {
          "threshold": "text",
          "type": "text",
          "value": 1
        }
      },
      "impact": {
        "total": 1,
        "percentage": 1
      },
      "createdAt": "text"
    }
  ],
  "total": 1
}