Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Consume Multiple Rate Limits
UNKEY_CONSUME_MULTIPLE_RATELIMITSIrreversibly consume quota for up to 100 independent Unkey rate limits. Every namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect the aggregate passed value and every item's passed value because exceeded limits still return HTTP 200.
Consume Rate Limit
UNKEY_CONSUME_RATELIMITIrreversibly consume quota for one identifier in an existing Unkey rate-limit namespace. The namespace must already exist; use CREATE_RATELIMIT_NAMESPACE to create one. Inspect success rather than the HTTP status.
Verify and Consume API Key
UNKEY_VERIFY_AND_CONSUME_API_KEYVerify a customer API key while explicitly consuming a positive number of credits and any requested rate-limit quota. Inspect valid and code because an HTTP success can still report a failed verification.
Verify, Migrate, and Consume API Key
UNKEY_VERIFY_MIGRATE_AND_CONSUME_API_KEYVerify a customer API key using a provider-configured on-demand migration that may create or migrate a missing legacy key. This operation consumes the requested positive credit cost and any explicit rate-limit costs. Inspect valid and code because HTTP success can still mean invalid.