Stazus docs
Stazus docs

Introduction

Stazus documentationGet startedConcepts

Planned features

Feature availabilityStatus pages

Monitoring

MonitorsChecks and resultsLatency alertingMaintenance windows

Incident response

IncidentsNotificationsTeams and access

Developer API

Developer APIAuthenticationProjectsEndpointsAnalyticsIncidentsErrors and limitsMigrate from v1

Account and help

Account and security

Help

Support

Updates

Changelog
Changelog launchedDocumentation UpdatesDeveloper API v2Scope-aware maintenance windows
Developer API

Migrate from v1

Move public analytics integrations to the Developer API v2 contract.

Version 1 contains one route:

GET /api/public/v1/analytics

Stazus keeps this route available with its original response. Responses now include a Deprecation: true header.

Version 2 uses this route:

GET /api/public/v2/analytics

The query parameters are unchanged. Version 2 wraps the analytics object in data.

// Version 1
{
  "team_id": 7,
  "window": {},
  "health": {},
  "totals": {},
  "incidents": {},
  "series": [],
  "projects": []
}
// Version 2
{
  "data": {
    "team_id": 7,
    "window": {},
    "health": {},
    "totals": {},
    "incidents": {},
    "series": [],
    "projects": []
  }
}

Change the URL first. Then read the result from response.data.

No removal date is set for version 1. Stazus will publish a sunset date before removal.

Last updated on

Errors and limits

Handle API errors, request IDs, pagination, and rate limits.

Account and security

Manage your profile, email address, password, authenticator, and notification contact methods.