Novence Publish Html API

The Publish Html API from Novence — 1 operation(s) for publish html.

GitHub OpenAPI

Operations 1

POST /v1/publish-html Publish one HTML document #

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/novence-ai:novence-ai-publish-html-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

novence-ai-publish-html-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Novence Publish Html API
  version: 0.2.1
  description: 'Control plane for autonomous AI agent website hosting.


    **Deploy polling:** use `GET /v1/projects/{id}/deployments/latest` until

    `deployment.status` is `live` (or `failed`). Project `status` is lifecycle

    (`active`/`deleted`) — it does not become `live`.


    **OTP TTL:** email verification codes expire in **15 minutes**.


    **Discovery:** `https://api.novence.ai/llms.txt` and `/openapi.yaml` redirect

    to `https://novence.ai/…`.'
servers:
- url: https://api.novence.ai
  description: Production API
- url: http://127.0.0.1:8080
  description: Local
tags:
- name: Publish Html
paths:
  /v1/publish-html:
    post:
      summary: Publish one HTML document
      description: 'Write `/index.html` and deploy in one call. Omit `projectId` to create a project.

        Returns quickly — poll `GET /v1/projects/{id}/deployments/latest` until

        `deployment.status` is `live` or `failed`. For multi-file sites use the

        upload + deploy loop instead.'
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PublishHtmlRequest'
      responses:
        '201':
          description: Staging write + deployment created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublishHtmlResponse'
        '400':
          $ref: '#/components/responses/Error'
        '402':
          $ref: '#/components/responses/QuotaExceeded'
      tags:
      - Publish Html
      operationId: postV1PublishHtml
      x-operation-id-source: derived
