Documentation

Quickstart

Send your first request through the MonsterCloud Gateway in under five minutes.

  1. Create a workspace and copy your API key from Settings → Keys.
  2. Add a provider key (e.g. Anthropic) under Settings → Providers, or enable pooled capacity.
  3. Change the base URL in your existing client:
client = Anthropic(
    base_url="https://gateway.monstercloud.ai/v1",
    api_key=os.environ["MONSTERCLOUD_KEY"],
)

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

HeaderExampleDescription
mc-policypii-redactComma-separated policy IDs to apply.
mc-fallbackclaude-haikuOrdered fallback models on error or timeout.
mc-cachesemanticoff, exact or semantic.
mc-tagsteam=growthKey-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}/brief

REST 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 key
  • 402 — budget exceeded for key or team
  • 422 — blocked by policy (reason in error.policy)
  • 503 — all models in fallback chain unavailable

Need help? Contact support or check system status.