Sequenzy · Schema

EmailAiStyleState

Email MarketingArtificial IntelligenceSoftware-as-a-ServiceAutomationDeveloper Tools

Properties

Name Type Description
success boolean
style objectnull Independent version 1 appearance snapshot. No source copy, links or bindings are stored in block styles. Unsupported versions are returned as null.
revisionId stringnull Pass this as expectedStyleId on the next write. An unsupported style version still returns its revision for replacement or clearing.
canManage boolean Whether your key scopes and workspace role permit saving or clearing.
View JSON Schema on GitHub

JSON Schema

sequenzy-email-ai-style-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sequenzy/json-schema/sequenzy-email-ai-style-state-schema.json",
  "title": "EmailAiStyleState",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sequenzy-email-ai-style-api-openapi.yml#/components/schemas/EmailAiStyleState",
  "type": "object",
  "required": [
    "success",
    "style",
    "revisionId",
    "canManage"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "style": {
      "type": [
        "object",
        "null"
      ],
      "description": "Independent version 1 appearance snapshot. No source copy, links or bindings are stored in block styles. Unsupported versions are returned as null.",
      "properties": {
        "version": {
          "type": "integer",
          "enum": [
            1
          ]
        },
        "id": {
          "type": "string"
        },
        "sourceEmailId": {
          "type": "string"
        },
        "sourceName": {
          "type": "string"
        },
        "savedAt": {
          "type": "string",
          "format": "date-time"
        },
        "theme": {
          "type": "object",
          "additionalProperties": true
        },
        "fontFamily": {
          "type": "string"
        },
        "emailPreset": {
          "type": "string",
          "enum": [
            "branded",
            "minimal"
          ]
        },
        "blocks": {
          "type": "array",
          "description": "Appearance records keyed by block type and discriminator, not source email blocks.",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "layout": {
          "type": "object",
          "description": "Structure guidance captured with the appearance. Absent on snapshots saved before layout habits existed.",
          "properties": {
            "outline": {
              "type": "array",
              "description": "Top-level block descriptors in source order (for example heading:1, divider:dots, button:pill), excluding logo and footer scaffolding.",
              "items": {
                "type": "string"
              }
            },
            "rules": {
              "type": "array",
              "description": "Confirmed layout habits. Generation follows them in prompts and inserts content-free companions (dividers, spacers) deterministically.",
              "items": {
                "$ref": "#/$defs/EmailAiStyleLayoutRule"
              }
            }
          }
        },
        "notes": {
          "type": "string",
          "description": "Free-text design notes supplied when saving, up to 500 characters."
        }
      }
    },
    "revisionId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass this as expectedStyleId on the next write. An unsupported style version still returns its revision for replacement or clearing."
    },
    "canManage": {
      "type": "boolean",
      "description": "Whether your key scopes and workspace role permit saving or clearing."
    }
  },
  "$defs": {
    "EmailAiStyleLayoutRule": {
      "type": "object",
      "required": [
        "id",
        "kind",
        "block",
        "description"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable rule identifier, for example around|button|divider:dots. Pass it in layoutRuleIds to keep the habit."
        },
        "kind": {
          "type": "string",
          "enum": [
            "opener",
            "around",
            "before",
            "after"
          ]
        },
        "block": {
          "type": "string",
          "description": "Target block type, for example button or video."
        },
        "companion": {
          "type": "string",
          "description": "Content-free companion descriptor for around/before/after rules, for example divider:dots."
        },
        "description": {
          "type": "string"
        }
      }
    }
  }
}

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/sequenzy-email-ai-style-state"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.