Webhooks
Webhooks let you subscribe to events from your LLMTune workspace for automation and monitoring.Supported Events
| Event | Trigger |
|---|---|
training.started | A fine-tuning job enters the running state |
training.completed | A job finishes successfully |
training.failed | A job fails or is cancelled |
deployment.created | A new endpoint becomes active |
deployment.paused | An endpoint is paused |
deployment.deleted | An endpoint is permanently removed |
usage.threshold_reached | Usage metrics cross configured thresholds |
Register a Webhook
- Navigate to Webhooks.
- Click Create Endpoint.
- Provide:
- Target URL (HTTPS recommended)
- Secret for signature validation (optional but recommended)
- Events to subscribe to
- Save and test using the Send Test Event button.
Payload Format
- Verify signatures using the shared secret.
- Respond with
2xxstatus. LLMTune retries failed deliveries with backoff.
Best Practices
- Use unique secrets per webhook.
- Acknowledge quickly; perform heavy processing asynchronously.
- Log received events for debugging and auditing.