Skip to content

Authentication

All HydraSkill API requests require authentication via API key.

Keys follow the format: sk- followed by 64 hex characters.

sk-a1b2c3d4e5f6...
Terminal window
curl https://api.hydraskill.ai/v1/proxy \
-H "Authorization: Bearer sk-your-key-here"
from hydraskill import ProxyClient
# Option 1: Pass directly
client = ProxyClient(api_key="sk-your-key-here")
# Option 2: Environment variable (recommended)
# export HYDRASKILL_API_KEY="sk-your-key-here"
client = ProxyClient()
  • Create keys in Dashboard → API Keys
  • Each key has configurable QPS limits
  • Keys can be enabled/disabled without deletion
  • Rotate keys regularly for security
PlanQPS per KeyMax Keys
Starter105
Pro5010
EnterpriseCustomUnlimited
// Invalid or missing key
{ "error": "unauthorized", "message": "Invalid API key" }
// Key disabled
{ "error": "forbidden", "message": "API key is disabled" }
// Rate limited
{ "error": "rate_limited", "message": "QPS limit exceeded", "retry_after_ms": 1000 }