Skip to main content

How do I get my API key?

Where Owners and Admins find or generate your team's Swarm API key.

Written by Bee Keeper

Owners and Admins get your team's API key from the API page in the sidebar. Contributors and Guests can't see the API page or the key.

If your team doesn't have an API key yet

  1. In the sidebar under AI Tools, select Set up the API.

  2. Select Generate API key. The page shows what's included, such as your API credits.

  3. You land on the API page with your key shown. Copy it and keep it safe.

If your team already has a key

Open the API page from the sidebar and select Reveal API Key.

Good to know

  • The API is included in the 14-day trial (1,000 credits) and in Premium and Enterprise plans. It isn't available on the Free plan. See Plans, billing, connector limits and API credits.

  • Each team has one API key. To replace or revoke it, contact us in chat.

  • You can check your credit usage on the API page at any time. See How API credits work.

  • Endpoints, parameters and code examples are in our developer docs at docs.theswarm.com.

If you see "Failed to generate API key", try again. If it keeps failing, contact support@theswarm.com.

Did this answer your question?