1. Observability
Umum
  • Ayasya WAGW API
    • Instance
      • Create Instance
      • Generate QR Instance
      • Get Pairing Code Instance
      • Pairing Code Instance
      • Get All Instance
      • Status Instance
      • Info Instance
      • Edit Instance
      • Delete Instance
      • Restart Instance
      • Logout Instance
    • Profile
      • Get Profile
      • Update Name
      • Update profile status (about)
      • Update profile picture
      • Delete profile picture
    • Message
      • Basic
        • Send Text
        • Send Image
        • Send File
        • Send Voice
        • Send Video
        • Send Link Preview
      • Interactive
        • Send List Poll
      • Location & Contact
        • Send Location
        • Send Contact
      • Action
        • Reaction
        • Forward
        • Seen (Not Support)
        • Star Message
        • Start Typing
        • Stop Typing
    • Chats
      • Get Chats
      • Delete Chat (Not Working)
      • Get Picture
      • Get Message In Chat
      • Delete Message In Chat
      • Read Chat
    • Channels
      • Get Channels (Not Smoth)
      • Create Channels (Not Smoth)
    • Groups
      • Get Groups
      • Count Groups
      • Create Group
      • Group Join Info
      • Get Info Group
      • Get Group Invite Code
      • Group Join
      • Leave Group
      • Get Participants Group
      • Add Participants Group
      • Remove Participants Group
      • Promote Participants Group
      • Demote Participants Group
      • Get Picture Group
      • Set Picture Group
      • Delete Picture Group
      • Update Group Description
      • Update Group Name
      • Get Info Admin Group Setting
      • Edit Info Admin Group Setting
      • Get Message Admin Group Setting
      • Edit Message Admin Group Setting
    • Status
      • Generate New Message ID
      • Text
      • Image
      • Voice
      • Video
      • Delete
    • Contacts
      • Get Contacts (Comming Soon)
      • Get Contact Info (Comming Soon)
      • Block Contact
      • Unblock Contact
      • Update Contact (Comming Soon)
      • Get All Lids Contact (Comming Soon)
      • Count Lids Contact (Comming Soon)
      • Get Phone Number By Lid (Comming Soon)
      • Get Lid By Phone Number (Comming Soon)
    • Presence
      • Set session presence
      • Get all subscribed presence information
      • Get presence for specific chat ID
      • Subscribe to presence events for chat
    • Events
      • Send event message (Comming Soon)
    • Observability
      • Ping Server
        GET
      • Health Check Server
        GET
      • Check Version
        GET
      • Check Environment
        GET
      • Check Status
        GET
      • Restart Server
        POST
      • Stop Server
        POST
  1. Observability

Stop Server

Developing
POST
http://localhost:3000/api/observability/stop
Last modified:2025-11-11 03:43:46
Maintainer:rama adhitya setiadi
Stop Server

Request

Header Params

Responses

🟢200OK
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:3000/api/observability/stop' \
--header 'x-api-key: {{api-key}}' \
--header 'Content-Type: application/json'
Response Response Example
{
    "success": true,
    "data": {
        "server": {
            "status": "running",
            "uptime": {
                "seconds": 127,
                "formatted": "2m 7s"
            },
            "startTime": "2025-11-11T03:38:38.419Z"
        },
        "system": {
            "platform": "win32",
            "arch": "x64",
            "nodeVersion": "v22.14.0",
            "hostname": "KN-CKPQADN026",
            "cpus": 12,
            "loadAverage": [
                0,
                0,
                0
            ]
        },
        "memory": {
            "system": {
                "total": "15.65 GB",
                "free": "2.44 GB",
                "used": "13.21 GB",
                "usagePercent": "84.42%"
            },
            "process": {
                "rss": "117.16 MB",
                "heapTotal": "40.74 MB",
                "heapUsed": "37.82 MB",
                "external": "4.87 MB"
            }
        },
        "cpu": {
            "user": "2.22 seconds",
            "system": "0.75 seconds"
        },
        "instances": {
            "total": 3,
            "connected": 0,
            "disconnected": 3,
            "list": [
                {
                    "id": "0",
                    "status": "unknown",
                    "connected": false
                },
                {
                    "id": "1",
                    "status": "unknown",
                    "connected": false
                },
                {
                    "id": "2",
                    "status": "unknown",
                    "connected": false
                }
            ]
        },
        "timestamp": "2025-11-11T03:40:45.633Z"
    }
}
Modified at 2025-11-11 03:43:46
Previous
Restart Server
Built with