LevelFour Developer Docs
Overview
LevelFour provides a REST API and official SDKs for programmatic access to cloud cost optimization data: savings recommendations, spending analytics, and automated optimizations across AWS, GCP, Azure, and Kubernetes.
SDKs
| Language | Package | Install |
|---|---|---|
| Python | levelfour | pip install levelfour |
| TypeScript | levelfour | npm install levelfour |
| Go | github.com/LevelFourAI/levelfour-go | go get github.com/LevelFourAI/levelfour-go |
Quick Links
- Quickstart - Install an SDK and make your first API call
- Authentication - API key management and security
- SDKs - Language-specific reference for Python, TypeScript, and Go
- Resources - Per-resource guides for recommendations, savings, spending, and more
- Webhooks - Receive real-time event notifications
- Error Handling - Typed errors and retry behavior
- Pagination - Auto-paginating iterators
- API Reference - Complete REST endpoint documentation
Base URL
https://api.levelfour.aiAll requests require a Bearer token in the Authorization header. The SDKs handle this automatically when you provide an API key.