The Griffin Hub exposes a REST API for managing monitors, viewing runs, querying metrics, and more. The CLI uses this API internally — everything you can do with the CLI, you can also do via the API directly.
Base URL
Griffin Cloud: https://api.griffin.dev
Self-hosted: Your hub’s URL (e.g., http://localhost:3000)
Authentication
All API requests (except the health check) require authentication. See Authentication for details.
Response format
All responses are JSON. Successful responses return the resource directly: