API

Automation.

Hot folders and sync jobs are administrator calls and need the automation feature once you pass the free allowance. Event rules are for the rule's owner, and an administrator sees every rule. In Free mode one automation job runs.

See the API reference for the key and for errors. The guide to what a rule can do is Event rules.

Hot folders

GET /api/v1/hot-folders

Watched folders.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Success. 200.

FieldTypeMeaning
liveobjectrequired

It is an object:

FieldTypeMeaning
sendingintegerrequired
queuedintegerrequired
problemsintegerrequired
bpsintegerrequired
itemsarray of objectsrequiredThe records in this reply.

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegerrequired
destinationstringrequired
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
afterSendstringrequiredWhat happens to the original once it has gone: leave, move or delete.
enabledbooleanrequired
pausedReasonstringoptional
lastRunAtstringoptionalWhen the runner last looked at this folder. Absent until it has.
lastErrorstringoptionalWhy it is not working, in the runner's words. This is what turns "nothing is happening" into something an administrator can fix.
createdAtstringrequiredA time, as RFC 3339.
destinationRefDestinationRefoptionalA saved destination, when this folder uses one. Absent for a folder that still names a path on this server.

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
kindstringrequired
speedstringrequired
healthstringrequired
destRootNamestringoptionalFor a folder on this server: the storage location's name, and the path within it, which destination holds as <root id>:<path>.
destPathstringoptional
destFolderstringoptional
sameNamestringoptional
subfoldersbooleanoptional
statusstringoptional
problemstringoptional
problemCodestringoptional
countsFileCountsoptional

It is an object:

FieldTypeMeaning
settlingintegerrequired
queuedintegerrequired
sendingintegerrequired
retryingintegerrequired
speedLimitBpsintegeroptionalBits per second. Absent for no limit of its own.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this folder now, in words.
existingFilesstringoptionalWhat was done with the files already in the folder when it was made: skip or send. Absent when the folder was empty.
existingCountintegeroptional
existingBytesintegeroptional
{
  "live": {
    "sending": 1,
    "queued": 1,
    "problems": 1,
    "bps": 1
  },
  "items": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "name": "Rush delivery",
      "rootId": "k7Qm2sLp9vX4aB1c",
      "rootName": "example",
      "path": "projects/rush",
      "settleSecs": 1,
      "destination": "example",
      "destKind": "example",
      "afterSend": "example",
      "enabled": true,
      "createdAt": "2026-10-05T18:00:00Z",
      "sendOrder": "fastest",
      "limitedBy": [
        "example"
      ]
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/hot-folders

Watch a folder.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

existingFiles says what happens to the files already in the folder: skip (the default) sends only files that arrive or change from now on; send sends them too. The answer is kept on the hot folder as existingFiles, existingCount and existingBytes; it is absent when the folder was empty.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringrequiredThe name.
rootIdstringoptionalThe location, for a caller that still names storage directly.
spaceIdstringoptionalThe space, when the folder was chosen from Home.
pathstringoptionalA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegeroptional
destinationstringoptionalA path on this server. Omit this when destinationId is set.
destKindstringoptionalWhat the destination means. Omit this when destinationId is set.
destinationIdstringoptionalA saved destination. Not sent together with destination.
destFolderstringoptional
sameNamestringoptional
subfoldersbooleanoptional
acknowledgeDeletebooleanoptional
startNowbooleanoptional
afterSendstringoptional
existingFilesstringoptionalThe files already in the folder: skip (the default) sends only files that arrive from now on; send sends them too.
{
  "name": "Rush delivery"
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegerrequired
destinationstringrequired
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
afterSendstringrequiredWhat happens to the original once it has gone: leave, move or delete.
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyWhen the runner last looked at this folder. Absent until it has.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words. This is what turns "nothing is happening" into something an administrator can fix.
createdAtstringrequiredA time, as RFC 3339.
destinationRefDestinationRefoptional, left out when emptyA saved destination, when this folder uses one. Absent for a folder that still names a path on this server.

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
kindstringrequired
speedstringrequired
healthstringrequired
destRootNamestringoptional, left out when emptyFor a folder on this server: the storage location's name, and the path within it, which destination holds as <root id>:<path>.
destPathstringoptional, left out when empty
destFolderstringoptional, left out when empty
sameNamestringoptional, left out when empty
subfoldersbooleanoptional
statusstringoptional, left out when empty
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
countsFileCountsoptional, left out when empty

It is an object:

FieldTypeMeaning
settlingintegerrequired
queuedintegerrequired
sendingintegerrequired
retryingintegerrequired
speedLimitBpsintegeroptional, left out when emptyBits per second. Absent for no limit of its own.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this folder now, in words.
existingFilesstringoptional, left out when emptyWhat was done with the files already in the folder when it was made: skip or send. Absent when the folder was empty.
existingCountintegeroptional, left out when empty
existingBytesintegeroptional, left out when empty
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "rootId": "k7Qm2sLp9vX4aB1c",
  "rootName": "example",
  "path": "projects/rush",
  "settleSecs": 1,
  "destination": "example",
  "destKind": "example",
  "afterSend": "example",
  "enabled": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta field is not valid, or existingFiles is not skip or send
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a field is not valid, or existingFiles is not skip or send"
  }
}

POST /api/v1/hot-folders/bulk

Pause, resume, or test several watched folders at once.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

The body names the folders and one action: pause, resume, or test. Test checks that each watched folder can be read and its destination written to, without sending anything, and answers results: one {id, name, ok, problem} per folder.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
idsarray of stringrequired
actionstringrequired
{
  "ids": [
    "k7Qm2sLp9vX4aB1c"
  ],
  "action": "release"
}

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe action was not pause, resume, or test
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the action was not pause, resume, or test"
  }
}

POST /api/v1/hot-folders/existing

How many files are already in a folder, and their total size, so the person making a hot folder can choose what happens to them.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Send rootId or spaceId, and path. atLeast is true when the folder holds 100,000 files or more.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
rootIdstringoptionalThe id.
spaceIdstringoptionalThe id.
pathstringoptionalA path relative to the space or the storage location, with / between folders and no leading slash.
{
  "rootId": "k7Qm2sLp9vX4aB1c",
  "spaceId": "k7Qm2sLp9vX4aB1c",
  "path": "projects/rush"
}

