Skip to main content

Overview

This example demonstrates how to check API rate limits and health status using the Swarms API client.

Step 1: Installation

Install the required package:

Step 2: API Key Setup

Set your API key in a .env file:

Step 3: Code Example

Run the script to check your current rate limits and API health status.