Docs / Integrations
Alerts and search
Send events to chat and work tools, and sync evidence to Elasticsearch.
Configure these in the console under Integrations, or through the API.
Alert channels
| `provider` | `config` fields |
|---|---|
slack, microsoft_teams, discord | webhook_url |
jira, trello, clickup | webhook_url of an automation webhook |
telegram | bot_token, chat_id |
whatsapp | access_token, phone_number_id, recipient_phone (Meta Cloud API) |
curl -X POST $RAI_BASE_URL/v1/productization/alert-integrations \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"name":"Governance alerts","provider":"slack",
"event_types":["enforcement.deny","risk.finding.created"],
"config":{"webhook_url":"https://hooks.slack.com/services/..."}}'Alerts use the same event types as webhooks, link back to the console, and need the runtime events worker.
Elasticsearch
curl -X PUT $RAI_BASE_URL/v1/productization/search-integrations/elasticsearch \
-H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
-d '{"config":{"url":"https://es.example.com:9200","api_key":"...","index_prefix":"rai"},
"enabled":true,"sync_logs":true,"use_for_search":true}'sync_logs indexes audit records and trajectories. use_for_search serves searches from the index. Test with POST /v1/productization/search-integrations/{id}/test.
Indexed records can include observed content. Apply your evidence handling modes and cluster access controls first.