Tags / Get

Fetch one tag by guid.

Endpoint

Method POST
Url https://downdar.com/api/v1/tags/get

Request

Key fields

guid key Tag id.
{ "guid": "6ba7b810-9dad-11d1-80b4-00c04fd430c8" }

Response

Top level

ok Always true on success.
tag Tag object. Fields below apply to tag.
rate_limit Rate limit state for the tier this endpoint consumes. Present on every successful response.

tag

guid Tag id.
name Tag name.
color_hex Hex color like #336699.
monitor_count Monitors with this tag.
heartbeat_count Heartbeats with this tag.

rate_limit

tier Rate tier this endpoint counts against (1-5).
cost Units consumed by this request against the tier window.
timeframe Rolling limit window: second, minute, hour, or day.
limit Maximum units allowed in the timeframe for this tier on your plan.
used Units already used in the current window.
remaining Units left before this tier returns HTTP 429.
{ "ok": true, "tag": { "guid": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", "name": "critical", "color_hex": "#cc0000", "monitor_count": 2, "heartbeat_count": 0 }, "rate_limit": { "tier": 3, "cost": 1, "timeframe": "minute", "limit": 300, "used": 45, "remaining": 255 } }