API Channel
Programmatic Integration
Available
Use Cases
- •Automated systems and pipelines
- •AI governance and decision logging
- •Backend service integrations
- •High-volume fact sealing
Features
REST API
Standard HTTP/JSON interface
Idempotency
client_ref prevents duplicate seals
Batch support
Multiple facts per request (coming soon)
Webhooks
Event notifications (coming soon)
Example
curl -X POST https://api.horizon.asplenz.com/streams/my-stream/facts \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"tenant_id": "acme-corp",
"actor": "system@acme-corp.com",
"custom_payload": {
"event": "model_prediction",
"confidence": 0.95
}
}'