Success. 200.

FieldTypeMeaning
filesintegerrequired
bytesintegerrequiredSize in bytes.
atLeastbooleanrequiredTrue when the folder holds at least this many files.
{
  "files": 1,
  "bytes": 1048576,
  "atLeast": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_request{e:#}
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "{e:#}"
  }
}

GET /api/v1/hot-folders/{id}

One watched folder.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegerrequired
destinationstringrequired
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
afterSendstringrequiredWhat happens to the original once it has gone: leave, move or delete.
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyWhen the runner last looked at this folder. Absent until it has.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words. This is what turns "nothing is happening" into something an administrator can fix.
createdAtstringrequiredA time, as RFC 3339.
destinationRefDestinationRefoptional, left out when emptyA saved destination, when this folder uses one. Absent for a folder that still names a path on this server.

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
kindstringrequired
speedstringrequired
healthstringrequired
destRootNamestringoptional, left out when emptyFor a folder on this server: the storage location's name, and the path within it, which destination holds as <root id>:<path>.
destPathstringoptional, left out when empty
destFolderstringoptional, left out when empty
sameNamestringoptional, left out when empty
subfoldersbooleanoptional
statusstringoptional, left out when empty
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
countsFileCountsoptional, left out when empty

It is an object:

FieldTypeMeaning
settlingintegerrequired
queuedintegerrequired
sendingintegerrequired
retryingintegerrequired
speedLimitBpsintegeroptional, left out when emptyBits per second. Absent for no limit of its own.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this folder now, in words.
existingFilesstringoptional, left out when emptyWhat was done with the files already in the folder when it was made: skip or send. Absent when the folder was empty.
existingCountintegeroptional, left out when empty
existingBytesintegeroptional, left out when empty
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "rootId": "k7Qm2sLp9vX4aB1c",
  "rootName": "example",
  "path": "projects/rush",
  "settleSecs": 1,
  "destination": "example",
  "destKind": "example",
  "afterSend": "example",
  "enabled": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

PATCH /api/v1/hot-folders/{id}

Change one. destinationId chooses another place, which clears a problem left by the old place being deleted.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

speedLimitBps is this folder's own limit in bits per second; 0 removes it. sendOrder is fastest (what is ready, several at once) or in_order (one at a time, oldest first; a file that fails holds back the ones after it). A hot folder returns limitedBy, what is slowing it now, in words.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringoptionalThe name.
pathstringoptionalA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegeroptional
destinationstringoptional
destKindstringoptional
afterSendstringoptional
enabledbooleanoptional
destinationIdstringoptionalA place, chosen again after the old one went away.
destFolderstringoptional
speedLimitBpsintegeroptionalBits per second; 0 removes the limit.
sendOrderstringoptionalfastest or in_order.
{
  "name": "Rush delivery",
  "path": "projects/rush",
  "settleSecs": 1,
  "destination": "example",
  "destKind": "example",
  "afterSend": "example",
  "enabled": true,
  "destinationId": "k7Qm2sLp9vX4aB1c"
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegerrequired
destinationstringrequired
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
afterSendstringrequiredWhat happens to the original once it has gone: leave, move or delete.
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyWhen the runner last looked at this folder. Absent until it has.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words. This is what turns "nothing is happening" into something an administrator can fix.
createdAtstringrequiredA time, as RFC 3339.
destinationRefDestinationRefoptional, left out when emptyA saved destination, when this folder uses one. Absent for a folder that still names a path on this server.

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
kindstringrequired
speedstringrequired
healthstringrequired
destRootNamestringoptional, left out when emptyFor a folder on this server: the storage location's name, and the path within it, which destination holds as <root id>:<path>.
destPathstringoptional, left out when empty
destFolderstringoptional, left out when empty
sameNamestringoptional, left out when empty
subfoldersbooleanoptional
statusstringoptional, left out when empty
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
countsFileCountsoptional, left out when empty

It is an object:

FieldTypeMeaning
settlingintegerrequired
queuedintegerrequired
sendingintegerrequired
retryingintegerrequired
speedLimitBpsintegeroptional, left out when emptyBits per second. Absent for no limit of its own.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this folder now, in words.
existingFilesstringoptional, left out when emptyWhat was done with the files already in the folder when it was made: skip or send. Absent when the folder was empty.
existingCountintegeroptional, left out when empty
existingBytesintegeroptional, left out when empty
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "rootId": "k7Qm2sLp9vX4aB1c",
  "rootName": "example",
  "path": "projects/rush",
  "settleSecs": 1,
  "destination": "example",
  "destKind": "example",
  "afterSend": "example",
  "enabled": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta speed limit cannot be below nothing
404not_foundnot there, or not visible to this caller
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a speed limit cannot be below nothing"
  }
}

DELETE /api/v1/hot-folders/{id}

Stop watching and delete the hot folder. token is the one from its delete plan; without it, or with a stale one, the answer is 409 plan_changed with the current plan.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.
dependentsquerystringoptional
tokenquerystringoptional

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

GET /api/v1/hot-folders/{id}/delete-plan

What deleting this hot folder affects: the rules that name it. The plan carries the token the delete needs.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
itemsarray of objectsrequiredThe records in this reply.

Each item is an object:

