Statistics

GET /stats

Get launch statistics overview.

Request

Request
GET /stats

Response

Response (example)
{
  "overview": {
    "total": 1542,
    "launched": 1538,
    "pending": 3,
    "failed": 1,
    "totalLaunches": 1538,
    "totalFailed": 15,
    "lastPollAt": "2024-01-15T12:00:00.000Z"
  },
  "timestamp": "2024-01-15T12:00:30.000Z"
}

Response Fields

Field
Type
Description

total

number

Total followers tracked

launched

number

Currently in launched status

pending

number

Currently pending

failed

number

Currently failed

totalLaunches

number

All-time successful launches

totalFailed

number

All-time failures (includes retried)

lastPollAt

string

Last scanner poll time

Example


GET /logs

View audit logs with optional filtering.

Request

Query Parameters

Parameter
Type
Default
Description

limit

number

50

Results (max 100)

action

string

-

Filter by action type

Action Types

Action
Description

DETECTED

New follower found

LAUNCH_STARTED

Processing began

IPFS_UPLOADED

Metadata uploaded

TX_SUBMITTED

Transaction sent

LAUNCH_SUCCESS

Launch completed

LAUNCH_FAILED

Launch failed

RETRY_SCHEDULED

Retry initiated

Response

Response Fields

Field
Type
Description

id

string

Log entry ID

followerId

string

Associated follower

action

string

Action type

details

object?

Action-specific details

createdAt

string

Timestamp

follower.username

string

Follower username

Examples


Analytics Queries

Success Rate

Recent Activity

Failed Launch Details


Monitoring Dashboard Data

For Grafana / Custom Dashboard

Cron Job for Logging