A trigger is a way to invoke a container based on specific events, such as a periodic schedule or a message arriving in a queue.
When the event occurs, the trigger invokes the container, passing relevant information about the event to it.
List all triggers the caller can access (read permission).
By default, the triggers listed are ordered by creation date in ascending order. This can be modified via the order_by field.
Additional parameters can be set in the query to filter, such as organization_id, project_id, namespace_id, container_id or trigger_type.
path Parameters
regionThe region you want to target
query Parameters
pagepage_sizeorder_byorganization_idproject_idnamespace_idcontainer_idtrigger_typeList all triggers the caller can access (read permission). › Responses
total_countCreate a new trigger for the container with the specified ID.
path Parameters
regionThe region you want to target
Create a new trigger for the container with the specified ID. › Request Body
container_idID of the container to trigger.
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
Configuration of the destination to trigger.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
Create a new trigger for the container with the specified ID. › Responses
idTrigger unique ID. (UUID format)
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
statusTrigger status.
error_messageTrigger last error message.
container_idID of the container to trigger. (UUID format)
Configuration of the destination to trigger.
source_typeType of source that will trigger the container.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
created_atTrigger creation date. (RFC 3339 format)
updated_atTrigger last update date. (RFC 3339 format)
Get the trigger associated with the specified ID.
path Parameters
regionThe region you want to target
trigger_idGet the trigger associated with the specified ID. › Responses
idTrigger unique ID. (UUID format)
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
statusTrigger status.
error_messageTrigger last error message.
container_idID of the container to trigger. (UUID format)
Configuration of the destination to trigger.
source_typeType of source that will trigger the container.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
created_atTrigger creation date. (RFC 3339 format)
updated_atTrigger last update date. (RFC 3339 format)
Delete the trigger associated with the specified ID.
This action cannot be undone.
path Parameters
regionThe region you want to target
trigger_idID of the trigger to delete.
Delete the trigger associated with the specified ID. › Responses
idTrigger unique ID. (UUID format)
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
statusTrigger status.
error_messageTrigger last error message.
container_idID of the container to trigger. (UUID format)
Configuration of the destination to trigger.
source_typeType of source that will trigger the container.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
created_atTrigger creation date. (RFC 3339 format)
updated_atTrigger last update date. (RFC 3339 format)
Update the trigger associated with the specified ID.
When updating a trigger, you cannot specify a different source type than the one already set. Only fields present in the request are updated; others are left untouched.
path Parameters
regionThe region you want to target
trigger_idID of the trigger to update.
Update the trigger associated with the specified ID. › Request Body
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
Configuration of the destination to trigger.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
Update the trigger associated with the specified ID. › Responses
idTrigger unique ID. (UUID format)
nameName of the trigger.
descriptionDescription of the trigger.
tagsTags of the trigger.
statusTrigger status.
error_messageTrigger last error message.
container_idID of the container to trigger. (UUID format)
Configuration of the destination to trigger.
source_typeType of source that will trigger the container.
Configuration for a cron source.
Configuration for an SQS queue source.
Configuration for a NATS source.
created_atTrigger creation date. (RFC 3339 format)
updated_atTrigger last update date. (RFC 3339 format)