FieldTypeMeaning
kindstringrequiredplace, hotFolder, sync, rule, sharedFolder, code.
idstringrequiredThe id.
namestringrequiredThe name.
effectobjectrequired
tokenstringrequired
{
  "items": [
    {
      "kind": "file",
      "id": "k7Qm2sLp9vX4aB1c",
      "name": "Rush delivery",
      "effect": {}
    }
  ],
  "token": "example"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/hot-folders/{id}/duplicate

Copy a watched folder. The copy starts switched off.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
rootIdstringrequiredThe id.
rootNamestringrequiredThe storage location's name.
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
settleSecsintegerrequired
destinationstringrequired
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
afterSendstringrequiredWhat happens to the original once it has gone: leave, move or delete.
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyWhen the runner last looked at this folder. Absent until it has.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words. This is what turns "nothing is happening" into something an administrator can fix.
createdAtstringrequiredA time, as RFC 3339.
destinationRefDestinationRefoptional, left out when emptyA saved destination, when this folder uses one. Absent for a folder that still names a path on this server.

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
kindstringrequired
speedstringrequired
healthstringrequired
destRootNamestringoptional, left out when emptyFor a folder on this server: the storage location's name, and the path within it, which destination holds as <root id>:<path>.
destPathstringoptional, left out when empty
destFolderstringoptional, left out when empty
sameNamestringoptional, left out when empty
subfoldersbooleanoptional
statusstringoptional, left out when empty
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
countsFileCountsoptional, left out when empty

It is an object:

FieldTypeMeaning
settlingintegerrequired
queuedintegerrequired
sendingintegerrequired
retryingintegerrequired
speedLimitBpsintegeroptional, left out when emptyBits per second. Absent for no limit of its own.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this folder now, in words.
existingFilesstringoptional, left out when emptyWhat was done with the files already in the folder when it was made: skip or send. Absent when the folder was empty.
existingCountintegeroptional, left out when empty
existingBytesintegeroptional, left out when empty
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "rootId": "k7Qm2sLp9vX4aB1c",
  "rootName": "example",
  "path": "projects/rush",
  "settleSecs": 1,
  "destination": "example",
  "destKind": "example",
  "afterSend": "example",
  "enabled": true,
  "createdAt": "2026-10-05T18:00:00Z",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

GET /api/v1/hot-folders/{id}/files

Files this watched folder has sent or is sending, newest first.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

state is sending, stored, skipped, settling (it changed and is sent again once it stops changing), retrying (nextTryAt says when, attempt how many tries so far) or failed (it kept failing for the folder's retry hours; reason says why). afterResult says whether the original was moved or deleted; it is empty while the tidy-up waits for another hot folder watching the same file.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/hot-folders/{id}/files/{file_id}/retry

Try a file that is retrying or failed again on the next pass, with a fresh set of retries. 404 when the file is not waiting.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe hot folder.
file_idpathstringrequiredThe file, from the files list.

Request body. None.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundnot there, or not visible to this caller
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}

GET /api/v1/hot-folders/{id}/days

How many files this watched folder sent on each of the last 30 days.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

Folder sync

GET /api/v1/sync-jobs

Folder syncs.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Success. 200.

FieldTypeMeaning
liveobjectrequired

It is an object:

FieldTypeMeaning
runningintegerrequired
inSyncintegerrequired
attentionintegerrequired
itemsarray of objectsrequiredThe records in this reply.

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
sourceRootstringrequired
sourceRootNamestringrequired
sourcePathstringrequired
destinationstringrequired
schedulestringrequired
enabledbooleanrequired
pausedReasonstringoptional
lastRunAtstringoptionalA time, as RFC 3339.
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
nextRunAtstringoptionalWhen the schedule says it should next go. Absent for a job that is not on a timer.
lastErrorstringoptionalWhy it is not working, in the runner's words.
createdAtstringrequiredA time, as RFC 3339.
statusstringrequired
problemstringoptional
problemCodestringoptional
removalsbooleanrequired
presetstringrequired
comparestringrequired
destFolderstringrequired
pillTextstringrequired
windowFromstringoptional
windowTostringoptional
parallelintegerrequired
notifyFailurebooleanrequired
notifyRunbooleanrequired
notifyRunChangedOnlybooleanrequired
speedLimitBpsintegeroptional
copyDoneintegeroptionalFiles copied so far in the run that is in progress.
copyTotalintegeroptionalFiles this run expects to look at.
changedTherestringrequired
destinationIdstringoptionalA saved destination. Absent when the job copies to a folder here.
destinationSpeedstringoptionalfast or standard, from that destination's last Test.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this job now, in words: the server's automation limit, its place's connections at once, its own speed limit.
directionstringrequiredpush (here to there), pull (there to here) or both.
conflictstringrequiredWhen both sides changed a file in a sync both ways: keep_both, here, there or newest.
{
  "live": {
    "running": 1,
    "inSync": 1,
    "attention": 1
  },
  "items": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "name": "Rush delivery",
      "sourceRoot": "example",
      "sourceRootName": "example",
      "sourcePath": "projects/rush",
      "destination": "example",
      "schedule": "example",
      "enabled": true,
      "destKind": "example",
      "createdAt": "2026-10-05T18:00:00Z",
      "status": "example",
      "removals": true,
      "preset": "example",
      "compare": "example",
      "destFolder": "example",
      "pillText": "example",
      "parallel": 1,
      "notifyFailure": true,
      "notifyRun": true,
      "notifyRunChangedOnly": true,
      "changedThere": "example",
      "sendOrder": "fastest",
      "limitedBy": [
        "example"
      ],
      "direction": "push",
      "conflict": "keep_both"
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/sync-jobs

Add one.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

direction is push (here to there, the default), pull (there to here) or both. All three work with a folder on this server and with SSH, SFTP, FTP, FTPS and bucket places. For a connected server's folder, pull needs View or higher and both needs Full. conflict decides a file both sides changed in a sync both ways: keep_both (the default; the other side's copy is kept as name (conflict, <server>, <date>).ext), here, there or newest. A sync both ways moves a removed file into .farwing-removed/<date>/ on the other side and keeps it for 30 days.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringrequiredThe name.
sourceRootstringoptionalThe location, for a caller that still names storage directly.
spaceIdstringoptionalThe space, when the folder was chosen from Home.
sourcePathstringoptional
destinationstringoptionalA folder on this server, root:path. Omit this when destinationId is set.
schedulestringoptional
destKindstringoptionalfolder or server. Omit this when destinationId is set.
destinationIdstringoptionalA saved destination (FTP, SFTP, SSH, a bucket, or a server link). Not sent together with destination.
destFolderstringoptional
comparestringoptional
changedTherestringoptional
safetyPercentintegeroptional
safetyFilesintegeroptional
windowFromstringoptional
windowTostringoptional
parallelintegeroptional
notifyFailurebooleanoptional
notifyRunbooleanoptional
notifyRunChangedOnlybooleanoptional
speedLimitBpsintegeroptional
sendOrderstringoptionalfastest or in_order.
enabledbooleanoptionalA copy of an existing job is saved switched off.
directionstringoptionalpush (the default), pull or both.
conflictstringoptionalkeep_both (the default), here, there or newest.
{
  "name": "Rush delivery"
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
sourceRootstringrequired
sourceRootNamestringrequired
sourcePathstringrequired
destinationstringrequired
schedulestringrequired
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyA time, as RFC 3339.
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
nextRunAtstringoptional, left out when emptyWhen the schedule says it should next go. Absent for a job that is not on a timer.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words.
createdAtstringrequiredA time, as RFC 3339.
statusstringrequired
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
removalsbooleanrequired
presetstringrequired
comparestringrequired
destFolderstringrequired
pillTextstringrequired
windowFromstringoptional, left out when empty
windowTostringoptional, left out when empty
parallelintegerrequired
notifyFailurebooleanrequired
notifyRunbooleanrequired
notifyRunChangedOnlybooleanrequired
speedLimitBpsintegeroptional, left out when empty
copyDoneintegeroptional, left out when emptyFiles copied so far in the run that is in progress.
copyTotalintegeroptional, left out when emptyFiles this run expects to look at.
changedTherestringrequired
destinationIdstringoptional, left out when emptyA saved destination. Absent when the job copies to a folder here.
destinationSpeedstringoptional, left out when emptyfast or standard, from that destination's last Test.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this job now, in words: the server's automation limit, its place's connections at once, its own speed limit.
directionstringrequiredpush (here to there), pull (there to here) or both.
conflictstringrequiredWhen both sides changed a file in a sync both ways: keep_both, here, there or newest.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "sourceRoot": "example",
  "sourceRootName": "example",
  "sourcePath": "projects/rush",
  "destination": "example",
  "schedule": "example",
  "enabled": true,
  "destKind": "example",
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "removals": true,
  "preset": "example",
  "compare": "example",
  "destFolder": "example",
  "pillText": "example",
  "parallel": 1,
  "notifyFailure": true,
  "notifyRun": true,
  "notifyRunChangedOnly": true,
  "changedThere": "example",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ],
  "direction": "push",
  "conflict": "keep_both"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta field is not valid
400direction_not_allowedthis place cannot be synced in that direction
409sync_pair_ownedanother sync both ways already owns this pair of folders; the message names it
404not_foundnot there, or not visible to this caller
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a field is not valid"
  }
}

