Skip to main content

Overview

A Reflex is a small, fast text classifier that puts a label on a turn in ~90ms. Pass a default Reflex name (jailbreak, guardrail, leaked-thinking, stuck-in-a-loop, incomplete-thought, user-frustrated, ambiguity, difficulty, domain) or a model you trained in the model field. The playground above is POST /v1/reflex/predict — pass models (an array) instead of model to run several classifiers over one shared prefill.

Full endpoint surface

Every endpoint below is in the OpenAPI spec. Try predict in the playground above; the rest carry copy-paste examples in the guides linked under each table.

Classify

Guides: Predict, Batch classification.

Train

Guide: Train a Custom Reflex.

Reflexes overview

What a Reflex is, the default classifiers, and realtime /predict.

Train a Custom Reflex

Bring labeled examples or synthesize a dataset; get a classifier in ~30s.