Skip to content

Evals, prompts and Playground

Last updated: 2026-11-27T01:31:49-03:00 (UTC-3)

Switching models or changing a prompt without measuring is a gamble. The gateway includes the full evaluation cycle: datasets, experiments, judges and human annotation on real traffic. Alongside it come versioned prompts and a Playground for testing.

With evaluation_results on, every score is an evaluation result attached to the span, trace or session it judged, shown on the request log and the trace, and exported over OTLP. With evaluation_tracing on, each judge run is its own trace linked to what it judged, request log rows say whether a request came from your application, a judge or an experiment, evaluators report health and 7-day cost, and Cost shows evaluation spend as its own line.

With evaluation_metrics on, every result is also a metric: Prometheus and OTLP series with a pass-rate formula, evaluation metrics and dimensions in the analytics query, and a Quality tab on the Usage screen. With evaluation_monitors on, a team sets monitors over an evaluator’s pass rate, result count, judge spend, a span query or an evaluator’s health, with a backtest, and is told through its alert channels when one crosses its threshold and when it recovers.

Feature What it does Flag Learn more
Evaluators An evaluator owns where it runs: span, trace or session scope with idle windows, a query-language filter, sampling and status; every save is a version with a readable spec, compare and restore; the editor tests on real traffic and shows the weekly volume and cost before Publish; a daily cost ceiling evaluators Evaluators
Code, templates, runs on chosen traffic JavaScript code evaluators in the extension sandbox with no host operation, a library of more than 60 judges, decision models, code and rules with fixtures, and Evaluate selection, a query over past traffic or a run on one trace, with progress and cancel code_evaluators Evaluators
Datasets Versioned inputs and expected outputs, imported from CSV or from real captures evals Evals
Experiments Runs a dataset against a model or prompt and compares runs side by side, with charts evals Evals
Experiments as traces Each item one trace with its judges nested, dataset version history with diff, notes and restore, a run on an older version, Add to dataset from a span, judging a past run again with an estimate, the experiment_finished alert and the experiments an alias serves experiment_traces Experiments as traces
Remote experiments The team’s own service executes the items, signed, behind the outbound URL guard; outputs answered or posted back, judged like any other remote_experiments Remote experiments
Comparison summaries A short summary of compared runs through the team’s chosen alias, estimated first, never stored experiment_summaries Comparison summaries
Regression suites Assertions (evaluators or sentences) over a dataset with trials, a pass threshold and a minimum pass rate, and a CI verdict with exit codes regression_suites Regression suites
Agent evaluations Tasks × targets × trials run on the client (Python runner and CLI; model aliases, the Claude Agent SDK, the OpenAI Agents SDK) with predicate, judge and command checks; each trial one trace; a scorecard with pass rate, pass@k, cost per successful task from the ledger, latency and failure classes agent_evaluations Agent evaluations
Evaluators LLM judge with templates, code evaluators and a decision-model judge evals Evals
Scores Numeric, categorical and boolean scores, also through the API (POST /v1/scores) evals Evals
Real traffic Captures samples of real requests (encrypted, with retention) and judges them with evaluators filtered in the query language eval_capture Evals
One capture policy Rules judge chat, Messages, Responses and generateContent requests, streams included, from the team’s content capture: the request after guardrail masking and the answer, never the request as received content_capture_evaluation Content capture
Reasoning and images for judges An evaluator can opt in to read the model’s reasoning (include_reasoning), kept apart from the answer; a multimodal judge gets captured images back from the media store content_capture_reasoning, content_capture_media Content capture
Annotation queues Human reviewers score, correct the output and comment, with mentions and Markdown eval_capture Evals
Human review A queue takes traces and spans and shows each item as the trace view does, with the judges’ results; several people review one item under their own locks, and the item carries every reviewer’s value, the final value of each field and whether they differed; item assignment, required fields, drafts, export, and calibration of each judge against the reviewers review_multi_annotator Human review
Review automations A rule in the query language fills a review queue or a dataset from live traffic, forward only, with a sample rate and caps review_automations Human review
Topics Traces, sessions and agent runs clustered into named topics per facet (Intent, Sentiment, Outcome, Issues, Signals) on your own models and keys: live maps and snapshots, treemap, scatter and table with spend, latency, error rate and pass rate per topic, the topic term in the trace explorer and in evaluator rules, a dataset or an evaluator from a topic, an MCP server and gateway topics commands topics, topics_custom_facets Topics
Findings Topic changes and model-free cost and reliability detectors (prompts never cached, large tool results, verbose answers, recurring tool errors, retry loops, wasted spend) raised as alerts with their impact and evidence topics_findings Topics
Public API Datasets and experiments from the SDK or from CI (/v1/datasets, /v1/dataset-runs) evals_public_api Evals
Evaluators and results from code Read results (GET /v1/evaluations) and keep evaluators as code (PUT /v1/evaluators/{name}, publish) with scoped keys; run a dataset with local evaluators from the Python client public_trace_api Public trace API
Result retention Evaluation results and dataset runs follow the metadata retention window; annotations and datasets are kept evaluation_result_retention Public trace API
Feature What it does Flag Learn more
Versioned prompts Templates with immutable revisions, explicit publishing and local rendering prompt_registry, prompt_management Prompts
Mandatory system prompt Applies a static published system-only revision to an owning team’s Chat alias before guardrails and quotas system_prompt System prompt
Per-team read access Each team reads its own prompts prompt_scoped_read Prompts
Playground Chat with streaming, image input, media modes (image, video, speech, transcription) and comparison between models playground, playground_streaming, playground_images Playground
From log to Playground Opens a captured request in the Playground to reproduce it eval_capture Evals

m7gtwcontact@m7gtw.com