Comma · Schema

ReportCreateRequest

CompanyReportsCollaborationCommentsHTMLMCPAI AgentsData Visualization

Properties

Name Type Description
html string Required. Max 5 MB (413 above that).
title string Defaults to 'Untitled report'.
description string
visibility string 'team' and 'domain' cannot be set at create time — use PUT /reports/{id}/share.
public_permission string Link permission for /p/:id. Forced to 'none' when visibility is 'private'.
producer_name string Attribution chip on the public view.
producer_url string http(s) only; anything else is dropped.
producer_icon_url string http(s) only; anything else is dropped.
source_recipe object Arbitrary JSON object powering the 'Continue this run' modal (.prompt, .tools).
assets array Inline assets; relative references in the HTML are rewritten to stored URLs.
View JSON Schema on GitHub

JSON Schema

commareports-com-report-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-report-create-request-schema.json",
  "title": "ReportCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commareports-com-openapi.yml#/components/schemas/ReportCreateRequest",
  "type": "object",
  "properties": {
    "html": {
      "type": "string",
      "description": "Required. Max 5 MB (413 above that)."
    },
    "title": {
      "type": "string",
      "description": "Defaults to 'Untitled report'."
    },
    "description": {
      "type": "string"
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "registered",
        "public"
      ],
      "default": "public",
      "description": "'team' and 'domain' cannot be set at create time — use PUT /reports/{id}/share."
    },
    "public_permission": {
      "type": "string",
      "enum": [
        "none",
        "view",
        "comment",
        "edit"
      ],
      "default": "comment",
      "description": "Link permission for /p/:id. Forced to 'none' when visibility is 'private'."
    },
    "producer_name": {
      "type": "string",
      "maxLength": 80,
      "description": "Attribution chip on the public view."
    },
    "producer_url": {
      "type": "string",
      "format": "uri",
      "description": "http(s) only; anything else is dropped."
    },
    "producer_icon_url": {
      "type": "string",
      "format": "uri",
      "description": "http(s) only; anything else is dropped."
    },
    "source_recipe": {
      "type": "object",
      "description": "Arbitrary JSON object powering the 'Continue this run' modal (.prompt, .tools)."
    },
    "assets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InlineAssetInput"
      },
      "description": "Inline assets; relative references in the HTML are rewritten to stored URLs."
    }
  },
  "required": [
    "html"
  ],
  "$defs": {
    "InlineAssetInput": {
      "type": "object",
      "properties": {
        "relative_path": {
          "type": "string",
          "description": "POSIX-style path the HTML references, e.g. 'images/hero.png'. No leading slash, no '.'/'..' segments, no '%', '?' or '#'."
        },
        "content_base64": {
          "type": "string",
          "description": "Base64 file contents ('data:' URL prefix tolerated)."
        },
        "content_type": {
          "type": "string",
          "description": "MIME type; defaults to application/octet-stream."
        }
      },
      "required": [
        "relative_path",
        "content_base64"
      ]
    }
  }
}

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/commareports-com-report-create-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.