User/Org API Keys
API keys are required to authenticate with the REST API of Langbase. You will need to send the API key in the Authorization
header of your requests.
Org API Key
Let's create an API key for your organization.
Step #1 Go to organization settings
Login to your account on Langbase.
- Navigate to your organization profile page.
- Click on the
Settings
button at the top right corner.
Step #2 Org API Keys section
- In the
Org API Keys
section, click on theGenerate API Key
button.
Step #3 Generate a new API key
- Give your org API key a name. Let's call it
Org API Key
. - Click on
Generate API Key
button to generate the API key.
Step #4 Copy the API Key
- Use the
Copy
button to copy your org API key. - Click on the
Done
button to close the modal.
User API Key
Let's create an API key for your profile.
Step #1 Go to profile settings
Login to your account on Langbase.
- Navigate to your profile
Settings
page.
Step #2 User API Keys section
- In the
User API Keys
section, click on theGenerate API Key
button.
Step #3 Generate a new API key
- Give your user API key a name. Let's call it
API Key
. - Click on
Generate API Key
button to generate the API key.
Step #4 Copy the API Key
- Use the
Copy
button to copy your user API key. - Click on the
Done
button to close the modal.
✨ Congrats, you have created your first API key. We're excited to see what you build with it.