TypeScript SDKFeature Clients

Ratelimits Client

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 September 1, 2026

On this page