← API reference
SCHEMA VIEW

Print Prepress

Substrates, imposition specs, preflight reports, prepress operations and artwork files.

Open workbench ↗Download SDL ↓AI context →

103 operations · complete schema 325 KB

Query

magicQuery

Executes a Magic Query string and returns the predefined query's JSON result. On a bad noun or parameter, returns a structured error whose 'extensions' carry 'code', 'actionable_message', and 'suggestions' for self-correction.

→
Query

getMagicQuerySchema

Returns the input JSON Schema and output introspection for a Magic Query noun, so consumers (especially LLMs) can learn its contract before calling magicQuery.

→
Query

listMagicQueries

Lists every available Magic Query noun with a short description and its options — the discovery entry point.

→
Query

getMagicQueryGraphQL

Resolves a Magic Query string to the real GraphQL operation and variables it runs, so consumers can graduate from the façade to raw GraphQL. Does not execute.

→
Query

listDataChangeEventTopics

List all valid data change event topics, grouped by resource. Requires authentication.

→
Query

generateDefaultDataQuery

Generate a default GraphQL data query for an event topic. Returns a query string with all scalar fields for the resource, or null if the topic has no matching query. The query uses $id as the variable for the resource ID.

→
Query

ping

Health check endpoint

→
Query

getProductTemplate

Fetch a product template by ID. Requires productTemplate:read permission.

→
Query

listProductTemplates

List product templates with optional filters, sorted by name. Requires productTemplate:list permission.

→
Query

listProductTemplateVersions

List published versions of a template with pagination. Requires productTemplate:read permission.

→
Query

getProductTemplateVersion

Fetch a specific published version. Requires productTemplate:read permission.

→
Query

iacSchema

The infrastructure-only view of this schema, for declarative tooling. Contains only annotated resources and the types they reach.

→
Query

iacValidate

Validate an infrastructure artifact. Pure and side-effect free; safe to alias many times in one document.

→
Query

iacGuides

Every authoring guide, for a tool that syncs them to a folder. Intended for `schema pull` to call once and write to disk, not for an agent to call while authoring — a file can be grepped and re-read in part, where a response arrives whole.

→
Query

helpChapters

List human-facing manual chapters from the running deployment.

→
Query

helpChapter

Read a chapter of the current published manual edition.

→
Query

searchHelp

Search human-facing manuals using shared semantic and text retrieval.

→
Query

schemaAuthoringCatalog

Compiler-owned vocabulary for the standalone XML JSON Schema dialect, including native form annotations.

→
Query

compileSchemaXML

Compile standalone XML schema syntax into JSON Schema without persisting it; host restrictions apply when embedded.

→
Query

renderSchemaXML

Render JSON Schema as native XML without dropping unsupported keywords or changing a saved document.

→
Query

iacSchemaDocument

Fetch the JSON Schema document a SCHEMA-kind validator references, for declarative tooling.

→
Query

getFile

Fetch a file by ID. Requires file:read permission.

→
Query

listFiles

List files with pagination and filtering. Requires file:list permission.

→
Query

getS3Backend

Fetch one storage backend as an S3 backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not S3 — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

→
Query

getHostPathBackend

Fetch one storage backend as a host-path backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not host-path — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

→
Query

getFTPBackend

Fetch one storage backend as an FTP backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not FTP — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

→
Query

getGoogleDriveBackend

Fetch one storage backend as a Google Drive backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not Google Drive — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

→
Query

getDropboxBackend

Fetch one storage backend as a Dropbox backend. Null when no backend with that id exists in the caller's tenant, or when it exists but is not Dropbox — a backend has exactly one kind, so asking for the wrong face is a miss rather than an error. Requires storageBackend:read permission.

→
Query

getStorageBackend

Fetch one storage backend by id. Null when no backend with that id exists in the caller's tenant. Requires storageBackend:read permission.

→
Query

listStorageBackends

List the calling tenant's storage backends. Requires storageBackend:list permission.

→
Query

storageCapabilities

Which storage backend kinds this deployment supports, so a client can hide unusable options. Requires storageBackend:list permission.

→
Query

folder

A single folder in the caller's tenant, or null when no folder with that id exists there. Requires folder:read permission.

→
Query

folders

Folders in the caller's tenant, filtered and sorted, as a connection. Requires folder:list permission.

→
Query

getComponentArtworkFile

Fetch a component artwork file reference by ID. Requires componentArtworkFile:read permission.

→
Query

listComponentArtworkFiles

List artwork file references for a component. Requires componentArtworkFile:list permission.

→
Query

getImpositionSpec

Fetch an imposition spec by ID. Requires impositionSpec:read permission.

