Skip to main content
API keys allow you to access Agentset programmatically. Use them to integrate Agentset into your application via the SDK or REST API. Each API key is scoped to a specific organization, so you can safely use it without exposing access to other organizations. API keys follow this format:
.env
AGENTSET_API_KEY=agentset_xxxxxxxx
Store your API key securely in your app’s server-side code (such as in an environment variable). Don’t expose it on a website or client-side code.

Create an API key

1

Create an account

Sign up and create an organization.
2

Create an API key

Navigate to Settings → API Keys → New API Key.
Creating an API key in the Agentset dashboard
Copy your API key and store it in a safe place—you won’t be able to see it again.
3

Use your API key

Use your API key with the SDK or include it as a bearer token in API requests:
Authorization: Bearer agentset_xxxx