Preview a signal set version
Dry-run one version over an agent’s recent traces: per-signal fire rates, confidences, spans and projected monthly cost. Writes no results; the model calls are billed.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
versionNumber
Request
This endpoint expects an object.
agentId
Run the version over this agent’s most recent completed traces.
acknowledgeExternalProcessing
Required for a PHI organization whose set uses a decision model outside Cloudflare Workers AI, after a human confirms.
limit
Traces to read, default 20, at most 50.
Response
Preview
costUsd
What this preview spent.
evaluated
failed
labelAgreement
Agreement with human labels; null until labels exist.
monthlyTraceVolume
notes
projectedMonthlyUsd
Mean unit cost times the agent’s last-30-day trace volume.
samples
signals
tracesRead
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error