dotsy · Schema

AssetUploadResult

CompanyArtificial IntelligenceWebsite BuilderNo-CodeFree

Properties

Name Type Description
key string The stored key. For a raster image this is the WebP key, which can differ from the key you sent.
originalKey string The key you sent, when the image is stored under another one. `/assets/{originalKey}` keeps serving it, and published pages that reference it are pointed at the stored image. Use `key` in new referenc
hint string Present when `{name}.webp` already held another image, so this one was stored as `{name}-{ext}.webp` (in `key`). Published pages that use the name you sent still show it; CSS and JS must use `key`.
created boolean True when the asset did not exist before.
size integer Stored size in bytes.
contentType string
sha256 string SHA-256 of the STORED bytes. For JS, CSS and SVG it matches the upload; a raster image is re-encoded to WebP, so it may not.
width integer Pixel width, for a processed raster image.
height integer Pixel height, for a processed raster image.
suggestedSrcset string A ready-made `srcset` for the image and its smaller variant.
variants object Keys of the extra sizes stored next to the image.
processed boolean True when the image was optimized on upload.
skippedReencode boolean True when the image was already small enough to keep as is.
optimized boolean Present as false when a raster image was stored exactly as sent instead of re-encoded; `reason` says why.
reason string Why `optimized` is false: the daily image-processing budget was used up (`daily_image_budget`), you sent `optimize: false` (`optimize_off`), or the file is an animated GIF, which keeps its frames (`an
uploadedAt number Upload time, Unix ms.
etag string Content fingerprint (MD5 hex).
View JSON Schema on GitHub

JSON Schema

dotsy-ai-asset-upload-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dotsy-ai/json-schema/dotsy-ai-asset-upload-result-schema.json",
  "title": "AssetUploadResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dotsy-ai-assets-api-openapi.yml#/components/schemas/AssetUploadResult",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "The stored key. For a raster image this is the WebP key, which can differ from the key you sent."
    },
    "originalKey": {
      "type": "string",
      "description": "The key you sent, when the image is stored under another one. `/assets/{originalKey}` keeps serving it, and published pages that reference it are pointed at the stored image. Use `key` in new references."
    },
    "hint": {
      "type": "string",
      "description": "Present when `{name}.webp` already held another image, so this one was stored as `{name}-{ext}.webp` (in `key`). Published pages that use the name you sent still show it; CSS and JS must use `key`."
    },
    "created": {
      "type": "boolean",
      "description": "True when the asset did not exist before."
    },
    "size": {
      "type": "integer",
      "description": "Stored size in bytes."
    },
    "contentType": {
      "type": "string"
    },
    "sha256": {
      "type": "string",
      "description": "SHA-256 of the STORED bytes. For JS, CSS and SVG it matches the upload; a raster image is re-encoded to WebP, so it may not."
    },
    "width": {
      "type": "integer",
      "description": "Pixel width, for a processed raster image."
    },
    "height": {
      "type": "integer",
      "description": "Pixel height, for a processed raster image."
    },
    "suggestedSrcset": {
      "type": "string",
      "description": "A ready-made `srcset` for the image and its smaller variant."
    },
    "variants": {
      "type": "object",
      "properties": {
        "sm": {
          "type": "string"
        }
      },
      "required": [
        "sm"
      ],
      "description": "Keys of the extra sizes stored next to the image."
    },
    "processed": {
      "type": "boolean",
      "description": "True when the image was optimized on upload."
    },
    "skippedReencode": {
      "type": "boolean",
      "description": "True when the image was already small enough to keep as is."
    },
    "optimized": {
      "type": "boolean",
      "enum": [
        false
      ],
      "description": "Present as false when a raster image was stored exactly as sent instead of re-encoded; `reason` says why."
    },
    "reason": {
      "type": "string",
      "enum": [
        "daily_image_budget",
        "optimize_off",
        "animated_gif"
      ],
      "description": "Why `optimized` is false: the daily image-processing budget was used up (`daily_image_budget`), you sent `optimize: false` (`optimize_off`), or the file is an animated GIF, which keeps its frames (`animated_gif`)."
    },
    "uploadedAt": {
      "type": "number",
      "description": "Upload time, Unix ms."
    },
    "etag": {
      "type": "string",
      "description": "Content fingerprint (MD5 hex)."
    }
  },
  "required": [
    "key",
    "created",
    "size",
    "contentType",
    "sha256",
    "uploadedAt",
    "etag"
  ]
}

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/dotsy-ai-asset-upload-result"
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.