Cloud World Model Benchmark Calibration API

The Benchmark Calibration API from Cloud World Model — 7 operation(s) for benchmark calibration.

GitHub OpenAPI

Operations 8

GET /benchmark-calibrations List calibrations and active share links owned by the API key #
POST /benchmark-calibrations Fit an opt-in model calibration from measured benchmark data #
GET /benchmark-calibrations/{id} Read an owned calibration #
POST /benchmark-calibrations/{id}/share Create a public, read-only share link #
GET /shared-scenarios/{token} Read a public shared benchmark scenario #
POST /shared-scenarios/{token}/events Record an allowlisted shared-scenario engagement event #
DELETE /shared-scenarios/{id} Revoke an owned shared scenario link #
GET /shared-scenarios/{id}/analytics Read privacy-safe analytics for an owned share link #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cloudworldmodel-ai:cloudworldmodel-ai-benchmark-calibration-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cloudworldmodel-ai-benchmark-calibration-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudworldmodel Ai Benchmark Calibration API
  version: 1.0.0
  contact:
    name: Cloud World Model API Support
    url: https://www.cloudworldmodel.ai
    email: api@cloudworldmodel.ai
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  description: 'Operations tagged Benchmark Calibration across 2 of this provider''s published API definitions: cloudworldmodel-ai-openapi.json, cloudworldmodel-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.cloudworldmodel.ai/api
  description: Production
- url: http://localhost:5000/api
  description: Local development
security: []
tags:
- name: Benchmark Calibration
paths:
  /benchmark-calibrations:
    get:
      tags:
      - Benchmark Calibration
      summary: List calibrations and active share links owned by the API key
      description: 'Returns only calibrations and active share links belonging to the authenticated API key.

        Recoverable share URLs are returned only to that owner; analytics links are included for

        each active share. Requires the read scope.'
      operationId: listBenchmarkCalibrations
      security:
      - BearerAuth: []
      responses:
        '200':
          description: Owner-scoped calibration summaries and active share links
        '401':
          description: An API key is required
        '403':
          description: The API key does not have read scope
    post:
      tags:
      - Benchmark Calibration
      summary: Fit an opt-in model calibration from measured benchmark data
      description: 'Submit a bounded external benchmark artifact with resource configuration and measured

        operating points. Outputs retain MEASURED, ASSUMED, and MODELED provenance. Results

        outside measured points use the existing CWM resource-type model calibrated to those

        points; assumptions remain optional for visitors to inspect or change.'
      operationId: createBenchmarkCalibration
      security:
      - BearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - resources
              - connections
              - configuration
              - measurements
              - source
              properties:
                name:
                  type: string
                description:
                  type: string
                appWeight:
                  type: string
                  enum:
                  - lean
                  - typical
                  - heavy
                  default: typical
                costAssumptions:
                  $ref: '#/components/schemas/SimulationCostAssumptions'
                resources:
                  type: array
                  description: Resource graph nodes; each item follows the resource shape used by simulation creation.
                  items:
                    type: object
                    required:
                    - id
                    - name
                    - type
                    - provider
                    properties:
                      id:
                        type: string
                      name:
                        type: string
                      type:
                        type: string
                      provider:
                        type: string
                      location:
                        type: object
                      characteristics:
                        type: object
                connections:
                  type: array
                  items:
                    type: object
                    required:
                    - sourceId
                    - targetId
                    properties:
                      sourceId:
                        type: string
                      targetId:
                        type: string
                configuration:
                  type: array
                  items:
                    type: object
                    required:
                    - resourceId
                    - replicas
                    - configBasis
                    properties:
                      resourceId:
                        type: string
                      replicas:
                        type: integer
                        minimum: 1
                      cpuRequestMilliCores:
                        type: number
                      cpuLimitMilliCores:
                        type: number
                      memoryRequestMiB:
                        type: number
                      memoryLimitMiB:
                        type: number
                      configBasis:
                        type: string
                        enum:
                        - MEASURED
                        - ASSUMED
                      autoscaling:
                        type: object
                measurements:
                  type: array
                  items:
                    type: object
                    required:
                    - trafficRps
                    - containers
                    properties:
                      trafficRps:
                        type: number
                        minimum: 0
                      containers:
                        type: array
                        items:
                          type: object
                          required:
                          - resourceId
                          - containerIndex
                          - cpuPercent
                          - memoryMiB
                          properties:
                            resourceId:
                              type: string
                            containerIndex:
                              type: integer
                              minimum: 0
                            cpuPercent:
                              type: number
                              minimum: 0
                              maximum: 100
                            memoryMiB:
                              type: number
                              minimum: 0
                      latency:
                        type: object
                        properties:
                          p50Ms:
                            type: number
                          p95Ms:
                            type: number
                          p99Ms:
                            type: number
                source:
                  type: object
                  required:
                  - label
                  properties:
                    label:
                      type: string
                    uri:
                      type: string
                      format: uri
      responses:
        '201':
          description: Calibration and provenance summary created
        '400':
          description: Artifact validation or calibration fitting failed
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /benchmark-calibrations/{id}:
    get:
      tags:
      - Benchmark Calibration
      summary: Read an owned calibration
      operationId: getBenchmarkCalibration
      security:
      - BearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Owned calibration profile and evidence
        '404':
          description: Calibration not found
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /benchmark-calibrations/{id}/share:
    post:
      tags:
      - Benchmark Calibration
      summary: Create a public, read-only share link
      operationId: createBenchmarkShare
      security:
      - BearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '201':
          description: One-time share URL; the original scenario remains read-only
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /shared-scenarios/{token}:
    get:
      tags:
      - Benchmark Calibration
      summary: Read a public shared benchmark scenario
      operationId: getSharedBenchmarkScenario
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Public snapshot with measured points and editable model assumptions
        '404':
          description: Share is missing or revoked
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /shared-scenarios/{token}/events:
    post:
      tags:
      - Benchmark Calibration
      summary: Record an allowlisted shared-scenario engagement event
      operationId: recordSharedScenarioEvent
      security: []
      parameters:
      - name: token
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - eventType
              properties:
                eventType:
                  type: string
                  enum:
                  - copied
                  - shared
                  - independent_simulation
                  - signup
      responses:
        '204':
          description: Event recorded without raw topology or result payloads
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /shared-scenarios/{id}:
    delete:
      tags:
      - Benchmark Calibration
      summary: Revoke an owned shared scenario link
      operationId: revokeSharedBenchmarkScenario
      security:
      - BearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Share link revoked
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
  /shared-scenarios/{id}/analytics:
    get:
      tags:
      - Benchmark Calibration
      summary: Read privacy-safe analytics for an owned share link
      operationId: getSharedBenchmarkAnalytics
      security:
      - BearerAuth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Views
          unique visitors: null
          variation funnel: null
          return visits: null
          referrers: null
          and downstream actions: null
    servers:
    - url: https://www.cloudworldmodel.ai/api
      description: Production
    - url: http://localhost:5000/api
      description: Local development
