Publish with AI · Schema

PublishRequest

CompanyArtificial IntelligencePublishingEnterpriseSoftware-as-a-ServiceCollaboration

Properties

Name Type Description
name string Artifact display name. A URL-safe slug is derived from this.
mode string `static` — upload HTML/CSS/JS files. `dynamic` — server-side rendering via YAML manifest + Liquid templates.
files object Filename → file content (UTF-8 text). Required for static mode. The entry point is `index.html` (HTML) or `index.md` (Markdown, auto-rendered to a styled HTML page). Additional assets (CSS, JS, images
manifest string YAML manifest for dynamic mode. Defines queries and routes.
templates object Template name → Liquid template content for dynamic mode.
ttl_days integer Optional time-to-live in days. After this many days the artifact auto-goes-offline behind a wall for public visitors; the owner and MCP/REST keep access. 0 removes the TTL. Max 365. Omit to leave any
base_version integer Optional. The version this static update is based on (the version you last read). If another author published a newer version since then, the publish is rejected with 409 VERSION_CHANGED instead of si
confirmation_token string From a 409 VERSION_CHANGED response. Re-call publish with the same files and this token to overwrite the version another author published.
View JSON Schema on GitHub

JSON Schema

publishwith-ai-publish-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/publishwith-ai/json-schema/publishwith-ai-publish-request-schema.json",
  "title": "PublishRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/publishwith-ai-openapi.yml#/components/schemas/PublishRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Artifact display name. A URL-safe slug is derived from this."
    },
    "mode": {
      "type": "string",
      "enum": [
        "static",
        "dynamic"
      ],
      "default": "static",
      "description": "`static` — upload HTML/CSS/JS files.\n`dynamic` — server-side rendering via YAML manifest + Liquid templates.\n"
    },
    "files": {
      "type": "object",
      "description": "Filename → file content (UTF-8 text).\nRequired for static mode. The entry point is `index.html` (HTML)\nor `index.md` (Markdown, auto-rendered to a styled HTML page).\nAdditional assets (CSS, JS, images, more `.md`/`.html` pages) may\nbe included alongside it as extra keys.\n",
      "properties": {
        "index.html": {
          "type": "string",
          "description": "HTML entry point."
        },
        "index.md": {
          "type": "string",
          "description": "Markdown entry point, auto-rendered to a styled page."
        }
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "manifest": {
      "type": "string",
      "description": "YAML manifest for dynamic mode. Defines queries and routes."
    },
    "templates": {
      "type": "object",
      "description": "Template name → Liquid template content for dynamic mode.",
      "properties": {
        "index.html": {
          "type": "string",
          "description": "Main Liquid template."
        }
      },
      "additionalProperties": {
        "type": "string"
      }
    },
    "ttl_days": {
      "type": "integer",
      "description": "Optional time-to-live in days. After this many days the artifact\nauto-goes-offline behind a wall for public visitors; the owner and\nMCP/REST keep access. 0 removes the TTL. Max 365. Omit to leave any\nexisting TTL untouched on re-publish.\n"
    },
    "base_version": {
      "type": "integer",
      "description": "Optional. The version this static update is based on (the version you\nlast read). If another author published a newer version since then,\nthe publish is rejected with 409 VERSION_CHANGED instead of silently\noverwriting their work. Same-author updates need no base_version.\n"
    },
    "confirmation_token": {
      "type": "string",
      "description": "From a 409 VERSION_CHANGED response. Re-call publish with the same\nfiles and this token to overwrite the version another author published.\n"
    }
  }
}

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/publishwith-ai-publish-request"
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.