components:
  schemas:
    DeploySource:
      type: object
      description: Where a deployment came from
      properties:
        kind:
          type: string
          enum:
          - api
          - cli
          - mcp
          - sdk
          - github-actions
        repository:
          type: string
          example: acme/website
        ref:
          type: string
          example: refs/heads/main
        sha:
          type: string
        message:
          type: string
          description: First line of the commit message
        actor:
          type: string
        runUrl:
          type: string
          format: uri
        verified:
          type: boolean
          description: True when the git fields were read from a GitHub OIDC token
    Project:
      type: object
      required:
      - id
      - name
      - suffix
      - url
      - status
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        suffix:
          type: string
          description: Subdomain label for https://{suffix}.novence.ai/
        url:
          type: string
          format: uri
        status:
          type: string
          description: Project lifecycle (active/deleted/suspended) — NOT deploy status
        randomSuffix:
          type: string
          deprecated: true
          description: Alias of suffix (deprecated)
        customDomain:
          type: string
          nullable: true
        customDomainStatus:
          type: string
        analyticsEnabled:
          type: boolean
          description: Cookieless edge analytics. Default false. Enable via PATCH.
        shareGateEmails:
          type: array
          items:
            type: string
            format: email
          description: 'Invited emails for the optional share gate (max 5). Empty means the

            platform host is public. Custom domains are never gated.

            '
        siteMcp:
          type: string
          enum:
          - 'off'
          - read
          - forms
          description: 'Visitor Site MCP. off by default. Discovery at /.well-known/mcp.json

            on the live origin; tools at /sites/{suffix}/mcp with no nv_ key.

            '
        dataEditEmails:
          type: array
          items:
            type: string
            format: email
          description: 'Owner emails for optional /edit (max 5). Empty means off. Pro/Scale.

            Custom domains included.

            '
        dataEditNames:
          type: array
          items:
            type: string
          description: Collection names the owner may edit.
        dataEditPath:
          type: string
          description: Editor path segment. Default edit.
    PublishHtmlResponse:
      type: object
      required:
      - url
      - projectId
      - created
      properties:
        url:
          type: string
          format: uri
        projectId:
          type: string
          format: uuid
        project:
          $ref: '#/components/schemas/Project'
        deployment:
          $ref: '#/components/schemas/Deployment'
        created:
          type: boolean
          description: True when this call created the project
    ChecksResults:
      type: object
      description: 'Quality-gate payload. When `skipped` is true (unverified accounts),

        `passed` is null — do not treat that as checks having passed.

        '
      properties:
        passed:
          type: boolean
          nullable: true
        skipped:
          type: boolean
        reason:
          type: string
        deploymentId:
          type: string
          format: uuid
          description: The deployment these results were measured from.
        measurementError:
          type: string
          description: Why Lighthouse could not score the page. The deploy fails and `lighthouse` is null.
        warnings:
          type: array
          items:
            type: string
          description: Non-blocking findings, e.g. Lighthouse performance below threshold while `enforcePerformance` is false.
        lighthouse:
          type: object
          nullable: true
          properties:
            performance:
              type: number
            accessibility:
              type: number
            bestPractices:
              type: number
            seo:
              type: number
    PublishHtmlRequest:
      type: object
      required:
      - html
      properties:
        html:
          type: string
          description: Full HTML document stored as /index.html
        title:
          type: string
          description: Project name when creating a project
        projectId:
          type: string
          format: uuid
          description: Existing project. Omit to create one.
        project_id:
          type: string
          format: uuid
          description: Snake_case alias for projectId
        force:
          type: boolean
    QuotaExceeded:
      type: object
      required:
      - error
      - wall
      - next
      properties:
        error:
          type: string
        wall:
          type: string
          enum:
          - verify
          - upgrade
          - spend_limit
          description: 'verify — OTP only (Free already covers this cap; no Checkout / $29).

            upgrade — Checkout or MPP. Unverified 2nd project is verify-then-Pro.

            spend_limit — the account''s monthly overage cap is reached.

            '
        next:
          type: object
          required:
          - mcp
          - rest
          properties:
            mcp:
              type: array
              items:
                type: string
              description: MCP tool names (e.g. verify_email, checkout, mpp_upgrade)
            rest:
              type: array
              items:
                type: string
              description: REST paths (e.g. POST /v1/auth/verify-email)
    Deployment:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          description: 'queued (waiting for a check runner) | checking (runner started) |

            promoting | live | failed. Legacy rows may say pending (= queued).

            '
        phase:
          type: string
          enum:
          - queued
          - checking
          - promoting
          - live
          - failed
        queuePosition:
          type: integer
          nullable: true
          description: 1-based place in the check queue while `status` is `queued`
        recommendedPollSeconds:
          type: integer
          nullable: true
          description: Suggested delay before the next poll (15 while queued, 5 while checking/promoting); null when live or failed
        checksResults:
          allOf:
          - $ref: '#/components/schemas/ChecksResults'
          nullable: true
        checksUrl:
          type: string
        errorMessage:
          type: string
          nullable: true
        previewUrl:
          type: string
          format: uri
          description: 'Per-deploy alias on Pro/Scale (`https://{suffix}--{ref}.novence.ai/`).

            On Free this is the live host.

            '
        liveUrl:
          type: string
          format: uri
          nullable: true
        source:
          allOf:
          - $ref: '#/components/schemas/DeploySource'
          nullable: true
        queuedRedeploy:
          type: boolean
          description: 'True while a newer deploy is waiting for this one to settle. A deployment

            with a different id follows; keep polling `…/deployments/latest`.

            '
  responses:
    QuotaExceeded:
      description: 'Quota wall. `error` is the human string. `wall` is `verify` (OTP only —

        Free already covers this cap; no Checkout / $29), `upgrade` (Checkout

        or MPP), or `spend_limit` (the account''s own overage cap is reached —

        raise it with `PUT /v1/billing/spend-limit` or wait for the UTC month).

        An unverified 2nd project is `upgrade` with verify-then-Pro next actions.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/QuotaExceeded'
    Error:
      description: JSON error
      content:
        application/json:
          schema:
            type: object
            required:
            - error
            properties:
              error:
                type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key (nv_…) or management token (mgmt_…)