PATCH /api/v1/sync-jobs/{id}

Change one.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

speedLimitBps is this sync's own limit in bits per second; 0 removes it. sendOrder is fastest or in_order, as for a hot folder. direction and conflict are as when adding one; a change of direction needs a new preview before removals. A sync returns limitedBy, what is slowing it now, in words.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringoptionalThe name.
sourcePathstringoptional
destinationstringoptional
schedulestringoptional
destKindstringoptional
enabledbooleanoptional
removalsbooleanoptional
removalsAckbooleanoptionalRequired together with removals: true. Absent leaves removals alone.
comparestringoptional
changedTherestringoptional
safetyPercentintegeroptional
safetyFilesintegeroptional
presetstringoptional
atTimestringoptional
destFolderstringoptional
destinationIdstringoptionalThe id.
windowFromstringoptional
windowTostringoptional
parallelintegeroptional
notifyFailurebooleanoptional
notifyRunbooleanoptional
notifyRunChangedOnlybooleanoptional
speedLimitBpsintegeroptional
sendOrderstringoptionalfastest or in_order.
directionstringoptionalpush, pull or both.
conflictstringoptionalkeep_both, here, there or newest.
{
  "name": "Rush delivery",
  "sourcePath": "projects/rush",
  "destination": "example",
  "schedule": "example",
  "destKind": "example",
  "enabled": true,
  "removals": true,
  "removalsAck": true
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
sourceRootstringrequired
sourceRootNamestringrequired
sourcePathstringrequired
destinationstringrequired
schedulestringrequired
enabledbooleanrequired
pausedReasonstringoptional, left out when empty
lastRunAtstringoptional, left out when emptyA time, as RFC 3339.
destKindstringrequiredWhat the destination means. unset is a row from before kinds existed; the runner refuses those rather than guessing.
nextRunAtstringoptional, left out when emptyWhen the schedule says it should next go. Absent for a job that is not on a timer.
lastErrorstringoptional, left out when emptyWhy it is not working, in the runner's words.
createdAtstringrequiredA time, as RFC 3339.
statusstringrequired
problemstringoptional, left out when empty
problemCodestringoptional, left out when empty
removalsbooleanrequired
presetstringrequired
comparestringrequired
destFolderstringrequired
pillTextstringrequired
windowFromstringoptional, left out when empty
windowTostringoptional, left out when empty
parallelintegerrequired
notifyFailurebooleanrequired
notifyRunbooleanrequired
notifyRunChangedOnlybooleanrequired
speedLimitBpsintegeroptional, left out when empty
copyDoneintegeroptional, left out when emptyFiles copied so far in the run that is in progress.
copyTotalintegeroptional, left out when emptyFiles this run expects to look at.
changedTherestringrequired
destinationIdstringoptional, left out when emptyA saved destination. Absent when the job copies to a folder here.
destinationSpeedstringoptional, left out when emptyfast or standard, from that destination's last Test.
sendOrderstringrequiredfastest or in_order.
limitedByarray of stringrequiredWhat slows this job now, in words: the server's automation limit, its place's connections at once, its own speed limit.
directionstringrequiredpush (here to there), pull (there to here) or both.
conflictstringrequiredWhen both sides changed a file in a sync both ways: keep_both, here, there or newest.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "sourceRoot": "example",
  "sourceRootName": "example",
  "sourcePath": "projects/rush",
  "destination": "example",
  "schedule": "example",
  "enabled": true,
  "destKind": "example",
  "createdAt": "2026-10-05T18:00:00Z",
  "status": "example",
  "removals": true,
  "preset": "example",
  "compare": "example",
  "destFolder": "example",
  "pillText": "example",
  "parallel": 1,
  "notifyFailure": true,
  "notifyRun": true,
  "notifyRunChangedOnly": true,
  "changedThere": "example",
  "sendOrder": "fastest",
  "limitedBy": [
    "example"
  ],
  "direction": "push",
  "conflict": "keep_both"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta field is not valid
400direction_not_allowedthis place cannot be synced in that direction
409sync_pair_ownedanother sync both ways already owns this pair of folders; nothing in the request was saved
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a field is not valid"
  }
}

