Account
get
account.get
Read account usage, plan limits, storage use and (on usage plans) the credit balance. Docs: https://cloudlayer.io/docs/account/
Risk: read
Assets
get
assets.get
Get one generated asset including its pre-authenticated download URL. Docs: https://cloudlayer.io/docs/assets/
Risk: read
list
assets.list
List the most recent generated assets with cursor pagination. Docs: https://cloudlayer.io/docs/assets/
Risk: read
object[]
Output full type
Output full type
Html
toImage
html.toImage
Render base64 HTML to a PNG, JPG, WebP or SVG image; v2 returns a job, including a completed job with async:false. Docs: https://cloudlayer.io/docs/html-to-image/
Risk: destructive
async: false waits for completion and returns the completed JSON job per the API overview. html.toImageV1 exposes the v1 raw binary route as a base64-encoded BinaryArtifact. See https://cloudlayer.io/docs/html-to-image/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
object
Output full type
Output full type
toImageV1
html.toImageV1
Render base64 HTML to an image using the v1 route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/html-to-image/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/html-to-image/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
toPdf
html.toPdf
Render base64 HTML to a PDF; v2 returns a job, including a completed job with async:false. Docs: https://cloudlayer.io/docs/html-to-pdf/
Risk: destructive
async: false waits for completion and returns the completed JSON job per the API overview. html.toPdfV1 exposes the v1 raw binary route as a base64-encoded BinaryArtifact. See https://cloudlayer.io/docs/html-to-pdf/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
margin full type
margin full type
headerTemplate full type
headerTemplate full type
generatePreview full type
generatePreview full type
object
Output full type
Output full type
toPdfV1
html.toPdfV1
Render base64 HTML to a PDF using the v1 route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/html-to-pdf/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/html-to-pdf/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
margin full type
margin full type
headerTemplate full type
headerTemplate full type
generatePreview full type
generatePreview full type
Jobs
get
jobs.get
Get one job to poll an async generation, including status, size and cost. Docs: https://cloudlayer.io/docs/jobs/
Risk: read
list
jobs.list
List recent jobs using the documented v1 jobs endpoint with optional cursor parameters. Docs: https://cloudlayer.io/docs/jobs/
Risk: read
object[]
Output full type
Output full type
listV2
jobs.listV2
List recent jobs using the v2 jobs endpoint with optional cursor parameters. Docs: https://cloudlayer.io/docs/jobs/
Risk: read
object[]
Output full type
Output full type
Storage
create
storage.create
Create an S3-compatible storage configuration for direct file delivery. Docs: https://cloudlayer.io/docs/storage/
Risk: write
get
storage.get
Read one storage configuration by ID with secrets masked. Docs: https://cloudlayer.io/docs/storage/
Risk: read
getCurrent
storage.getCurrent
Read the current storage configuration with secrets masked. Docs: https://cloudlayer.io/docs/storage/
Risk: read
object \| object[]
Output full type
Output full type
remove
storage.remove
Delete a storage configuration and revert to cloudlayer.io cloud storage. Docs: https://cloudlayer.io/docs/storage/
Risk: destructive
Template
toImage
template.toImage
Render a gallery or base64 Nunjucks template with caller data to an image using JSON or multipart upload; v2 async:false returns a completed JSON job. Docs: https://cloudlayer.io/docs/template-to-image/
Risk: destructive
object
V2 returns a JSON job; async: false waits for completion and returns the completed JSON job per the API overview. template.toImageV1 exposes the v1 route as a base64-encoded binary artifact. For multipart input, the generated type renderer labels the z.instanceof(Blob) field as custom; callers must pass an actual Blob in { template: Blob, data: object }, where data is a JSON object. Multipart requests remain in v2 job mode; only the documented template and data parts are sent. See https://cloudlayer.io/docs/template-to-image/.
Input full type
Input full type
object
Output full type
Output full type
toImageV1
template.toImageV1
Render a gallery or base64 Nunjucks template to an image using the v1 route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/template-to-image/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/template-to-image/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
toPdf
template.toPdf
Render a gallery or base64 Nunjucks template with caller data to a PDF using JSON or multipart upload; v2 async:false returns a completed JSON job. Docs: https://cloudlayer.io/docs/template-to-pdf/
Risk: destructive
object
V2 returns a JSON job; async: false waits for completion and returns the completed JSON job per the API overview. template.toPdfV1 exposes the v1 route as a base64-encoded binary artifact. For multipart input, the generated type renderer labels the z.instanceof(Blob) field as custom; callers must pass an actual Blob in { template: Blob, data: object }, where data is a JSON object. Multipart requests remain in v2 job mode; only the documented template and data parts are sent. See https://cloudlayer.io/docs/template-to-pdf/.
Input full type
Input full type
object
Output full type
Output full type
toPdfV1
template.toPdfV1
Render a gallery or base64 Nunjucks template to a PDF using the v1 route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/template-to-pdf/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/template-to-pdf/.
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
margin full type
margin full type
headerTemplate full type
headerTemplate full type
generatePreview full type
generatePreview full type
Url
toImage
url.toImage
Screenshot a live web page with full viewport, cookie and auth control; v2 returns a job, including a completed job with async:false. Docs: https://cloudlayer.io/docs/url-to-image/
Risk: destructive
async: false waits for completion and returns the completed JSON job per the API overview. url.toImageV1 exposes v1 POST, and url.toImageQuickV1 exposes v1 GET as base64-encoded binary artifacts. See https://cloudlayer.io/docs/url-to-image/.
authentication full type
authentication full type
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
object
Output full type
Output full type
toImageQuick
url.toImageQuick
GET convenience route that creates a JSON job for one URL image with only url and timeout. Docs: https://cloudlayer.io/docs/url-to-image/
Risk: destructive
url.toImageQuickV1 exposes the v1 GET route as a base64-encoded BinaryArtifact. See https://cloudlayer.io/docs/url-to-image/.
Output
toImageQuickV1
url.toImageQuickV1
GET v1 shortcut that screenshots one URL and returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/url-to-image/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/url-to-image/.
Output
toImageV1
url.toImageV1
Screenshot a URL using the v1 POST route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/url-to-image/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/url-to-image/.
authentication full type
authentication full type
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
toPdf
url.toPdf
Capture a live web page (or a batch of URLs) as a PDF; v2 returns a job, including a completed job with async:false. Docs: https://cloudlayer.io/docs/url-to-pdf/
Risk: destructive
async: false waits for completion and returns the completed JSON job per the API overview. url.toPdfV1 exposes the v1 POST route as a base64-encoded BinaryArtifact. See https://cloudlayer.io/docs/url-to-pdf/.
authentication full type
authentication full type
batch full type
batch full type
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
margin full type
margin full type
headerTemplate full type
headerTemplate full type
generatePreview full type
generatePreview full type
object
Output full type
Output full type
toPdfQuick
url.toPdfQuick
GET convenience route that captures a single URL as a PDF with only url and timeout. Docs: https://cloudlayer.io/docs/url-to-pdf/
Risk: destructive
url.toPdfQuickV1 exposes the v1 GET route as a base64-encoded BinaryArtifact. See https://cloudlayer.io/docs/url-to-pdf/.
Output
toPdfQuickV1
url.toPdfQuickV1
GET v1 shortcut that captures one URL as a PDF and returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/url-to-pdf/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/url-to-pdf/.
Output
toPdfV1
url.toPdfV1
Capture a URL (or batch) as a PDF using the v1 route; returns a base64-encoded binary artifact. Docs: https://cloudlayer.io/docs/url-to-pdf/
Risk: destructive
BinaryArtifact. See https://cloudlayer.io/docs/url-to-pdf/.
authentication full type
authentication full type
batch full type
batch full type
viewPort full type
viewPort full type
waitForSelector full type
waitForSelector full type
margin full type
margin full type
headerTemplate full type
headerTemplate full type
generatePreview full type
generatePreview full type