"rule_id"
: this is the ID of the automation that sent this payload"start_time"
and "end_time"
: these are the time boundaries where we found matching runs"runs"
: this is an array of runs, where each run is a dictionary. If you need more information about each run we suggest using our SDK in your endpoint to fetch it from our API."feedback_stats"
: this is a dictionary with the feedback statistics for the runs. An example payload for this field is shown below.inputs_s3_urls
and outputs_s3_urls
fields may contain S3 URLs to the actual data instead of the data itself.The inputs
and outputs
can be fetched by the ROOT.presigned_url
provided in inputs_s3_urls
and outputs_s3_urls
respectively.Headers
option next to the URL field and add your headers.
ls-webhook
and have it set an environment variable with the name LS_WEBHOOK
.
We can also set up a LangSmith secret - luckily there is already an integration template for this!
modal deploy ...
(see docs here).
You should now get something like:
https://hwchase17--auth-example-f.modal.run
- the function we created to run.
NOTE: this is NOT the final deployment URL, make sure not to accidentally use that.
{SECRET}
with the secret key you created to access the Modal service.