DELETE /api/v1/sync-jobs/{id}

Delete one. token is the one from its delete plan.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.
dependentsquerystringoptional
tokenquerystringoptional

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

GET /api/v1/sync-jobs/{id}/delete-plan

What deleting this sync affects: the rules that name it. The plan carries the token the delete needs.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
itemsarray of objectsrequiredThe records in this reply.

Each item is an object:

FieldTypeMeaning
kindstringrequiredplace, hotFolder, sync, rule, sharedFolder, code.
idstringrequiredThe id.
namestringrequiredThe name.
effectobjectrequired
tokenstringrequired
{
  "items": [
    {
      "kind": "file",
      "id": "k7Qm2sLp9vX4aB1c",
      "name": "Rush delivery",
      "effect": {}
    }
  ],
  "token": "example"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/sync-jobs/{id}/dry-run

What a run would change. Reads both sides and writes nothing, so it needs no license.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

FieldTypeMeaning
addintegerrequired
changeintegerrequired
currentintegerrequired
bytesintegerrequiredSize in bytes.
samplearray of objectsrequiredUp to [PLAN_SAMPLE] entries, each add or change.

Each item is an object:

FieldTypeMeaning
pathstringrequiredA path relative to the space or the storage location, with / between folders and no leading slash.
whatstringrequired
bytesintegerrequiredSize in bytes.
truncatedbooleanrequiredTrue when the walk hit its ceiling, so the counts are a floor and the screen must not present them as the whole picture.
deleteintegerrequiredAlways zero, and present so the screen can say so. Deletes are not mirrored at all; see the module note.
{
  "add": 1,
  "change": 1,
  "current": 1,
  "bytes": 1048576,
  "sample": [
    {
      "path": "projects/rush",
      "what": "2026-10-05T18:00:00Z",
      "bytes": 1048576
    }
  ],
  "truncated": true,
  "delete": 1
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe source or the destination could not be read
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the source or the destination could not be read"
  }
}

POST /api/v1/sync-jobs/{id}/preview

Compare the two sides and write a report. Nothing is copied or removed.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_request{e:#}
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "{e:#}"
  }
}

POST /api/v1/sync-jobs/{id}/run

Run it now rather than at its next scheduled time.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API. This call can also answer 402 when this installation's license does not cover automation.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_request{e:#}
402licence_requiredthis installation's license does not cover automation
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
{
  "error": {
    "code": "bad_request",
    "message": "{e:#}"
  }
}

GET /api/v1/sync-jobs/{id}/runs

Recent runs of this sync job, newest first.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

GET /api/v1/sync-jobs/{id}/runs/{run_id}/files

The files one run copied, skipped, or would remove.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe sync job's id.
run_idpathstringrequiredThe run's id.

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/sync-jobs/{id}/runs/{run_id}/allow-once

Let one run past the safety stop, after the job's name is typed. Later runs stop at the same limits again.

Who. An administrator, with a key that has the admin scope. An administrator's key that does not have that scope is refused. The key needs a license that includes the REST API.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe sync job's id.
run_idpathstringrequiredThe run that stopped.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
confirmNamestringrequired
{
  "confirmName": "example"
}

Success. 200.

JSON object.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe name did not match the job
409conflictthis run did not stop before removing files
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the name did not match the job"
  }
}

Event rules

GET /api/v1/rules

Your event rules, and the ready-made ones to start from.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

An event rule waits for something to happen on the server, such as a file arriving or a transfer failing, and runs steps in response. Event rules need the automation feature; in Free mode one rule runs at no charge. An administrator sees every rule; everyone else sees their own. Besides the rules the reply says whether this license includes automation (included), how many more rules Free mode can run (freeJobsLeft), whether the caller may save a step that runs a command (mayUseCommands, administrators only), and whether webhooks to private addresses are allowed.

Success. 200.

FieldTypeMeaning
rulesarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
ownerIdstringoptionalThe id.
ownerEmailstringoptionalAn email address.
triggerstringrequired
triggerConfigobjectrequired

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegerrequired
onFailureobjectrequired
timeoutSecsintegerrequired
confirmedbooleanoptional
enabledbooleanrequired
pausedReasonstringoptional
hasCommandbooleanrequired
notifyOwnerOnFailurebooleanrequired
maxConcurrentintegerrequired
secretNamesarray of stringrequiredNames only. The values are never sent back.
lastRunAtstringoptionalA time, as RFC 3339.
nextRunAtstringoptionalA time, as RFC 3339.
createdAtstringrequiredA time, as RFC 3339.
templatesarray of objectsrequired

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
titlestringrequired
whatstringrequired
needsstringoptionalWhat the server needs for it to work, for example "ffmpeg".
ruleobjectrequired

It is an object:

