# API Keys for Enterprise Organizations

> URL: https://help.meshy.ai/en/articles/900000049-api-keys-for-enterprise-organizations
> Language: en
> Last updated: 2026-11-26T12:30:54.557Z

In an Enterprise organization, only Org Owners and Org Admins can create API keys. Usage from every key comes out of your organization's shared credits.

You'll find your keys under **API Keys** in the Developer Platform. This article covers the organization controls. For endpoints, errors and code samples, see the [Meshy API documentation](https://docs.meshy.ai/en/api).

# Restrict a key to your IP addresses

You can limit each key to requests from your own IP addresses.

1. Open the menu for the key and select **Manage IP allowlist**.

2. Click **Add address** and enter an IP address or a CIDR range.

3. Click **Add to list**, then save your changes.

As you edit the list, a preview shows how many recent requests it would have blocked, for example "This allowlist would have blocked X of Y requests in the last N days."

- A key's allowlist can hold up to 50 IP addresses or ranges.

- If the list is empty, the key accepts requests from any address.

- Requests from other addresses are rejected with a `403 ip_not_authorized` error.

- When requests are blocked, Meshy emails the key's holder and your Org Owners and Org Admins, at most once a day per key.

- Changes take effect within a minute.

# Set a monthly credit limit for a key

1. Open the menu for the key and select **Manage Credit Limit**.

2. Enter a **Monthly Credit Limit** and click **Save**.

You can also set a limit when you create the key. If your organization has a monthly credit allowance, the limit can't be more than that allowance. Pay-as-you-go organizations have no cap. The limit resets at your monthly credit reset.

When a key reaches its limit, its requests fail with a `402 credit_limit_reached` error until the limit resets or you raise it.

For workspace and member limits, see [How to Manage Credit Limits and Credit Balance Alerts](/en/articles/900000045-how-to-manage-credit-limits-and-credit-balance-alerts).

# How long API assets are kept

On Enterprise, API-generated assets are kept indefinitely unless your organization has turned on [data retention](/en/articles/900000044-how-data-retention-works-for-enterprise-organizations).