Skip to main content
POST
Python

Authorizations

X-Auth-Token
string
header
required

Project API key for sending traces and accessing project-scoped resources. Format: sk-lw-... (no underscore). Obtain one by creating a project via the Admin API or the LangWatch UI.

Path Parameters

id
string
required

Response

Trigger resumed

id
string
required
name
string
required
action
enum<string>
required
Available options:
SEND_EMAIL,
ADD_TO_DATASET,
ADD_TO_ANNOTATION_QUEUE,
SEND_SLACK_MESSAGE,
SEND_WEBHOOK
actionParams
object
required

Where this automation delivers, with every credential value replaced by the [redacted] placeholder. Which channel is configured, which destination is set and which header names are in play all survive; the values never leave; a Slack automation names its connection by slackIntegrationId and carries no secret. Sending the placeholder back on an update keeps the stored value. The rule this automation fires by is not here — it is stated in graphAlert or report, and sending it in this field is refused.

graphAlert
object | null
required

The rule an alert fires by. Null for anything that is not one.

report
object | null
required

What a report renders and when. Null for anything else.

filters
object
required
filterQuery
string | null
required
kind
enum<string>
required

What this automation is about: matching traces, a metric crossing a threshold, or a schedule.

Available options:
AUTOMATION,
ALERT,
REPORT
customGraphId
string | null
required
notificationCadence
string | null
required
traceDebounceMs
number | null
required
templates
object
required

The Liquid templates this automation's message is rendered from. Absent fields render the LangWatch default for the channel.

active
boolean
required
message
string | null
required
alertType
enum<string> | null
required
Available options:
CRITICAL,
WARNING,
INFO,
null
createdAt
string
required
updatedAt
string
required
platformUrl
string<uri>
required
Last modified on September 30, 2026