FieldTypeMeaning
namestringrequiredThe name.
triggerstringrequired
triggerConfigTriggerConfigoptional

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of RuleConditionoptional

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegeroptional
onFailureOnFailureoptional
timeoutSecsintegeroptional
confirmedbooleanoptional
enabledbooleanoptional
notifyOwnerOnFailurebooleanoptional
maxConcurrentintegeroptional
secretsBTreeMap<String, String>optionalWritten once; never read back.
includedbooleanrequired
freeJobsLeftintegerrequired
mayUseCommandsbooleanrequired
allowPrivateWebhooksbooleanrequired
{
  "rules": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "name": "Rush delivery",
      "trigger": "example",
      "triggerConfig": {
        "stableSecs": 1,
        "cron": "example",
        "everyMinutes": 1,
        "dailyAt": "2026-10-05T18:00:00Z",
        "weekdays": [
          1
        ]
      },
      "conditions": [
        {
          "kind": {},
          "field": "example",
          "value": "example"
        }
      ],
      "steps": [
        {
          "name": "Rush delivery",
          "kind": {},
          "config": {
            "file": {
              "name": "rush.mov"
            }
          },
          "retries": 1,
          "onFailure": {},
          "timeoutSecs": 1,
          "confirmed": true
        }
      ],
      "enabled": true,
      "hasCommand": true,
      "notifyOwnerOnFailure": true,
      "maxConcurrent": 1,
      "secretNames": [
        "a-secret-shown-once"
      ],
      "createdAt": "2026-10-05T18:00:00Z"
    }
  ],
  "templates": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "title": "example",
      "what": "2026-10-05T18:00:00Z",
      "needs": "example",
      "rule": {
        "name": "Rush delivery",
        "trigger": "example",
        "steps": [
          {
            "name": "Rush delivery",
            "kind": {},
            "config": {
              "file": {
                "name": "rush.mov"
              }
            },
            "retries": 1,
            "onFailure": {},
            "timeoutSecs": 1,
            "confirmed": true
          }
        ]
      }
    }
  ],
  "included": true,
  "freeJobsLeft": 1,
  "mayUseCommands": true,
  "allowPrivateWebhooks": true
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}

POST /api/v1/rules

Make an event rule.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API. This call can also answer 402 when this server's license has no room for another automation job.

The reply is the rule and its webhookSecret, the key a receiver checks webhook calls with; it can be shown again later with the signing key call. Values a step needs, such as a token, go in secrets once and are never returned; steps read them as {{secret.name}}. Only an administrator can save a rule with a step that runs a command. The rule starts at once unless enabled is false, and takes one of the jobs the license allows.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringrequiredThe name.
triggerstringrequired
triggerConfigTriggerConfigoptional, left out when empty

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of RuleConditionoptional, left out when empty

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegeroptional
onFailureOnFailureoptional
timeoutSecsintegeroptional
confirmedbooleanoptional
enabledbooleanoptional, left out when empty
notifyOwnerOnFailurebooleanoptional, left out when empty
maxConcurrentintegeroptional, left out when empty
secretsBTreeMap<String, String>optional, left out when emptyWritten once; never read back.
{
  "name": "Rush delivery",
  "trigger": "example",
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "config": {
        "file": {
          "name": "rush.mov"
        }
      },
      "retries": 1,
      "onFailure": {},
      "timeoutSecs": 1,
      "confirmed": true
    }
  ]
}

Success. 200.

FieldTypeMeaning
ruleobjectrequired

It is an object:

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
ownerIdstringoptionalThe id.
ownerEmailstringoptionalAn email address.
triggerstringrequired
triggerConfigobjectrequired

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegerrequired
onFailureobjectrequired
timeoutSecsintegerrequired
confirmedbooleanoptional
enabledbooleanrequired
pausedReasonstringoptional
hasCommandbooleanrequired
notifyOwnerOnFailurebooleanrequired
maxConcurrentintegerrequired
secretNamesarray of stringrequiredNames only. The values are never sent back.
lastRunAtstringoptionalA time, as RFC 3339.
nextRunAtstringoptionalA time, as RFC 3339.
createdAtstringrequiredA time, as RFC 3339.
webhookSecretstringrequired
{
  "rule": {
    "id": "k7Qm2sLp9vX4aB1c",
    "name": "Rush delivery",
    "trigger": "example",
    "triggerConfig": {
      "stableSecs": 1,
      "cron": "example",
      "everyMinutes": 1,
      "dailyAt": "2026-10-05T18:00:00Z",
      "weekdays": [
        1
      ]
    },
    "conditions": [
      {
        "kind": {},
        "field": "example",
        "value": "example"
      }
    ],
    "steps": [
      {
        "name": "Rush delivery",
        "kind": {},
        "config": {
          "file": {
            "name": "rush.mov"
          }
        },
        "retries": 1,
        "onFailure": {},
        "timeoutSecs": 1,
        "confirmed": true
      }
    ],
    "enabled": true,
    "hasCommand": true,
    "notifyOwnerOnFailure": true,
    "maxConcurrent": 1,
    "secretNames": [
      "a-secret-shown-once"
    ],
    "createdAt": "2026-10-05T18:00:00Z"
  },
  "webhookSecret": "a-secret-shown-once"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestno name or one over 100 characters, an unknown trigger, a schedule that cannot work, a condition or step that is not valid (no steps, more than 20, a name used twice, a required setting missing, or a delete step without `confirmed`), a secret name or value that is not allowed, or `maxConcurrent` outside 1 to 8
402licence_requiredthis server's license has no room for another automation job
403forbiddena step runs a command and the caller is not an administrator
409conflicta rule with that name already exists
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
{
  "error": {
    "code": "bad_request",
    "message": "no name or one over 100 characters, an unknown trigger, a schedule that cannot work, a condition or step that is not valid (no steps, more than 20, a name used twice, a required setting missing, or a delete step without `confirmed`), a secret name or value that is not allowed, or `maxConcurrent` outside 1 to 8"
  }
}

GET /api/v1/rules/runs

Past runs of event rules, newest first.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Up to 200 runs, each step's output shortened; fetch one run for the rest. Secrets are replaced by ***. An administrator sees every run; everyone else sees the runs of their own rules.

Parameters.

NameInTypeMeaning
rulequerystringoptionalOnly this rule's runs.
statequerystringoptionalqueued, running, done, failed, skipped or interrupted.
fromquerystringoptionalRFC 3339, inclusive.
toquerystringoptionalRFC 3339, exclusive.

Success. 200.

FieldTypeMeaning
runsarray of objectsrequiredThe runs, newest first, up to 200.

Each item is an object:

FieldTypeMeaning
idstringrequiredThe id.
ruleIdstringrequiredThe id.
ruleNamestringrequired
eventIdstringoptionalThe id.
statestringrequiredWhere this record is in its life.
startedBystringrequired
conditionsPassedbooleanrequired
dryRunbooleanrequired
errorstringoptional
startedAtstringrequiredA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
statestringrequiredWhere this record is in its life.
attemptsintegerrequired
exitCodeintegeroptional
httpStatusintegeroptional
outputstringrequired
planstringoptional
startedAtstringoptionalA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
{
  "runs": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "ruleId": "k7Qm2sLp9vX4aB1c",
      "ruleName": "example",
      "state": "active",
      "startedBy": "example",
      "conditionsPassed": true,
      "dryRun": false,
      "startedAt": "2026-10-05T18:00:00Z",
      "steps": [
        {
          "name": "Rush delivery",
          "kind": {},
          "state": "active",
          "attempts": 1,
          "output": "example"
        }
      ]
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requesta date that is not written like 2031-03-04T10:00:00Z
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "a date that is not written like 2031-03-04T10:00:00Z"
  }
}

