Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
kind
enum<string>
required

The kind of preset.

Available options:
template,
tool
name
string
required

A name for the preset.

Maximum string length: 255
description
string

A note about the preset.

template
string

With kind: "template", the template's slug. templateSlug works too.

Example:

"google-maps-leads"

inputs
object

With kind: "template", the template's inputs by key, as listed by Get a template.

columns
object[]

With kind: "template", the columns the dashboard table shows, as { key, label, format } objects, up to 60. Only the dashboard uses them; runs always return every field.

tool
enum<string>

With kind: "tool", the tool to run.

Available options:
scrape,
batch,
crawl,
map,
search,
parse
config
object

With kind: "tool", the request body for that tool, as you'd send it to its endpoint. Up to about 200 KB.

Response

The preset was saved. data.id is its ID.

status
enum<string>
Available options:
success
message
string

A confirmation.

data
object