Smalk Docs
  • Publisher
  • API Reference
  • Smalk MCP
  • Advertiser
Smalk
  • Website
  • Dashboard
  • Service status
Developers
  • REST API reference
  • OpenAPI schema
  • Support
Legal
  • Privacy policy
  • Terms

© 2026 Smalk. All rights reserved.

Information
Tracking
GEA - Ad Content
Ad Placement Inventory
Workspace
Health
    API health probeget
IndexNow
Reporting
Datasets
public
Schemas
powered by Zudoku
Smalk Public API
Smalk Public API

Health


API health probe

GET
https://api.smalk.ai
/api/health/

Lightweight, unauthenticated health check for the Smalk public API (ad-serving + analytics tracking).

Probes the three runtime dependencies of the public API with a 1 s timeout each:

  • Database — primary read path for ads + analytics
  • Cache — shared cache between the API servers
  • Async task broker — used to dispatch background processing

Response

The response body is plain text:

StatusBodyMeaning
200okAll dependencies healthy
503KOAt least one dependency is unreachable

Failure details are logged server-side; the body never contains internal information. Safe to expose to public uptime monitors.

Usage

TerminalCode
curl -i https://api.smalk.ai/api/health

Recommended check interval: 30s. Recommended client timeout: 3s.

API health probe › Responses

All dependencies healthy. Body: ok.

string
GET/api/health/
curl https://api.smalk.ai/api/health \ --header 'Authorization: <api-key>'
Example Responses
string
text
text/plain

WorkspaceIndexNow