secure-flows-com · Schema

WorkspaceBillingResponse

CompanySecurityData-EncryptionNo-codeAuthentication

Properties

Name Type Description
planName string Assigned catalog plan
effectiveMaxConcurrentSessions integer Enforced concurrent active session cap (override or plan default)
effectiveMaxPayloadBytes integer Enforced decrypted payload UTF-8 byte cap (override or plan default)
overrideMaxConcurrentSessions integernull SUPPORT-only override when set; null when using plan default
overrideMaxPayloadBytes integernull SUPPORT-only override when set; null when using plan default
billingStatus string Lifecycle status. Common values: `beta`, `active`, `trialing`, `past_due`, `canceling` (renewal stopped; paid until `paidPeriodEndsAt`), `grace_lock` (period ended without Free; end-user session I/O b
usage object
checkoutAvailable boolean True when payment integration is enabled and the active provider is configured (staging). False on production Beta — console uses PATCH for plan changes.
paymentProvider stringnull Active provider id (e.g. `paddle`) when checkoutAvailable; otherwise null
paddleClientToken stringnull Paddle.js client token when checkoutAvailable
paddleEnvironment stringnull `sandbox` or `production` for Paddle.js when checkoutAvailable
cancelAvailable boolean True when checkout is available and the workspace can cancel a paid subscription (or is already `canceling`). False on Free/Beta, `grace_lock`, and when payment is disabled.
paidPeriodEndsAt stringnull End of already-paid entitlement after cancel (ISO-8601); null when not canceling
cancelRequestedAt stringnull When cancel was requested; null when not canceling
overFreeTierLimits boolean True when current usage exceeds Free-tier concurrent session and/or payload caps (useful for cancel confirmation copy).
resumeAvailable boolean True when checkout is available and the workspace is `canceling` (undo cancel / resume auto-renewal via POST …/resume). False in `grace_lock`.
graceEndsAt stringnull When `billingStatus` is `grace_lock`, countdown to automatic wipe of all active session payloads (ISO-8601). Null outside grace lock, including after wipe → Free.
View JSON Schema on GitHub

JSON Schema

secure-flows-com-workspace-billing-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/secure-flows-com/json-schema/secure-flows-com-workspace-billing-response-schema.json",
  "title": "WorkspaceBillingResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/secure-flows-user-api.yaml#/components/schemas/WorkspaceBillingResponse",
  "type": "object",
  "required": [
    "planName",
    "effectiveMaxConcurrentSessions",
    "effectiveMaxPayloadBytes",
    "billingStatus",
    "usage",
    "checkoutAvailable",
    "cancelAvailable",
    "overFreeTierLimits"
  ],
  "properties": {
    "planName": {
      "type": "string",
      "enum": [
        "free",
        "base",
        "pro"
      ],
      "description": "Assigned catalog plan"
    },
    "effectiveMaxConcurrentSessions": {
      "type": "integer",
      "description": "Enforced concurrent active session cap (override or plan default)"
    },
    "effectiveMaxPayloadBytes": {
      "type": "integer",
      "description": "Enforced decrypted payload UTF-8 byte cap (override or plan default)"
    },
    "overrideMaxConcurrentSessions": {
      "type": [
        "integer",
        "null"
      ],
      "description": "SUPPORT-only override when set; null when using plan default"
    },
    "overrideMaxPayloadBytes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "SUPPORT-only override when set; null when using plan default"
    },
    "billingStatus": {
      "type": "string",
      "description": "Lifecycle status. Common values: `beta`, `active`, `trialing`, `past_due`,\n`canceling` (renewal stopped; paid until `paidPeriodEndsAt`),\n`grace_lock` (period ended without Free; end-user session I/O blocked until Free\ndowngrade or grace wipe), `canceled`.\n"
    },
    "usage": {
      "$ref": "#/$defs/WorkspaceBillingUsage"
    },
    "checkoutAvailable": {
      "type": "boolean",
      "description": "True when payment integration is enabled and the active provider is configured\n(staging). False on production Beta — console uses PATCH for plan changes.\n"
    },
    "paymentProvider": {
      "type": [
        "string",
        "null"
      ],
      "description": "Active provider id (e.g. `paddle`) when checkoutAvailable; otherwise null"
    },
    "paddleClientToken": {
      "type": [
        "string",
        "null"
      ],
      "description": "Paddle.js client token when checkoutAvailable"
    },
    "paddleEnvironment": {
      "type": [
        "string",
        "null"
      ],
      "description": "`sandbox` or `production` for Paddle.js when checkoutAvailable"
    },
    "cancelAvailable": {
      "type": "boolean",
      "description": "True when checkout is available and the workspace can cancel a paid subscription\n(or is already `canceling`). False on Free/Beta, `grace_lock`, and when payment is disabled.\n"
    },
    "paidPeriodEndsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "End of already-paid entitlement after cancel (ISO-8601); null when not canceling"
    },
    "cancelRequestedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When cancel was requested; null when not canceling"
    },
    "overFreeTierLimits": {
      "type": "boolean",
      "description": "True when current usage exceeds Free-tier concurrent session and/or payload caps\n(useful for cancel confirmation copy).\n"
    },
    "resumeAvailable": {
      "type": "boolean",
      "description": "True when checkout is available and the workspace is `canceling` (undo cancel /\nresume auto-renewal via POST …/resume). False in `grace_lock`.\n"
    },
    "graceEndsAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When `billingStatus` is `grace_lock`, countdown to automatic wipe of all active\nsession payloads (ISO-8601). Null outside grace lock, including after wipe → Free.\n"
    }
  },
  "$defs": {
    "WorkspaceBillingUsage": {
      "type": "object",
      "required": [
        "activeSessionCount"
      ],
      "properties": {
        "activeSessionCount": {
          "type": "integer",
          "format": "int64",
          "description": "Active sessions in the workspace (same definition as billing enforcement)"
        },
        "largestActivePayloadBytes": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "Max `currentDataSizeBytes` among active sessions, or null when none"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/secure-flows-com-workspace-billing-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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