Connect Decision Receipt to your stack

Decision Receipt integrates with every major development platform. Setup takes under 10 minutes.

GitHub
PR Webhook + Action

Automatic receipt on every PR. Status checks + comments with verdict.

gh webhook create --repo ORG/REPO \
  --events pull_request \
  --url https://decrec.summitcognitive.ai/v1/webhook/github

Full setup guide

GitLab
MR Webhook

Evaluates merge_request events. Settings > Webhooks:

URL: https://decrec.summitcognitive.ai/v1/webhook/gitlab
Token: your-secret
Events: Merge request events
Bitbucket
PR Webhook

Evaluates pullrequest:created/updated. Repository Settings > Webhooks:

URL: https://decrec.summitcognitive.ai/v1/webhook/bitbucket
Events: Pull Request (Created, Updated)
Slack
Outbound Notifications

Get receipt notifications in your Slack channel:

  1. Create a Slack Incoming Webhook at api.slack.com
  2. Register it with Decision Receipt:
curl -X POST https://decrec.summitcognitive.ai/v1/webhooks/outbound \
  -H "Content-Type: application/json" \
  -d '{"url":"https://hooks.slack.com/services/YOUR/WEBHOOK/URL",
       "events":["receipt.created"]}'

Receipt cards include Slack Block Kit format. View payload schema

CI/CD
GitHub Action

Block merges when admissibility fails:

- uses: summitcognitive/decision-receipt/github-action@v1
  with:
    api-url: https://decrec.summitcognitive.ai
    fail-on-block: "true"
TypeScript
SDK

Full typed client with 30+ methods:

import { DecRec } from "@summit-dr/sdk";
const dr = new DecRec({ apiKey: "sk_decrec_..." });
const result = await dr.evaluatePR({ ... });

API Reference | Full Guide

Security
SARIF Export

Export receipts as SARIF 2.1.0 for integration with GitHub Code Scanning, VS Code SARIF Viewer, and security dashboards:

GET /v1/receipts/{id}/sarif

Failed policy rules become SARIF results with error level.

Monitoring
RSS + SSE

Subscribe to the receipt feed:

# RSS
https://decrec.summitcognitive.ai/feed.xml

# Server-Sent Events
const source = new EventSource('/v1/feed');
source.addEventListener('receipt', ...)

Live Feed Page

Dashboards
Embeddable Widget

Embed a repo dashboard in any page:

<iframe src="https://decrec.summitcognitive.ai/embed/ORG/REPO"
  width="400" height="300"></iframe>

Also: embed snippet generator for badges, QR, seal