# Email Studio

> Create, inspect, and update Email Studio drafts, import email remixes, and publish directly to connected Klaviyo accounts.

## List Email Studio drafts

`GET https://shaw.ai/api/email-studio/drafts`

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/drafts": {
      "get": {
        "operationId": "list_email_drafts",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:read"
            ]
          }
        ],
        "summary": "List Email Studio drafts",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "list_email_drafts",
        "x-requires-confirmation": false,
        "x-required-scope": "pages:read"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Read an Email Studio draft

`GET https://shaw.ai/api/email-studio/drafts/{draftId}`

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/drafts/{draftId}": {
      "get": {
        "operationId": "get_email_draft",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          },
          {
            "description": "Email draft id.",
            "in": "path",
            "name": "draftId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:read"
            ]
          }
        ],
        "summary": "Read an Email Studio draft",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "get_email_draft",
        "x-requires-confirmation": false,
        "x-required-scope": "pages:read"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Delete an Email Studio draft

`DELETE https://shaw.ai/api/email-studio/drafts/{draftId}`

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/drafts/{draftId}": {
      "delete": {
        "operationId": "delete_email_draft",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          },
          {
            "description": "Email draft id.",
            "in": "path",
            "name": "draftId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:write"
            ]
          }
        ],
        "summary": "Delete an Email Studio draft",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "delete_email_draft",
        "x-requires-confirmation": true,
        "x-required-scope": "pages:write"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Create or update an Email Studio draft

`PUT https://shaw.ai/api/email-studio/drafts/{draftId}`

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/drafts/{draftId}": {
      "put": {
        "operationId": "save_email_draft",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          },
          {
            "description": "Email draft id (1-64 alphanumeric, dash, or underscore characters).",
            "in": "path",
            "name": "draftId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "document": {
                    "description": "Structured EmailDocument payload (`title`, `subject`, `sections`, etc.).",
                    "additionalProperties": true,
                    "type": "object"
                  }
                },
                "required": [
                  "document"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:write"
            ]
          }
        ],
        "summary": "Create or update an Email Studio draft",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "save_email_draft",
        "x-requires-confirmation": false,
        "x-required-scope": "pages:write"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Import an email remix into Email Studio

`POST https://shaw.ai/api/email-studio/import-remix`

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/import-remix": {
      "post": {
        "operationId": "import_remix_to_email",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "remixId": {
                    "description": "Email remix id (`rmx_...`) to convert into an Email Studio draft.",
                    "type": "string"
                  }
                },
                "required": [
                  "remixId"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:write"
            ]
          }
        ],
        "summary": "Import an email remix into Email Studio",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "import_remix_to_email",
        "x-requires-confirmation": false,
        "x-required-scope": "pages:write"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Publish an email draft to Klaviyo

`POST https://shaw.ai/api/email-studio/klaviyo/publish`

Requires an active Shaw Pro subscription and a connected Klaviyo account.

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/klaviyo/publish": {
      "post": {
        "description": "Requires an active Shaw Pro subscription and a connected Klaviyo account.",
        "operationId": "publish_email_to_klaviyo",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "audienceId": {
                    "description": "Klaviyo list or segment id when `mode` is `campaign_draft`.",
                    "type": "string"
                  },
                  "document": {
                    "description": "EmailDocument payload; omitted if publishing an existing `draftId`.",
                    "additionalProperties": true,
                    "type": "object"
                  },
                  "draftId": {
                    "description": "Saved Email Studio draft id to publish.",
                    "type": "string"
                  },
                  "fromEmail": {
                    "description": "Sender email override.",
                    "type": "string"
                  },
                  "fromLabel": {
                    "description": "Sender display name override.",
                    "type": "string"
                  },
                  "mode": {
                    "description": "Publish a reusable Klaviyo template or a campaign draft.",
                    "type": "string",
                    "enum": [
                      "template",
                      "campaign_draft"
                    ]
                  },
                  "replyToEmail": {
                    "description": "Reply-to email override.",
                    "type": "string"
                  },
                  "templateName": {
                    "description": "Template name in Klaviyo.",
                    "type": "string"
                  }
                },
                "required": [
                  "mode"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:write"
            ]
          }
        ],
        "summary": "Publish an email draft to Klaviyo",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "publish_email_to_klaviyo",
        "x-requires-confirmation": true,
        "x-required-scope": "pages:write"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```

## Import a library email template directly to Klaviyo

`POST https://shaw.ai/api/email-studio/klaviyo/publish-template`

