Skip to main content
A trigger binding connects an external event to an agent run. Today the main use is inbound webhooks, including GitHub.

trigger create

For the github provider, --event, --org, and --repo build --trigger-source for you, so you don’t have to assemble that string by hand.
Pass --webhook-secret - to read the secret from stdin. It keeps the secret out of your shell history.

Standard Webhooks

For a sender that signs with the Standard Webhooks scheme, pass --auth-scheme standard_webhooks. JoyStream generates the signing secret, stores it in the vault, and prints it once:
Copy the secret into the sender’s configuration now; no later command prints it. With --json, the secret is the signing_secret key of the output. --webhook-secret cannot be combined with standard_webhooks, because the scheme generates its own secret. If the binding fails to create after the secret was stored, the CLI deletes the stored secret and says so, so no unused secret is left in the vault.

trigger webhook-url

Print the full webhook URL for a binding. This is the URL you paste into GitHub or your other source system.
No --json.

trigger test

Send a signed test webhook.
The server resolves the vault credential and signs with the real HMAC secret, so this exercises the true signature path. No secret leaves the backend.

trigger list and show

trigger update

Disabling is usually better than deleting when you want to stop a trigger temporarily — the binding, its secret, and its event history survive.

trigger delete

--confirm is required. There is no interactive prompt: without the flag, the command prints Pass --confirm to delete this binding. and exits 1. No --json.

Inspecting deliveries: trigger event list and show

trigger event list is where you look when a webhook fired but no run started — it shows what arrived and what the platform did with it.

See also