> ## Documentation Index
> Fetch the complete documentation index at: https://filecheck.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Revert to the catalog optimize preset

> Drops your copy of a catalog optimize preset (or un-hides one you deleted), so the built-in version applies again.



## OpenAPI

````yaml /openapi.json post /optimize-presets/{id}/revert
openapi: 3.1.0
info:
  title: Filecheck API
  version: 1.1.0
  description: >-
    The Filecheck REST API. Submit files as jobs and fetch results, and set up
    your account: workflows, upload rules, preflight profiles, connectors,
    optimize presets, delivery destinations, product mappings, storefront
    settings and webhooks. All requests are authenticated server-side with your
    secret key (`sk_live_…`).
servers:
  - url: https://api.filecheck.io
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Jobs
    description: >-
      Submit files for preflight, fixing, optimization, validation and previews,
      and read the results.
  - name: Uploads
    description: Presigned credentials to upload large files directly.
  - name: Orders
    description: Attach jobs to commerce orders.
  - name: Workflows
    description: >-
      What happens to a customer's files for a product: the intake rule that
      checks them on upload, the processing streams, proofing, merging and
      delivery. Products in your store map to a workflow.
  - name: Rules
    description: >-
      Upload rules: which files a product accepts (kinds, MIME types, how many),
      which preflight profile checks each kind, and what happens when a file
      fails. A workflow's intake points at one rule.
  - name: Profiles
    description: >-
      Preflight profiles: the checks run on a file (size, bleed, resolution,
      colour, fonts…) with their thresholds, severities and automatic fixes. PDF
      profiles check PDFs (and vector and office files once converted); raster
      profiles check images.
  - name: Connectors
    description: >-
      Connectors wire a product page to the Element: what the shopper chose
      (size, page count, sides, finishing) adjusts the rule's size checks for
      that upload, and what FileCheck measured in the file (page count, size,
      area) can fill the page's own inputs so the store prices from the real
      file. The cart plugins store the chosen connector per product.
  - name: Optimize presets
    description: >-
      Saved optimize settings (compression, downsampling, colour conversion)
      that optimize steps can use.
  - name: Destinations
    description: >-
      Where finished files are delivered: SFTP and FTP hotfolders, S3 buckets,
      webhooks. Workflows list the destinations they deliver to. Secrets are
      write-only.
  - name: Products
    description: >-
      Which workflow each product in your store uses. The storefront Element
      opens the mapped workflow on the product page.
  - name: Settings
    description: >-
      How the storefront Element appears on your product pages: where it mounts,
      the add-to-cart button it guards, display mode and theme.
  - name: Webhooks
    description: >-
      HTTP callbacks for job, proof, account and billing events, signed with
      X-FileCheck-Signature.
