logsmall
menu_book  API reference · v0.1 · same shape as the Datadog API
tagv1 codeopenapi.json key  Get an API key

logsmall API — v1

The logsmall API mirrors the Datadog API surface so existing Datadog SDKs work after a one-line endpoint swap. Send DD-API-KEY + DD-APPLICATION-KEY headers as before, point your client at https://api.logsmall.com, and every request shape Datadog accepts is accepted here too. Use the language tabs to copy-paste a call in Curl, Python, Node, Go, Java, .NET, Ruby, or PHP.

Monitors

Create, update, mute, and list monitors. Threshold, anomaly, forecast, composite, and SLO monitor types — all sharing Datadog's monitor JSON schema.

Create monitor

POST /api/v1/monitor

Same body shape as Datadog. Threshold monitor example: alert when error rate > 1% on service:checkout.

curl -X POST "https://api.logsmall.com/api/v1/monitor" \
  -H "DD-API-KEY: $LOGSMALL_API_KEY" -H "DD-APPLICATION-KEY: $LOGSMALL_APP_KEY" \
  -d '{
    "type": "log alert",
    "name": "Checkout error rate",
    "query": "logs(\"service:checkout status:error\").index(\"*\").rollup(\"count\").last(\"5m\") > 50",
    "message": "Error rate is high. @slack-alerts-prod"
  }'