→
Query

listImpositionSpecs

List imposition specs for a component. Requires impositionSpec:list permission.

→
Query

previewImposition

Preview imposition layout without creating records. Used for estimation when no component exists yet.

→
Query

listFoldPatterns

List all available fold patterns from the catalog. Requires authentication.

→
Query

getPrepressOperation

Fetch a prepress operation by ID. Requires prepressOperation:read permission.

→
Query

listPrepressOperations

List prepress operations for a component. Requires prepressOperation:list permission.

→
Query

getPreflightReport

Fetch a preflight report by ID. Requires preflightReport:read permission.

→
Query

listPreflightReports

List preflight reports for a component. Requires preflightReport:list permission.

→
Query

renderArtworkPreview

Render a page of an artwork file to a JPEG preview (base64). Requires componentArtworkFile:read permission.

→
Query

preflightCheck

Run preflight on supplied PDF bytes inline (not persisted). Requires preflightReport:read permission.

→
Query

renderPreview

Render a page of supplied PDF bytes to a JPEG preview (base64) inline. Requires componentArtworkFile:read permission.

→
Query

renderPlateSeparation

Render a single ink separation (plate) of an artwork page to a grayscale PNG (base64). Requires componentArtworkFile:read permission.

→
Query

renderSeparation

Render a single ink separation (plate) from supplied PDF bytes to a grayscale PNG (base64) inline. Requires componentArtworkFile:read permission.

→
Query

extractProduction

Extract ISO 19593-1 production steps from supplied PDF bytes inline (not persisted) — inspect before creating Operations. Requires operation:read permission.

→
Query

getSubstrate

Fetch a substrate by ID. Requires substrate:read permission.

→
Query

getSubstrateBy

Fetch a substrate by external ID. Requires substrate:read permission.

→
Query

listSubstrates

List substrates with pagination and filtering. Requires substrate:list permission.

→
Query

getSubstrateTemplateLine

Fetch a single substrate template line by ID. Requires substrateTemplateLine:read permission.

→
Query

listSubstrateTemplateLines

List substrate template lines for a product template. Requires substrateTemplateLine:list permission.

→
Mutation

upsertProductTemplate

Create or update a product template. Requires productTemplate:write permission.

→
Mutation

createProductTemplate

Create a new product template. Requires productTemplate:write permission.

→
Mutation

updateProductTemplate

Update a product template. Only provided fields are changed. Requires productTemplate:write permission.

→
Mutation

deleteProductTemplate

Delete a product template. Requires productTemplate:delete permission.

→
Mutation

publishProductTemplate

Publish a product template version. Requires productTemplate:write permission.

→
Mutation

upsertFile

Create or update an external-backed file. Cloud-backed files use requestFileUploads. Requires file:write permission.

→
Mutation

createFile

Create an external-backed file. Cloud-backed files use requestFileUploads. Requires file:write permission.

→
Mutation

updateFile

Update a file. Only provided fields are changed. Requires file:write permission.

→
Mutation

deleteFile

Delete a file. Requires file:delete permission.

→
Mutation

requestFileUploads

Allocate one or more cloud upload URLs. Requires file:write permission.

→
Mutation

completeFileUploads

Mark one or more uploads as ready. Requires file:write permission.

→
Mutation

fileDownloadUrl

Resolve a download URL. Managed cloud URLs are provider-signed; EXTERNAL URLs pass through unchanged with no Pulse signature or TTL, and report URLs require authentication at retrieval. Requires file:download permission.

→
Mutation

createStorageBackendAuthorization

Start the OAuth consent flow for a Google Drive or Dropbox backend. Persists a draft backend (status NEEDS_REAUTHORIZATION) and returns the provider consent URL to send the user to; the callback completes the draft. Requires storageBackend:write permission.

→
Mutation

upsertStorageBackend

Create or update a storage backend in one call. Prefer createStorageBackend / updateStorageBackend, which have the same validation but distinct create/update semantics. Requires storageBackend:write permission.

→
Mutation

createStorageBackend

Create a new storage backend. Requires storageBackend:write permission.

→
Mutation

updateStorageBackend

Update a storage backend. Only provided fields are changed. Requires storageBackend:write permission.

→
Mutation

deleteStorageBackend

Delete a storage backend. Returns a notFound payload when no such backend exists in the caller's tenant. Also the way to clean up a draft left behind by an abandoned OAuth flow. Requires storageBackend:delete permission.

→
Mutation

testStorageBackend

Probe a storage backend's connectivity with its stored credentials (a bucket/root head — nothing is written). Never throws: a failure comes back as ok: false with a reason. Requires storageBackend:read permission.