GET /api/v1/rules/runs/{id}

One run of an event rule, with the output of every step.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

The last 64 KB of each step's output is kept, with every secret replaced by ***. For a dry run each step also has a plan: what it would have done.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
ruleIdstringrequiredThe id.
ruleNamestringrequired
eventIdstringoptionalThe id.
statestringrequiredWhere this record is in its life.
startedBystringrequired
conditionsPassedbooleanrequired
dryRunbooleanrequired
errorstringoptional
startedAtstringrequiredA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
statestringrequiredWhere this record is in its life.
attemptsintegerrequired
exitCodeintegeroptional
httpStatusintegeroptional
outputstringrequired
planstringoptional
startedAtstringoptionalA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "ruleId": "k7Qm2sLp9vX4aB1c",
  "ruleName": "example",
  "state": "active",
  "startedBy": "example",
  "conditionsPassed": true,
  "dryRun": false,
  "startedAt": "2026-10-05T18:00:00Z",
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "state": "active",
      "attempts": 1,
      "output": "example"
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundno such run, or it belongs to someone else's rule
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}

POST /api/v1/rules/runs/{id}/rerun

Run a past run again.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Queues a new run of the same rule with the event the old run kept, even if the event itself has since been cleared away. The conditions are not checked again. The old run stays as it was.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. None.

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
ruleIdstringrequiredThe id.
ruleNamestringrequired
eventIdstringoptionalThe id.
statestringrequiredWhere this record is in its life.
startedBystringrequired
conditionsPassedbooleanrequired
dryRunbooleanrequired
errorstringoptional
startedAtstringrequiredA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
statestringrequiredWhere this record is in its life.
attemptsintegerrequired
exitCodeintegeroptional
httpStatusintegeroptional
outputstringrequired
planstringoptional
startedAtstringoptionalA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "ruleId": "k7Qm2sLp9vX4aB1c",
  "ruleName": "example",
  "state": "active",
  "startedBy": "example",
  "conditionsPassed": true,
  "dryRun": false,
  "startedAt": "2026-10-05T18:00:00Z",
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "state": "active",
      "attempts": 1,
      "output": "example"
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
403forbiddenthe rule runs a command and the caller is not an administrator
404not_foundno such run, or it belongs to someone else's rule
409conflictthe rule is paused; the message says why
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "forbidden",
    "message": "you do not have access to this"
  }
}

PATCH /api/v1/rules/{id}

Change an event rule.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API. This call can also answer 402 when switching it on, when this server's license has no room for another automation job.

Send only what changes. A secret sent with an empty value is removed, and one left out is kept. Switching a rule on takes one of the license's jobs; editing it or switching it off does not. Only an administrator can add a command step, or edit a rule that already has one other than switching it off.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

A field the server does not know is ignored.

FieldTypeMeaning
namestringoptionalThe name.
triggerstringoptional
triggerConfigTriggerConfigoptional

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of RuleConditionoptional

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of StepInputoptional

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegeroptional
onFailureOnFailureoptional
timeoutSecsintegeroptional
confirmedbooleanoptional
enabledbooleanoptional
notifyOwnerOnFailurebooleanoptional
maxConcurrentintegeroptional
secretsBTreeMap<String, String>optional
{
  "name": "Rush delivery",
  "trigger": "example",
  "triggerConfig": {
    "stableSecs": 1,
    "cron": "example",
    "everyMinutes": 1,
    "dailyAt": "2026-10-05T18:00:00Z",
    "weekdays": [
      1
    ]
  },
  "conditions": [
    {
      "kind": {},
      "field": "example",
      "value": "example"
    }
  ],
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "config": {
        "file": {
          "name": "rush.mov"
        }
      },
      "retries": 1,
      "onFailure": {},
      "timeoutSecs": 1,
      "confirmed": true
    }
  ],
  "enabled": true,
  "notifyOwnerOnFailure": true,
  "maxConcurrent": 1
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
namestringrequiredThe name.
ownerIdstringoptionalThe id.
ownerEmailstringoptionalAn email address.
triggerstringrequired
triggerConfigobjectrequired

It is an object:

FieldTypeMeaning
stableSecsintegeroptional
cronstringoptional
everyMinutesintegeroptional
dailyAtstringoptionalHH:MM, in the server's time zone.
weekdaysarray of integeroptional0 is Sunday, as in cron.
conditionsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
kindobjectrequired
fieldstringoptionalThe field a formFieldIs condition reads.
valuestringrequired
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
configvalueoptional
retriesintegerrequired
onFailureobjectrequired
timeoutSecsintegerrequired
confirmedbooleanoptional
enabledbooleanrequired
pausedReasonstringoptional
hasCommandbooleanrequired
notifyOwnerOnFailurebooleanrequired
maxConcurrentintegerrequired
secretNamesarray of stringrequiredNames only. The values are never sent back.
lastRunAtstringoptionalA time, as RFC 3339.
nextRunAtstringoptionalA time, as RFC 3339.
createdAtstringrequiredA time, as RFC 3339.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "name": "Rush delivery",
  "trigger": "example",
  "triggerConfig": {
    "stableSecs": 1,
    "cron": "example",
    "everyMinutes": 1,
    "dailyAt": "2026-10-05T18:00:00Z",
    "weekdays": [
      1
    ]
  },
  "conditions": [
    {
      "kind": {},
      "field": "example",
      "value": "example"
    }
  ],
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "config": {
        "file": {
          "name": "rush.mov"
        }
      },
      "retries": 1,
      "onFailure": {},
      "timeoutSecs": 1,
      "confirmed": true
    }
  ],
  "enabled": true,
  "hasCommand": true,
  "notifyOwnerOnFailure": true,
  "maxConcurrent": 1,
  "secretNames": [
    "a-secret-shown-once"
  ],
  "createdAt": "2026-10-05T18:00:00Z"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestany of the refusals for making a rule
