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

LanguagePackageInstall
Pythonlevelfourpip install levelfour
TypeScriptlevelfournpm install levelfour
Gogithub.com/LevelFourAI/levelfour-gogo get github.com/LevelFourAI/levelfour-go
  • 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.ai

All requests require a Bearer token in the Authorization header. The SDKs handle this automatically when you provide an API key.