→
Mutation

createFolder

Creates a folder in the caller's tenant. The binding reference must resolve to a storage backend or controller owned by the tenant, the name must be unique within it, and at most one folder may be the tenant default. Requires folder:write permission.

→
Mutation

updateFolder

Patches a folder. Omitted fields are left unchanged. A folder that files already reference may not have its binding or root path changed (stored file handles would resolve against the wrong transport/prefix), and the tenant default may be moved to another folder but never simply unset. Requires folder:write permission.

→
Mutation

deleteFolder

Deletes a folder. Refused for the tenant default folder and for any folder still referenced by files — the stored bytes would be orphaned. Requires folder:delete permission.

→
Mutation

testFolder

Checks a folder transport with a read-only stat probe. CONTROL_CLOUD reports UNKNOWN because its sentinel probe cannot verify tenant storage provisioning or remote reachability. Other bindings accept an absent sentinel as reachable; this does not test write permissions. Nothing is written, and no folder state changes. Requires folder:read permission.

→
Mutation

upsertComponentArtworkFile

Add or update an artwork file reference on a component. Requires componentArtworkFile:write permission.

→
Mutation

deleteComponentArtworkFile

Remove an artwork file reference from a component. Requires componentArtworkFile:delete permission.

→
Mutation

upsertImpositionSpec

Add or update an imposition spec on a component. Requires impositionSpec:write permission.

→
Mutation

deleteImpositionSpec

Remove an imposition spec from a component. Requires impositionSpec:delete permission.

→
Mutation

imposePdfInline

Compose real source PDF pages using a previously calculated signature plan. Returns PDF bytes without persistence or cloud storage; does not calculate geometry or repeat forms by quantity. Requires impositionSpec:execute permission and the native PDF-Writer backend.

→
Mutation

calculateImposition

Calculate imposition layout for a component and create ImpositionSpec records. Finished size, bleed, page count, and quantity are read from the component. Requires impositionSpec:write permission.

→
Mutation

renderImpositionSVG

Render an imposition layout as SVG. Provide either impositionSpecId or layoutJSON. Requires impositionSpec:execute permission.

→
Mutation

consolidateImpositionFinishing

Derive the consolidated per-kind finishing (cut-file) view from an imposed plan's per-cell finishing. Read-only. Provide either impositionSpecId or layoutJSON. Requires impositionSpec:execute permission.

→
Mutation

upsertPrepressOperation

Create or update a prepress operation on a component. Requires prepressOperation:write permission.

→
Mutation

deletePrepressOperation

Delete a prepress operation. Requires prepressOperation:delete permission.

→
Mutation

upsertPreflightReport

Create or update a preflight report on a component. Requires preflightReport:write permission.

→
Mutation

deletePreflightReport

Delete a preflight report. Requires preflightReport:delete permission.

→
Mutation

runPreflight

Run the PrepressKit preflight engine on an artwork file and persist the report. Requires preflightReport:write permission.

→
Mutation

extractProductionOperations

Extract ISO 19593-1 production steps from an artwork file and derive Operations (optionally persisting them). Requires operation:write permission.

→
Mutation

instantiateProductTemplate

Instantiate a published product template into a print job. Requires productTemplate:execute permission.

→
Mutation

installCanonicalTemplate

Install a canonical product template (shipped with the app) into the calling tenant as a fresh draft. Requires productTemplate:write permission.

→
Mutation

createSubstrate

Create a new substrate, failing if the code is already taken. Requires substrate:write permission.

→
Mutation

updateSubstrate

Update a substrate in place. Only provided fields are changed. Requires substrate:write permission.

→
Mutation

upsertSubstrate

Create or update a substrate. Requires substrate:write permission.

→
Mutation

deleteSubstrate

Delete a substrate. Requires substrate:delete permission.

→
Mutation

createSubstrateTemplateLine

Create a new substrate template line. Requires substrateTemplateLine:write permission.

→
Mutation

updateSubstrateTemplateLine

Update a substrate template line in place. Only provided fields are changed. Requires substrateTemplateLine:write permission.

→
Mutation

upsertSubstrateTemplateLine

Create or update a substrate template line. Requires substrateTemplateLine:write permission.

→
Mutation

deleteSubstrateTemplateLine

Delete a substrate template line. Requires substrateTemplateLine:delete permission.

→
Mutation

updatePaperWeightSettings

Saves the paper weight section. Other sections are untouched.

→
Mutation

updateImposingSettings

Saves the imposing section. Other sections are untouched.

→
Subscription

dataChangeEvents

Subscribe to real-time data change events. Requires read permission on each requested resource.

→