Skip to content

Configuration Reference

This file is the only place Prism reads its runtime configuration from.

FieldTypeDefaultEditableDescription
show_realtime_summarybooleanfalseyesPrint the server-side realtime summary after a completed turn. Applies on the next hook run.
ingest_urlURLyesWhere Prism sends ingest, realtime, report, config, and OTEL traffic. HTTPS, or an HTTP loopback address. Requires a restart.
apiKeystringnoYour Prism API key. Managed by /prism:setup KEY.
dashboard_urlURLnoResolved from your API key by the server.
debugbooleanfalseby handAlso mirror the debug log to your terminal (stderr). Not exposed by /prism:config; edit the file directly.

show_realtime_summary is also accepted under its former name showRealtimeSummary; the value migrates to the current name on the next write.

File permissions: 600 (owner read-write only) · Directory permissions: 700 (owner only)

The file is shared by every plugin version installed on the machine, so fields are only ever added — never renamed or repurposed.

The plugin writes these on session start, into the settings file for the scope it was installed in:

{
"env": {
"OTEL_EXPORTER_OTLP_LOGS_ENDPOINT": "https://ingest.optra-prism.com/v1/logs",
"OTEL_EXPORTER_OTLP_METRICS_ENDPOINT": "https://ingest.optra-prism.com/v1/metrics"
}
}

The plugin writes only the logs and metrics endpoints — it does not set OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, since Claude Code does not emit OTLP traces through this pipeline. URLs are resolved from your API key. See Environment Variables for the full list of keys.