Skip to content

Preview Trigger

POST
/api/automations/triggers/{trigger_id}/preview
curl --request POST \
--url http://localhost:8000/api/automations/triggers/example/preview \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "limit": 25, "row_ids": [ "example" ] }'
trigger_id
required
Trigger Id
string
x-workspace-id
Any of:
string
Media typeapplication/json
PreviewRequest
object
limit
Limit
integer
default: 25
row_ids
Any of:
Array<string>

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}