components:
  schemas:
    SimulationCostAssumptions:
      type: object
      additionalProperties: false
      description: Optional network billing assumptions. Omitted legacy settings are resolved by the engine. Byte sizes are finite and bounded to 1 GiB.
      properties:
        clientLocation:
          type: string
          enum:
          - internet
          - in-cluster
          - same-zone
          - cross-zone
          - cross-region
          default: internet
        responseSizeBytes:
          type: number
          minimum: 0
          maximum: 1073741824
          default: 5000
        errorResponseSizeBytes:
          type: number
          minimum: 0
          maximum: 1073741824
          default: 512
        requestSizeBytes:
          type: number
          minimum: 0
          maximum: 1073741824
          default: 1024
        gcpNetworkTier:
          type: string
          enum:
          - premium
          - standard
          default: premium
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key or Wallet Session JWT
      description: 'API key or wallet-session JWT authentication using Bearer tokens in the Authorization header.


        **How to authenticate:**

        1. Create an API key using POST /api/keys

        2. Include the key in the Authorization header: `Bearer cwm_live_<your_key>`

        3. All RL environment endpoints require authentication


        **Rate Limits:**

        - Default: 1000 requests/hour per key

        - Configurable per key

        - Returns 429 when exceeded

        '
    UiSessionCookie:
      type: apiKey
      in: cookie
      name: cwm_ui_session
      description: 'HttpOnly browser-workspace session cookie issued by

        `POST /api/ui/simulations`. It authorizes UI mutations for simulations

        owned by that browser workspace.

        '
    x402:
      type: apiKey
      in: header
      name: X-PAYMENT
      description: "x402 v2 Base micropayment option. Select the Base entry from\n`GET /api/billing/x402/config` `paymentOptions`, then send its signed USDC\nmicro-payment in the `X-PAYMENT` header to get full access to the metered\nendpoint in a single round-trip — no account, no API key, no sign-up required.\n\n**402 → pay → retry loop:**\n1. Call the endpoint without an `X-PAYMENT` header.\n2. Receive a `402 Payment Required` response. The body is a\n   standard JSON `PaymentRequired` object. The same payload is also\n   echoed as a base64-encoded string in the `PAYMENT-REQUIRED`\n   response header for clients that cannot access the body.\n3. Decode the `PaymentRequired` body (or the `PAYMENT-REQUIRED`\n   header) to read the exact `payTo` wallet,\n   USDC amount, network, and facilitator URL.\n4. Construct and sign the payment with your x402 client library.\n5. Retry the Base request with the `X-PAYMENT` header — the server\n   verifies via `https://facilitator.payai.network` and responds `200`.\n\n**Optional Solana:** When `paymentOptions` advertises a Solana entry, callers\nmay instead select it and use `PAYMENT-SIGNATURE`. Solana is an additional\noption; use `X-PAYMENT` for the Base option shown by this security scheme.\n\n**Discovery:** `GET /api/billing/x402/config` returns the live `payTo`\naddress, canonical `paymentOptions`, per-call-type USDC amounts, facilitator\nURL, and the credits-per-USDC conversion rate. Always fetch this before\nhardcoding any amounts or a payment header.\n\n**Price range:** $0.0030 per 3-credit call — $0.0050 per 5-credit\ncall (see `x-x402-price-usdc` on each\noperation for the exact amount).\n\n**Facilitator:** `https://facilitator.payai.network` (PayAI-operated,\nverifies the advertised Base and optional Solana options).\n"
    x402Solana:
      type: apiKey
      in: header
      name: PAYMENT-SIGNATURE
      description: 'Optional x402 v2 Solana payment alternative. Use this security option only

        when `GET /api/billing/x402/config` `paymentOptions` advertises a Solana

        network, then send its signed Solana USDC payment payload in the

        `PAYMENT-SIGNATURE` header. Include the option''s `feePayer` detail when

        constructing the transaction.


        For the primary Base payment option, select the `x402` security option

        instead and send its signed payment payload in the `X-PAYMENT` header.

        '
x-refined-from:
- cloudworldmodel-ai-openapi.json
- cloudworldmodel-ai-openapi.yml