paths:
  /optimize-presets/{id}/revert:
    post:
      tags:
        - Optimize presets
      summary: Revert to the catalog optimize preset
      description: >-
        Drops your copy of a catalog optimize preset (or un-hides one you
        deleted), so the built-in version applies again.
      operationId: revertOptimizePreset
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: The catalog optimize preset id.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  preset:
                    allOf:
                      - $ref: '#/components/schemas/OptimizePreset'
                      - $ref: '#/components/schemas/RecordFields'
                  reverted:
                    type: boolean
                    description: False when there was no copy to drop.
        '401':
          description: Missing or invalid key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: >-
            Conflict: `code` says why (in_use, draft_reference, not_a_draft,
            not_a_catalog_record, cart_not_supported)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    OptimizePreset:
      title: Optimize preset
      description: >-
        A saved, named set of PDF optimizations (downsample or AI-upscale
        images, recompress, convert colors to CMYK/gray/RGB, outline text,
        flatten layers, thicken hairlines, strip junk, resize pages, set
        trim/crop boxes, add bleed, embed an output-intent ICC profile) that a
        job applies to the customer's PDF. Workflows point at it from an
        optimize step, workflow.streams[].steps[] { type: "optimize", config: {
        presetId } }, and rules from rule.accepts[].flow.optimize.presetId (when
        flow.optimize.enabled). The preset is read at run time, so edits apply
        to the next job. The proof sheet also takes its page size from
        pageResize and its ICC profile from outputIntent. Presets apply to PDFs
        only, including raster uploads after a Convert-to-PDF step; raster
        optimize ignores them. The stored shape is NOT the params shape of POST
        /jobs/optimize: here every group is an object with its own `enabled`
        switch and only groups with enabled true are applied (a group without
        enabled: true does nothing), scaleImages.targetRes is a single DPI
        number, and flattenLayers is { enabled }. Other keys in the optimize
        step's config, written in the POST /jobs/optimize params.pdf shape,
        replace the preset's group of the same name for that step. Groups run
        as: AI upscale and bleed fill first, then the DynaPDF pass (resize,
        boxes, conversion, compression, output intent).
      type: object
      additionalProperties: false
      allOf:
        - if:
            required:
              - bleed
              - pageResize
            properties:
              bleed:
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
              pageResize:
                required:
                  - enabled
                properties:
                  enabled:
                    const: true
          then:
            properties:
              bleed:
                required:
                  - fill
                properties:
                  fill:
                    enum:
                      - mirror
                      - scale
      properties:
        title:
          type: string
          maxLength: 200
          description: >-
            Name shown in the dashboard's preset pickers, e.g. "Offset CMYK, 300
            dpi, 3 mm bleed". The dashboard will not save a preset without one.
        tags:
          type: array
          maxItems: 50
          items:
            type: string
            minLength: 1
            maxLength: 64
          description: Free-form labels for organising the Library. Not used at run time.
        scaleImages: 359d89f3-e58f-4d07-8b1b-981a0e39e5b9
        upscaleImages: 20da99a4-8ac5-4231-bb15-6f8692c36fd7
        compression: de2c6912-16da-4f0c-8131-3b1373358b18
        colorConversion: 73f61dbf-6351-4ac1-89b5-e258527f1b2a
        grayTo1Bit: 86f873ca-3184-48c5-9df1-9878220237a4
        textToOutlines: e03960b6-da93-43fd-a2a7-ca397a967fd2
        flattenLayers: ef7caf4a-0b10-4089-8644-0359a64e003a
        hairlines: eed608cc-3059-4cce-9c73-bdfe69757538
        strip: 2ff7fa17-a5a8-413d-b272-4e6e8517ff58
        pageResize: 952b0774-3cdc-457f-9b4a-bd5068aa7997
        boundingBoxes: 3ff8e48f-7eb4-4bb1-a5f3-86c277004839
        bleed: a7e89e97-32c7-4838-bf7c-f1c1d85fd435
        outputIntent: ce65a76f-6c10-4c73-b486-1ddbf8ef5025
      definitions:
        groupEnabled:
          type: boolean
          description: >-
            Switch for this group: true applies it, false keeps the settings but
            skips it. Required, because a group without enabled: true does
            nothing.
        dpi:
          type: integer
          minimum: 1
          maximum: 1200
        channelDpi:
          type: object
          additionalProperties: false
          minProperties: 1
          properties:
            bw:
              $ref: '#/components/schemas/OptimizePreset/definitions/dpi'
              description: DPI for 1-bit black and white images.
            gray:
              $ref: '#/components/schemas/OptimizePreset/definitions/dpi'
              description: DPI for grayscale images.
            color:
              $ref: '#/components/schemas/OptimizePreset/definitions/dpi'
              description: DPI for color (multi-channel) images.
        scaleImages:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Downsample images whose resolution is above targetRes, to shrink the
            file. Never increases resolution (that is upscaleImages).
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            required:
              - targetRes
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            targetRes:
              description: >-
                Target resolution in DPI that larger images are downsampled to,
                e.g. 300 for offset, 150 for large format. One number applies to
                color, gray and 1-bit images alike (the dashboard edits only
                this form); a { bw, gray, color } object sets channels
                separately. Images at or below targetRes are left alone.
              default: 300
              anyOf:
                - $ref: '#/components/schemas/OptimizePreset/definitions/dpi'
                - $ref: '#/components/schemas/OptimizePreset/definitions/channelDpi'
            minRes:
              $ref: '#/components/schemas/OptimizePreset/definitions/channelDpi'
              description: >-
                Per-channel threshold in DPI: only images above it are
                downsampled. Defaults to targetRes + 1 per channel. Not editable
                in the dashboard; a later save there drops it.
            skipMasked:
              type: boolean
              default: false
              description: Leave images that have a color mask untouched.
            skipSizeCheck:
              type: boolean
              default: false
              description: >-
                Write the downsampled image even when it comes out larger than
                the original. Not editable in the dashboard; a later save there
                drops it.
        upscaleImages:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            AI-upscale placed images whose effective resolution is below
            targetDpi (an external AI service, run before everything else; adds
            processing time per image). RGB, gray and indexed images only; CMYK
            and JPEG 2000 images are left as they are. Combined with
            scaleImages, keep targetDpi at or below scaleImages.targetRes, or
            images are upscaled and then immediately downsampled again.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            targetDpi:
              type: number
              minimum: 72
              maximum: 1200
              default: 300
              description: >-
                Effective DPI every placed image should reach at its printed
                size.
            maxScale:
              type: number
              minimum: 1
              maximum: 4
              default: 4
              description: >-
                Largest enlargement factor per image; images needing more are
                enlarged to this and reported as still below target.
            maxImages:
              type: integer
              minimum: 1
              maximum: 200
              default: 50
              description: >-
                Most images upscaled per document, worst DPI first; the rest are
                reported as skipped.
        compression:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Recompress image streams. Filters left out keep the optimizer's own
            choice. The dashboard starts new presets at ccitt4 / jpeg / jpeg
            with quality 80; jpeg and jpeg2000 are lossy, so prefer flate where
            print quality matters more than size.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            bwFilter:
              type: string
              enum:
                - flate
                - ccitt3
                - ccitt4
                - jbig2
                - lzw
                - runlength
              description: >-
                Filter for 1-bit black and white images: flate (lossless),
                ccitt3 / ccitt4 (lossless fax), jbig2 (best for scanned text),
                lzw, runlength.
            grayFilter:
              type: string
              enum:
                - flate
                - jpeg
                - jpeg2000
                - lzw
              description: >-
                Filter for grayscale images: flate or lzw (lossless), jpeg or
                jpeg2000 (lossy).
            colorFilter:
              type: string
              enum:
                - flate
                - jpeg
                - jpeg2000
                - lzw
              description: >-
                Filter for color images: flate or lzw (lossless), jpeg or
                jpeg2000 (lossy).
            jpegQuality:
              type: integer
              minimum: 1
              maximum: 100
              description: >-
                JPEG quality, 1 (smallest) to 100 (best). 80 to 90 is typical
                for print.
            jpeg2000Quality:
              type: integer
              minimum: 1
              maximum: 100
              description: JPEG 2000 quality, 1 (smallest) to 100 (best).
            use1BitJBIG2:
              type: boolean
              default: false
              description: >-
                Recompress 1-bit images with JBIG2 (very compact for scanned
                text); images already in JBIG2 are skipped.
            recompressJBIG2:
              type: boolean
              default: false
              description: >-
                Re-encode 1-bit images even when they are already JBIG2. Only
                with use1BitJBIG2.
        colorConversion:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Convert text, vector art and (with convertSpecialSpaces) images to
            one device color space, e.g. RGB uploads to CMYK for offset.
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            required:
              - target
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            target:
              type: string
              enum:
                - cmyk
                - rgb
                - gray
              description: >-
                Color space to convert to: cmyk (press), rgb (screen or some
                digital presses) or gray (black-only jobs).
            convertSpecialSpaces:
              type: boolean
              default: false
              description: >-
                Also convert images and Separation, DeviceN and NChannel colors
                (spot inks) unless listed in preserve. Off converts only text
                and vectors in ordinary color spaces; turn it on for a full
                conversion.
            preserve:
              type: array
              uniqueItems: true
              items:
                type: string
                enum:
                  - icc
                  - separation
                  - separationAll
                  - deviceN
                  - nchannel
              description: >-
                Color-space families to leave untouched: separation keeps spot
                inks (Pantone, white, varnish, cutter), separationAll keeps the
                All separation used for registration marks, deviceN and nchannel
                keep multi-ink builds, icc keeps ICC-based colors.
            excludeColorSpaces:
              type: array
              uniqueItems: true
              maxItems: 256
              items:
                type: string
                minLength: 1
                maxLength: 128
              description: >-
                Named color spaces (e.g. "PANTONE 185 C", "Cutter") to exclude
                from, or limit, the conversion. Stored for the dashboard but not
                applied by the optimizer yet; use preserve to keep spot inks.
            excludeMode:
              type: string
              enum:
                - exclude
                - only
              default: exclude
              description: >-
                How excludeColorSpaces is read: exclude the listed spaces, or
                convert only them. Not applied by the optimizer yet.
            replaceJpeg2000WithJpeg:
              type: boolean
              default: true
              description: >-
                Recompress converted JPEG 2000 images as JPEG (much faster,
                near-identical quality).
            onOverprint:
              type: string
              enum:
                - fail
                - skip
                - convert
              description: >-
                What to do with overprinting objects, whose appearance can
                change when converted. fail: stop the optimize step with an
                error (the dashboard's default for new presets; overprinting
                black text is common, so expect failures). skip: leave
                overprinting objects in their original color space. convert:
                convert them anyway. Omitted behaves as convert.
        grayTo1Bit:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Convert grayscale images to 1-bit black and white (compressed as
            JBIG2). For line art and scanned text only; destroys photos.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            useOtsuFilter:
              type: boolean
              default: false
              description: >-
                Pick the black/white threshold per image with Otsu's method
                (better for scans).
        textToOutlines:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Convert text to vector outlines, so missing or unlicensed fonts
            cannot reflow on press. The result has no searchable text.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            nonEmbeddedOnly:
              type: boolean
              default: false
              description: >-
                Outline only text set in fonts that are not embedded; embedded
                fonts stay as text.
        flattenLayers:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Flatten optional content (layers) into one visible layer, so hidden
            or print-only layers cannot surprise the press. An object, not a
            boolean.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
        hairlines:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Thicken strokes thinner than minWidth so they do not break up or
            vanish on press.
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            required:
              - minWidth
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            minWidth:
              type: number
              exclusiveMinimum: 0
              maximum: 10
              default: 0.25
              description: >-
                Minimum stroke width in points (1 pt = 1/72 inch = 0.353 mm).
                Typical: 0.25 for sheetfed offset, 0.5 for flexo, 0.75 to 1 for
                large format and screen printing.
            ignoreZeroWidth:
              type: boolean
              default: false
              description: >-
                Leave zero-width strokes (drawn one device pixel wide) alone.
                Off by default because they are the most common hairline hazard.
            zeroWidthOnly:
              type: boolean
              default: false
              description: >-
                Only widen zero-width strokes and leave thin non-zero strokes as
                designed.
        strip:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Remove non-printing objects to shrink or sanitize the file. Each
            switch defaults to off.
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            thumbnails:
              type: boolean
              default: false
              description: Remove embedded page thumbnails.
            alternateImages:
              type: boolean
              default: false
              description: Remove alternate (preview) versions of images.
            privateData:
              type: boolean
              default: false
              description: >-
                Remove application-private data (e.g. Illustrator or InDesign
                editing data).
            invisiblePaths:
              type: boolean
              default: false
              description: Remove vector paths that draw nothing.
            batesNumbers:
              type: boolean
              default: false
              description: Remove Bates numbering and its headers and footers.
            headerFooter:
              type: boolean
              default: false
              description: >-
                Remove headers and footers added by PDF tools (not Bates
                numbers).
            annotations:
              type: boolean
              default: false
              description: Drop all annotations (comments, sticky notes, links, stamps).
            formFields:
              type: boolean
              default: false
              description: Drop interactive form fields (AcroForm and XFA).
            attachments:
              type: boolean
              default: false
              description: Drop embedded file attachments.
            javascript:
              type: boolean
              default: false
              description: Drop document JavaScript and JavaScript actions.
            bookmarks:
              type: boolean
              default: false
              description: Drop the bookmarks (document outline).
        pageResize:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Resize every page. Give a named format, or width and height in
            points, or scaleX/scaleY factors; the first of those present wins
            (format, then width/height, then factors). One scale computed from
            page 1 is applied to the whole document. Cannot be combined with
            bleed using fill none.
          allOf:
            - if:
                required:
                  - width
                properties:
                  width:
                    type: number
              then:
                required:
                  - height
                properties:
                  height:
                    type: number
            - if:
                required:
                  - height
                properties:
                  height:
                    type: number
              then:
                required:
                  - width
                properties:
                  width:
                    type: number
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            mode:
              type: string
              enum:
                - scale
                - stretch
              default: scale
              description: >-
                How content meets a size target (format or width/height): scale
                keeps proportions and fits inside the target (may leave
                margins); stretch scales X and Y independently to fill it
                exactly (may distort). Ignored when only scaleX/scaleY are
                given.
            format:
              type:
                - string
                - 'null'
              enum:
                - A3
                - A4
                - A5
                - Letter
                - Legal
                - Tabloid
                - null
              description: >-
                Named paper size: A3, A4, A5, Letter, Legal or Tabloid, turned
                by orientation. Takes precedence over width/height and scale
                factors. null when not used.
            orientation:
              type: string
              enum:
                - portrait
                - landscape
              default: portrait
              description: Orientation applied to format. Ignored otherwise.
            width:
              type:
                - number
                - 'null'
              exclusiveMinimum: 0
              description: >-
                Target page width in points (1 pt = 1/72 inch, so points = mm x
                2.8346; A4 is 595 x 842). Needs height. null when not used.
            height:
              type:
                - number
                - 'null'
              exclusiveMinimum: 0
              description: Target page height in points. Needs width. null when not used.
            scaleX:
              type:
                - number
                - 'null'
              exclusiveMinimum: 0
              description: >-
                Horizontal scale factor (1 = unchanged, 0.5 = half), used only
                when neither format nor width/height is set.
            scaleY:
              type:
                - number
                - 'null'
              exclusiveMinimum: 0
              description: >-
                Vertical scale factor, used only when neither format nor
                width/height is set. Defaults to scaleX.
        boundingBoxes:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Set the trim box and/or crop box of every page as margins inset from
            the page's media box, so one preset works for any page size. For
            adding bleed use the bleed group instead; with bleed fill mirror or
            scale the pages are rebuilt and a trim entry here is ignored.
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            properties:
              entries:
                minItems: 1
            required:
              - entries
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            entries:
              type: array
              maxItems: 2
              items:
                $ref: '#/components/schemas/OptimizePreset/definitions/boundingBox'
              description: At most one entry per box (one trim, one crop).
        boundingBox:
          type: object
          additionalProperties: false
          required:
            - box
            - source
          description: >-
            One box, as margins in points measured inward from the media box
            edges.
          properties:
            box:
              type: string
              enum:
                - trim
                - crop
              description: >-
                Which page box to set: trim (the finished, cut size) or crop
                (the visible area in viewers).
            source:
              type: string
              const: media
              description: >-
                Box the margins are measured from. Always "media"; required, an
                entry without it fails the optimize step.
            top:
              type: number
              default: 0
              description: >-
                Inset of the top edge in points (1 pt = 1/72 inch; 3 mm = 8.504
                pt), positive inward.
            bottom:
              type: number
              default: 0
              description: Inset of the bottom edge in points, positive inward.
            left:
              type: number
              default: 0
              description: Inset of the left edge in points, positive inward.
            right:
              type: number
              default: 0
              description: Inset of the right edge in points, positive inward.
            expand:
              type: number
              default: 0
              description: >-
                Uniform change on all four sides in points, positive OUTWARD
                (opposite sign to the per-side insets); added to them.
            page:
              type:
                - integer
                - 'null'
              minimum: 1
              description: 1-based page to apply to; null or omitted applies to every page.
        bleed:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Add bleed around the finished size. The page's trim box (or the
            whole page when it has none) is taken as the trim, required_mm is
            added beyond it, and the media, bleed and trim boxes are set. fill
            decides what goes into the new strip.
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            required:
              - required_mm
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            required_mm:
              type: number
              exclusiveMinimum: 0
              description: >-
                Bleed in millimetres added on each selected edge, e.g. 3 (3.175
                for 1/8 inch).
            fill:
              type: string
              enum:
                - none
                - mirror
                - scale
              default: none
              description: >-
                How the new strip is filled. none: only the page boxes are set,
                so the artwork must already extend past the trim. mirror: edge
                artwork is reflected outward into the bleed (the dashboard's
                default for new presets). scale: page content is enlarged
                slightly so it overflows the trim. mirror and scale also flatten
                visible annotations into the artwork. With pageResize enabled,
                fill must be mirror or scale.
            sides:
              type: array
              minItems: 1
              uniqueItems: true
              items:
                type: string
                enum:
                  - all
                  - top
                  - right
                  - bottom
                  - left
              default:
                - all
              description: >-
                Edges that get bleed: ["all"] (default) or any of top, right,
                bottom, left. Ignored for fill scale, which always grows every
                edge.
        outputIntent:
          type: object
          additionalProperties: false
          required:
            - enabled
          description: >-
            Embed an ICC profile as the PDF's output intent, declaring the
            printing condition the file is meant for (PDF/X workflows). Also
            sets the profile the proof is rendered with. Does not convert
            colors; use colorConversion for that.
          if:
            properties:
              enabled:
                const: true
            required:
              - enabled
          then:
            required:
              - profile
            properties:
              profile:
                type: string
          properties:
            enabled:
              $ref: '#/components/schemas/OptimizePreset/definitions/groupEnabled'
            profile:
              type:
                - string
                - 'null'
              enum:
                - fogra51
                - fogra52
                - gracol2013
                - swop2013
                - fogra39
                - iso-coated-v2
                - iso-coated-v2-300
                - gracol2006
                - swop
                - fogra29
                - japan-coated
                - japan-uncoated
                - psr-lwc
                - psr-snp
                - srgb
                - adobe-rgb
                - display-p3
                - greyscale
                - null
              description: >-
                Bundled ICC profile. CMYK modern: fogra51 (PSO Coated v3),
                fogra52 (PSO Uncoated v3), gracol2013, swop2013. CMYK legacy
                coated: fogra39 (Coated FOGRA39), iso-coated-v2,
                iso-coated-v2-300, gracol2006, swop (US Web Coated SWOP v2).
                CMYK legacy uncoated: fogra29. Japan: japan-coated,
                japan-uncoated. Web offset: psr-lwc, psr-snp. RGB: srgb,
                adobe-rgb, display-p3. Gray: greyscale. Required when enabled;
                null otherwise.
            condition:
              type:
                - string
                - 'null'
              maxLength: 256
              description: >-
                Free-text name of the printing condition, e.g. "Coated FOGRA39
                (ISO 12647-2:2004)". Shown in the dashboard only; the embedded
                output intent comes from the profile alone.
    RecordFields:
      type: object
      properties:
        id:
          type: string
          description: The record id.
        source:
          type: string
          enum:
            - domain
            - store
          description: '`domain`: yours. `store`: a built-in catalog record.'
        customized:
          type: boolean
          description: >-
            Your own copy of a built-in record, under the same id. Revert drops
            it.
        draft:
          type: boolean
          description: Present and true on an unpublished draft.
        draftExpiresAt:
          type: string
          format: date-time
          description: When an unpublished draft is deleted.
        created:
          type: integer
          description: Unix time (seconds).
        modified:
          type: integer
          description: Unix time (seconds).
    Error:
      type: object
      properties:
        error:
          type: boolean
          const: true
        code:
          type: string
          description: >-
            Machine-readable reason, such as validation_failed,
            invalid_reference, not_found, in_use, draft_reference.
        message:
          type: string
        param:
          type: string
          description: >-
            The field at fault, as a dotted path (intake.ruleId,
            accepts.0.preflight.profileId).
        details:
          type: array
          description: Every problem found, or the records that block a delete.
          items:
            type: object
            additionalProperties: true
        requestId:
          type: string
          description: Quote it to support.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your secret key as a bearer token, e.g. `Authorization: Bearer
        sk_live_…`. Secret keys are server-side only.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.