402licence_requiredswitching it on, when this server's license has no room for another automation job
403forbiddenthe change adds or edits a command step and the caller is not an administrator
404not_foundno such rule, or it is someone else's
409conflicta rule with that name already exists
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
{
  "error": {
    "code": "bad_request",
    "message": "any of the refusals for making a rule"
  }
}

DELETE /api/v1/rules/{id}

Delete an event rule.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

The rule stops at once and gives its job back. Needs the write scope rather than delete, like every other change to a rule.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

The reply has no body.

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundno such rule, or it is someone else's
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}

GET /api/v1/rules/{id}/signing-key

Show the key a rule's webhook receivers check.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Only to the rule's owner or an administrator, and each time it is read is written to the audit log. It is a call of its own so that the rule itself, which is listed and cached, never carries it.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Success. 200.

FieldTypeMeaning
signingKeystringrequired
{
  "signingKey": "example"
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
404not_foundno such rule, or it is someone else's
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "not_found",
    "message": "not found"
  }
}

POST /api/v1/rules/{id}/run

Run an event rule now, for real or as a dry run.

Who. Any user with a key that has the write scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

With eventId the rule runs against that past event from the events list; without one, against a made-up event of the rule's kind. A dry run shows what each step would do and does none of it, and the reply comes when it has finished. A real run is queued, so the reply may still say queued or running; read the run again to follow it. If the event does not meet the rule's conditions the run is recorded as skipped. A paused rule can be dry-run but not run, and only an administrator can run a rule that has a command step for real.

Parameters.

NameInTypeMeaning
idpathstringrequiredThe resource's id.

Request body. JSON.

The body may be left out.

A field the server does not know is ignored.

FieldTypeMeaning
eventIdstringoptionalThe id.
dryRunbooleanoptional
{
  "eventId": "k7Qm2sLp9vX4aB1c",
  "dryRun": false
}

Success. 200.

FieldTypeMeaning
idstringrequiredThe id.
ruleIdstringrequiredThe id.
ruleNamestringrequired
eventIdstringoptionalThe id.
statestringrequiredWhere this record is in its life.
startedBystringrequired
conditionsPassedbooleanrequired
dryRunbooleanrequired
errorstringoptional
startedAtstringrequiredA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
stepsarray of objectsrequired

Each item is an object:

FieldTypeMeaning
namestringrequiredThe name.
kindobjectrequired
statestringrequiredWhere this record is in its life.
attemptsintegerrequired
exitCodeintegeroptional
httpStatusintegeroptional
outputstringrequired
planstringoptional
startedAtstringoptionalA time, as RFC 3339.
finishedAtstringoptionalA time, as RFC 3339.
{
  "id": "k7Qm2sLp9vX4aB1c",
  "ruleId": "k7Qm2sLp9vX4aB1c",
  "ruleName": "example",
  "state": "active",
  "startedBy": "example",
  "conditionsPassed": true,
  "dryRun": false,
  "startedAt": "2026-10-05T18:00:00Z",
  "steps": [
    {
      "name": "Rush delivery",
      "kind": {},
      "state": "active",
      "attempts": 1,
      "output": "example"
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
400bad_requestthe event is no longer kept
403forbiddenthe rule runs a command and the caller is not an administrator
404not_foundno such rule, or it is someone else's
409conflictthe rule is paused; the message says why
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "bad_request",
    "message": "the event is no longer kept"
  }
}

Events

GET /api/v1/events

Past events, to test a rule against.

Who. Any user with a key that has the read scope. A key with the admin scope includes the others. The key needs a license that includes the REST API.

Newest first, of the kind asked for or of every kind, up to 200. Events name files and the addresses of the people who sent them, across every folder, so only an administrator is shown any; everyone else gets an empty list instead of an error, which keeps the test screen working with a made-up event.

Parameters.

NameInTypeMeaning
kindquerystringoptionalOnly events of this trigger kind, such as file.arrived.
limitqueryintegeroptional1 to 200. Default 50. Clamped, not refused.

Success. 200.

FieldTypeMeaning
eventsarray of objectsrequiredNewest first. Empty for anyone who is not an administrator.

Each item is an object:

FieldTypeMeaning
idstringrequiredThe event's id.
kindstringrequiredThe trigger kind, such as file.arrived.
atstringrequiredWhen it happened, as RFC 3339.
pathstringrequiredThe file path the event is about. Empty when it is not about a path.
actorEmailstringrequiredThe address of the account that caused it, when there is one.
bodyvaluerequiredThe rest of the event: file, link, form, package, transfer, job, or scan.
{
  "events": [
    {
      "id": "k7Qm2sLp9vX4aB1c",
      "kind": "file.arrived",
      "at": "2026-10-05T18:00:00Z",
      "path": "projects/rush",
      "actorEmail": "[email protected]",
      "body": {
        "file": {
          "name": "rush.mov"
        }
      }
    }
  ]
}

Errors. The body always has the shape in Errors. Match on code.

StatuscodeWhen
401unauthenticatedno key, or a key that is unknown, expired, revoked, or owned by a disabled account
403forbiddenthe key is valid but does not have the scope, or an administrator route was called by someone who is not an administrator
402licence_requiredthe license does not include the REST API
{
  "error": {
    "code": "unauthenticated",
    "message": "sign in to continue"
  }
}