All Hexel Studio API requests require a Bearer token from STS. Two ways to obtain one.Documentation Index
Fetch the complete documentation index at: https://hexelstudio.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API Key
Best for development, scripts, and quick testing.- Go to the Console → IAM → Service Users
- Create a service user and generate an API key
- Exchange it for a Bearer token:
- Python
- TypeScript
- curl
OAuth Client Credentials
Best for production services and server-to-server communication.- Go to the Console → IAM → Service Users
- Create an access client with
client_idandclient_secret - Exchange for a Bearer token:
- Python
- TypeScript
- curl
Token Lifetime
Tokens expire after 15 minutes. The SDKs handle refresh automatically. If using curl, re-exchange before expiry.Environment Variables
Security
- Never expose keys in client-side code
- Use environment variables or secret managers
- Use OAuth client credentials in production
- Rotate keys periodically
- Use separate keys per environment

