Cloudlayer

Learn how to use Cloudlayer with Composio

Overview

Enum

CLOUDLAYER

Description

cloudlayer.io is a document and asset generation service that enables users to dynamically create PDFs and images through a REST-based API, SDKs, or no-code integrations.

Authentication Details

api_key
stringRequired

Actions

Tool to add a new user storage configuration. use when you need to attach an external bucket or container for file storage.

Action Parameters

accessKey
string
container
stringRequired
name
stringRequired
path
string
provider
stringRequired
region
stringRequired
secretAccessKey
string

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a specific asset by its id. use when you need to fetch metadata or download url of an existing asset after its generation.

Action Parameters

id
stringRequired

Action Response

data
object
error
string
successful
boolean
Tool to test api reachability. use when checking if the cloudlayer api is available.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to convert base64-encoded html to an image. use when you need to render raw html or a url into png, jpeg, or webp after content load.

Action Parameters

authentication
object
cookies
array
delay
integer
deviceScaleFactor
numberDefaults to 1
headers
object
height
integer
html
string
outputType
stringDefaults to png
timezoneId
string
transparent
boolean
url
string
userAgent
string
viewport
object
waitForSelector
string
waitTimeout
integerDefaults to 30000
width
integerDefaults to 1200

Action Response

data
object
error
string
successful
boolean
Tool to convert html or a public url into a pdf document. use when you need programmatic pdf generation from html content.

Action Parameters

filename
string
html
string
inline
boolean
options
object
url
string
webhookUrl
string

Action Response

data
object
error
string
successful
boolean
Tool to list the ten most recent assets. use when you need to retrieve your latest cloudlayer assets.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to retrieve a list of all storage configurations. use after authenticating to cloudlayer to view your account's storage settings.

Action Parameters

Action Response

data
object
error
string
successful
boolean
Tool to convert a webpage url to an image. use when dynamic screenshot parameters are needed.

Action Parameters

authentication
object
clip
object
cookies
array
fullPage
boolean
headers
object
omitBackground
boolean
output
stringDefaults to png
url
stringRequired
userAgent
string
viewport
object
waitForSelector
string
waitForTimeout
integer

Action Response

data
object
error
string
successful
boolean
Tool to convert a url to pdf with full parameter support. use when you need advanced control over paper size, margins, headers/footers, or webhook callbacks.

Action Parameters

options
object
output
stringDefaults to url
payload
object
url
stringRequired
webhook
object

Action Response

data
object
error
string
successful
boolean