01 Engineering
What caused
this response?
Start at the interaction. Inspect the prompt, model, and output together, then follow the trace back to its context.
The request is your starting point.
AI observability / from request to record
Trace prompts and responses, catch risky outputs, and keep a record your team can investigate.
Python & JavaScript SDKs. No credit card required.
// npm install @drift_rail/sdk
import { DriftRail } from '@drift_rail/sdk'
const client = new DriftRail({
apiKey: process.env.DRIFTRAIL_API_KEY,
appId: 'support-assistant'
})
await client.ingest({
model: 'gpt-6.1-sol',
provider: 'openai',
input: { prompt: userMessage },
output: { text: assistantReply }
})
// A trace your team can investigate.
One sample, four views. Explore detections, event traces, drift alerts, and the numbers behind them.
Sample workspace / production
Requests captured across your applications
Mean risk score · lower is better
Illustrative data. Change the reporting period to compare the sample.
No credit card required
Works with any LLM provider
From a trace to an answer
Connect the request, the risk, and the evidence. Give your team a place to start when something changes.
01 / Capture
The prompt, response, and model stay together. Follow the interaction with its timing and context intact.
02 / Detect
A contact detail becomes a signal. See what was flagged and the guard decision attached to this interaction.
03 / Investigate
Open the trace, review the event, and export the record. Your team can work from the same evidence.
One interaction, shown from capture through review. Sample content and values.
Built around your application
Send interactions from your existing application with the Python or JavaScript SDK. Keep your model provider and use scoped API keys for each environment.
Read the integration guideapp.ts / npm install @drift_rail/sdk
import { DriftRail } from '@drift_rail/sdk'
const client = new DriftRail({
apiKey: process.env.DRIFTRAIL_API_KEY,
appId: 'support-assistant'
})
// Record the interaction after your model responds.
await client.ingest({
model: modelName,
provider: providerName,
input: { prompt: userMessage },
output: { text: aiResponse }
})
One record. Different questions.
01 Engineering
Start at the interaction. Inspect the prompt, model, and output together, then follow the trace back to its context.
The request is your starting point.
02 Risk & safety
Find the signal in the output. Review sensitive data, policy flags, and changes in behavior. Add detections for the risks your team needs to track.
The detection gives you a direction.
03 Governance
Bring the record into your review process. Export interactions and reports for incident investigations and compliance work across healthcare, finance, and legal teams.
The record supports the review.
Supporting SOC2, HIPAA, GDPR, or EU AI Act reviews?
Explore compliance reportingKeep your team in the loop
Send risk, drift, and volume alerts to your team's channels, with the details needed to open an investigation.
#ai-operations
Example notification
The risk distribution for your support assistant has shifted from its baseline.
Start with one application
Connect an SDK, follow a trace, and give your team a clearer view of what happens in production.
No credit card required.