Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

Usage Record → Get

AI-generated

Summary

Retrieve a Lemon Squeezy usage record by its ID. Choose whether to receive simplified attributes or the raw JSON:API response, and configure retries for failed requests.

Inputs

  • Usage Record ID (required) — ID of the usage record to retrieve.
  • Simplify — Defaults to true; flattens JSON:API attributes to the top level. Turn off to retain the raw JSON:API structure.
  • Retry Options — Configure failed-request retries. Max Retries defaults to 3 (0–10); Initial Delay defaults to 1000 ms (100–30000 ms) and doubles on each retry.

Output shape

A single usage record.

The record is returned in simplified or raw JSON:API format according to Simplify. API failures may be retried using the configured retry options.

Links

Discussion