Documentation
Quickstart
Send your first request through the MonsterCloud Gateway in under five minutes.
- Create a workspace and copy your API key from Settings → Keys.
- Add a provider key (e.g. Anthropic) under Settings → Providers, or enable pooled capacity.
- Change the base URL in your existing client:
client = Anthropic(
base_url="https://gateway.monstercloud.ai/v1",
api_key=os.environ["MONSTERCLOUD_KEY"],
)
const client = new Anthropic({
baseURL: "https://gateway.monstercloud.ai/v1",
apiKey: process.env.MONSTERCLOUD_KEY,
});
curl https://gateway.monstercloud.ai/v1/messages \
-H "x-api-key: $MONSTERCLOUD_KEY" \
-H "content-type: application/json" \
-d '{"model":"claude-sonnet","max_tokens":256,
"messages":[{"role":"user","content":"Hello"}]}'
Authentication
Use a workspace key in the x-api-key or Authorization: Bearer header. Keys can be scoped to a project and a budget.
Gateway headers
| Header | Example | Description |
|---|---|---|
| mc-policy | pii-redact | Comma-separated policy IDs to apply. |
| mc-fallback | claude-haiku | Ordered fallback models on error or timeout. |
| mc-cache | semantic | off, exact or semantic. |
| mc-tags | team=growth | Key-value tags for cost attribution. |
Content Studio
Create a draft from a brief. Drafts are generated asynchronously; subscribe to the draft.ready webhook.
POST /v1/content/drafts
{ "brief_id": "brf_8x2k", "language": "tr", "require_approval": true }SEO Engine
List prioritized opportunities for a connected site. Each item can be converted to a brief with one call.
GET /v1/seo/sites/{site_id}/opportunities?limit=20
POST /v1/seo/opportunities/{id}/briefREST API
Base URL: https://api.monstercloud.ai/v1. All responses are JSON. Rate limit: 600 requests/minute per key; see headers x-ratelimit-*.
Errors
401— invalid or revoked key402— budget exceeded for key or team422— blocked by policy (reason inerror.policy)503— all models in fallback chain unavailable
Need help? Contact support or check system status.