const overrides = await unkey.listOverrides({
    namespaceName: "email.outbound"
});
{
  result: {
    overrides: [
       {
        id: 'rlor_1234',
        identifier: 'customer_123',
        limit: 10,
        duration: 50000,
        async: false
      }
    ],
    total: 1,
    cursor: 'rlor_1234'
  }
}

Request

Either namespaceId or namespaceName is required. Not both.
namespaceId
string
The id of the namespace. Either namespaceId or namespaceName must be provided
namespaceName
string
Namespaces group different limits together for better analytics. You might have a namespace for your public API and one for internal tRPC routes. Wildcards can also be used, more info can be found at https://www.unkey.com/docs/ratelimiting/overrides#wildcard-rules

Response

result
const overrides = await unkey.listOverrides({
    namespaceName: "email.outbound"
});
{
  result: {
    overrides: [
       {
        id: 'rlor_1234',
        identifier: 'customer_123',
        limit: 10,
        duration: 50000,
        async: false
      }
    ],
    total: 1,
    cursor: 'rlor_1234'
  }
}