cURL
curl --request GET \ --url https://hub.griff.services/monitor/by-name \ --header 'Authorization: Bearer <token>'
{ "data": { "project": "<string>", "id": "<string>", "name": "<string>", "version": "1.0", "frequency": { "every": 123, "unit": "MINUTE" }, "environment": "default", "nodes": [ { "id": "<string>", "type": "HTTP_REQUEST", "method": "GET", "path": "<string>", "base": "<string>", "response_format": "JSON", "headers": {}, "body": "<unknown>" } ], "edges": [ { "from": "<string>", "to": "<string>" } ], "locations": [ "<string>" ], "notifications": [ { "trigger": { "type": "run_failed" }, "routing": { "channelType": "slack", "channel": "<string>" }, "integration": "<string>" } ] } }
Get a single monitor by project, environment, and name. Optional version (e.g. latest) can migrate the monitor schema.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
latest
Default Response
Show child attributes