API Keys
⚠️
Keep your API keys secure
Never share your API keys or commit them to version control. Use environment variables in production.
🔑 Your API Keys
| Name | Key | Created | Last Used | |
|---|---|---|---|---|
| Loading... | ||||
🚀 Quick Start
Use your API key to authenticate requests to the MetalCloud API.
Python
from metalcloud import Client
client = Client(api_key="mc_your_key_here")
# Run inference
result = client.inference(
model="llama-70b",
prompt="Explain quantum computing"
)
print(result.text)
cURL
curl -X POST https://api.metalcloud.io/v1/jobs \
-H "Authorization: Bearer mc_your_key" \
-H "Content-Type: application/json" \
-d '{"type": "inference", "model": "llama-70b"}'