Ensure your service account has explicit read or write access to the target endpoint. 429 Too Many Requests
An API (Application Programming Interface) key acts as both a unique identifier and a secret token for authentication. When building integrations, passing an Orion API key in your request headers proves your identity to the server without exposing your primary account password. API keys are commonly used in two major ecosystems:
The API key is valid, but it does not have the necessary scopes or permissions to access the requested resource.
headers = "Authorization": f"Bearer ORION_API_KEY", "Content-Type": "application/json"
response = client.chat.completions.create( model="orion-2.0", messages=[ "role": "system", "content": "You are a helpful assistant.", "role": "user", "content": "Explain quantum computing in one paragraph." ], temperature=0.7, max_tokens=300 )