Import a library email template directly into a connected Klaviyo account without Remix or a Shaw Pro subscription. Spends email LOC credits (1 credit = 1 LOC, 2,500 credits minimum) on first unlock and 0 credits forever across all future versions once unlocked.

```json
{
  "openapi": "3.1.0",
  "info": {
    "description": "Shaw's API for people and agents. Everything you can do in the app, you can do here with an API key or an OAuth token, within the scopes you grant it.\n\nA scope only narrows a credential: every request still runs as the person who owns it, with their role in the organization.\n\nRoutes under /api/skills, /api/harness-profiles, /api/data-sync, /api/templates, /api/seo are reachable with the matching read or write scope (GET reads, everything else writes) even where no typed operation is listed here.\n\nWebhook events: approval.decided, session.completed, schedule.run.started, schedule.run.failed.\n\nMCP: https://shaw.ai/mcp (also https://shaw.ai/portal/mcp).",
    "title": "Shaw API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://shaw.ai"
    }
  ],
  "paths": {
    "/api/email-studio/klaviyo/publish-template": {
      "post": {
        "description": "Import a library email template directly into a connected Klaviyo account without Remix or a Shaw Pro subscription. Spends email LOC credits (1 credit = 1 LOC, 2,500 credits minimum) on first unlock and 0 credits forever across all future versions once unlocked.",
        "operationId": "publish_template_to_klaviyo",
        "parameters": [
          {
            "$ref": "#/components/parameters/Tenant"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "audienceId": {
                    "description": "Klaviyo list or segment id when `mode` is `campaign_draft`.",
                    "type": "string"
                  },
                  "excludedAudienceIds": {
                    "description": "Optional list of Klaviyo list or segment ids to exclude from a campaign draft.",
                    "items": {},
                    "type": "array"
                  },
                  "existingKlaviyoTemplateId": {
                    "description": "Optional existing Klaviyo template id to update in place.",
                    "type": "string"
                  },
                  "fromEmail": {
                    "description": "Sender email override.",
                    "type": "string"
                  },
                  "fromLabel": {
                    "description": "Sender display name override.",
                    "type": "string"
                  },
                  "mode": {
                    "description": "Publish a reusable Klaviyo CODE template or a Klaviyo draft campaign (defaults to `template`).",
                    "type": "string",
                    "enum": [
                      "template",
                      "campaign_draft"
                    ]
                  },
                  "previewText": {
                    "description": "Optional inbox preview / preheader text.",
                    "type": "string"
                  },
                  "replyToEmail": {
                    "description": "Reply-to email override.",
                    "type": "string"
                  },
                  "slug": {
                    "description": "Library email template slug (e.g. `aesop/email-welcome`), if `templateId` is omitted.",
                    "type": "string"
                  },
                  "subject": {
                    "description": "Optional email subject line override.",
                    "type": "string"
                  },
                  "templateId": {
                    "description": "Library email template id (`tpl_...`) from `search_templates`.",
                    "type": "string"
                  },
                  "templateName": {
                    "description": "Template name in Klaviyo.",
                    "type": "string"
                  },
                  "useSmartSending": {
                    "description": "Whether Klaviyo Smart Sending is enabled (default true).",
                    "type": "boolean"
                  },
                  "version": {
                    "description": "Optional template version id (`YYYY-MM-DD`).",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": false
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Ok"
          },
          "400": {
            "$ref": "#/components/responses/Error"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/Error"
          },
          "429": {
            "$ref": "#/components/responses/Error"
          }
        },
        "security": [
          {
            "apiKey": []
          },
          {
            "oauth2": [
              "pages:write"
            ]
          }
        ],
        "summary": "Import a library email template directly to Klaviyo",
        "tags": [
          "Email Studio"
        ],
        "x-mcp-tool": "publish_template_to_klaviyo",
        "x-requires-confirmation": true,
        "x-required-scope": "pages:write"
      }
    }
  },
  "components": {
    "parameters": {
      "Tenant": {
        "description": "The organization to act for (an id from `GET /api/me`). Defaults to the key's pinned organization, else your first organization. You must be a member of it.",
        "in": "header",
        "name": "X-Shaw-Tenant",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "responses": {
      "Error": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The request was refused or failed; `error` is a stable code."
      },
      "Forbidden": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "enum": [
                    "insufficient_scope",
                    "bearer_not_allowed",
                    "forbidden_workspace",
                    "tenant_pinned"
                  ],
                  "type": "string"
                },
                "message": {
                  "type": "string"
                },
                "scope": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential lacks the scope, can't call this route, or can't act for the organization."
      },
      "Ok": {
        "content": {
          "application/json": {
            "schema": {}
          }
        },
        "description": "Success. The body is JSON."
      },
      "Unauthorized": {
        "content": {
          "application/json": {
            "schema": {
              "properties": {
                "error": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              },
              "type": "object"
            }
          }
        },
        "description": "The credential is missing, invalid, expired or revoked.",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "sk_…",
        "description": "A personal API key created in Settings → Developers. Send it as `Authorization: Bearer sk_…`.",
        "scheme": "bearer",
        "type": "http"
      },
      "oauth2": {
        "description": "OAuth 2.1 authorization code with S256 PKCE. Clients can register themselves (RFC 7591).",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://shaw.ai/api/auth/oauth2/authorize",
            "refreshUrl": "https://shaw.ai/api/auth/oauth2/token",
            "scopes": {
              "org:read": "See which organizations you belong to, their profile and runtime status.",
              "org:write": "Create organizations and rename the ones you administer.",
              "sessions:read": "Read chat sessions, their messages and artifacts.",
              "sessions:write": "Start, rename, fork, compact and archive chat sessions and send messages.",
              "approvals:review": "Approve or reject the actions a session is waiting on.",
              "files:read": "Read shared files and documents.",
              "files:write": "Create, edit and delete shared files and documents.",
              "memory:read": "Read the knowledge base and shared memory.",
              "memory:write": "Add, edit, restore and delete knowledge entries.",
              "schedules:read": "Read scheduled automations.",
              "schedules:write": "Change and run scheduled automations.",
              "campaigns:read": "Read synced advertising, sales and Meta/Google campaign data.",
              "campaigns:write": "Run syncs and publish or change ad campaigns.",
              "reports:read": "Read SEO reports and research.",
              "reports:write": "Run and change SEO reports and research.",
              "pages:read": "Read template catalog metadata, code size/credits, Brand Kit, remixes, hosted pages, custom domains, and Email Studio drafts.",
              "pages:write": "Update Brand Kit, create or edit remixes, publish hosted pages or domains, and edit or publish Email Studio drafts.",
              "connectors:read": "See which apps and providers are connected, without any credentials.",
              "connectors:manage": "Disconnect apps, forget saved provider keys and manage MCP servers. Connecting an app or entering a credential needs you signed in.",
              "members:read": "See who belongs to an organization and their roles.",
              "members:manage": "Invite people and change or remove members.",
              "settings:read": "Read workspace settings, tool policy, skills and models.",
              "settings:write": "Change workspace settings, tool policy and skills.",
              "webhooks:manage": "Create, list and delete outbound webhooks.",
              "events:read": "Read the activity feed and webhook delivery log.",
              "tools:read": "Use read-only integration tools (Shopify, Klaviyo and others) the organization has connected.",
              "tools:write": "Use integration tools that change data in connected apps. Writes still follow the organization's tool policy."
            },
            "tokenUrl": "https://shaw.ai/api/auth/oauth2/token"
          }
        },
        "type": "oauth2"
      }
    },
    "schemas": {}
  }
}
```
