Skip to content

Probe Installation

Probe Installation

Docker (Quickest)

Terminal window
docker run -d \
-e GOVERN_API_KEY=your-api-key \
-e GOVERN_ORG_ID=your-org-id \
-e TARGET_URL=https://api.openai.com/v1/chat/completions \
-p 9090:9090 -p 9091:9091 \
archetypal/govern-probe:latest

Then point your application to http://localhost:9090 instead of the AI API directly.

Environment Variables

VariableRequiredDefaultDescription
GOVERN_API_KEYYesAPI key from Settings > API Keys
GOVERN_ORG_IDYesOrganization ID
TARGET_URLYesAI API endpoint to proxy
PROBE_PORTNo9090Proxy listen port
PROBE_SCORING_MODENologlog / flag / block
PROBE_TIMEOUT_MSNo30000Request timeout

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
name: govern-probe
spec:
replicas: 1
selector:
matchLabels:
app: govern-probe
template:
metadata:
labels:
app: govern-probe
spec:
containers:
- name: probe
image: archetypal/govern-probe:latest
ports:
- containerPort: 9090
- containerPort: 9091
env:
- name: GOVERN_API_KEY
valueFrom:
secretKeyRef:
name: govern-secrets
key: api-key
- name: TARGET_URL
value: "http://ai-service:8080/v1/chat/completions"
livenessProbe:
httpGet:
path: /healthz
port: 9091
readinessProbe:
httpGet:
path: /readyz
port: 9091

Auto-Registration

On startup, the probe auto-registers with the GOVERN API via POST /api/govern/probe/register. This creates a system entry in the dashboard so you can see the probe’s telemetry immediately.