We use cookies

We use cookies and similar technologies for analytics and marketing. You can allow these cookies or continue with only essential cookies.

By clicking "Accept", you agree to our use of cookies.
Learn more.

Typescript SDKFeature Clients

RatelimitsClient

The rate limits client is a wrapper for Hatchet’s gRPC API that makes it easier to work with rate limits in Hatchet.

Methods

list()

Lists all rate limits for the current tenant.

Parameters

ParameterTypeDescription
opts| { limit?: number; offset?: number; orderByDirection?: RateLimitOrderByDirection; orderByField?: RateLimitOrderByField; search?: string; } | undefinedThe options for the list operation.

Returns

Promise<RateLimitList>

A promise that resolves to the list of rate limits.

upsert()

Upserts a rate limit for the current tenant.

Parameters

ParameterTypeDescription
optsCreateRateLimitOptsThe options for the upsert operation.

Returns

Promise<string>

A promise that resolves to the key of the upserted rate limit.

Last updated on August 11, 2026

On this page