Overview
Authenticate Poolside API requests using Bearer tokens. The same authentication format applies to the OpenAI-compatible API and the Poolside API. Poolside supports two types of API keys: developer API keys and service account API keys.Developer API keys
- Linked to individual user accounts
- Inherit the permissions of the user who created them
- Managed at the user level
- Tied to the lifecycle of the user account
- Intended for individual development and testing workflows
Service account API keys
- Linked to service accounts
- Inherit the permissions of their team through role-based access control
- Managed at the organization level
- Remain active even if you remove the creator
- Intended for automation and other non-interactive workflows
- Audited like other identities
Create a developer API key for yourself
Prerequisites- You can access your Poolside deployment.
- Sign in to your Poolside deployment, for example:
https://<your-api-domain> - Click your username in the bottom left, then select Developer API Keys.
- Click New API Key.
- Enter a name for the API key.
- Click Create.
- Copy the generated key and store it securely.
API keys typically have a
ps-xxxxx format.Create a service account API key for a team in your organization
Prerequisites- You belong to a team with the
tenant-adminrole.
- In the Poolside Console, navigate to Security >
API Keys.
- Click New API Key.
- Select the team whose permissions the service account should inherit.
- Enter a name for the API key.
- Click Create.
- Copy the generated key and store it securely.
API keys typically have a
ps-xxxxx format.Provision Users with SCIM permission. See Identity Management API.
Use an API key
Use your API key with HTTP Bearer authentication. The following example usescurl to list all available models: