API Reference

Learn about the additional response headers provided by Happi.dev API, including credits remaining, API key label, and usage statistics. Get detailed insights into your API key’s performance and manage your resources effectively.

When interacting with our API, we provide extra headers in the response to give you more insight into your account and API key usage. These headers are returned with every API request and provide valuable information about your remaining credits, the label of the API key used, and the usage statistics for that key

Headers Overview

HeaderDescription
x-happi-credits-remainingIndicates the number of credits you have remaining. Every API call consumes a certain amount of credits based on the API endpoint used. This header helps you track your available credits in real time.
x-happi-key-labelDisplays the label assigned to the API key used in the request. This label is set by you in the dashboard for easy identification of different keys.

These headers provide a quick and easy way to monitor your API usage and manage your resources effectively. By integrating them into your application’s logging or monitoring system, you can keep track of your credits and the performance of each API key in real time.