Estimate a signal set preview
Prices a preview of one version over an agent’s recent completed traces without calling a model: the traces it would read, its expected cost and the projected monthly cost. When the response carries an estimateId, the preview must send it, and it then evaluates exactly the traces this estimate counted, selected as of tracesThrough.
Authentication
AuthorizationBearer
API key or Clerk session token
Path parameters
id
versionNumber
Request
This endpoint expects an object.
agentId
Price a preview over this agent’s most recent completed traces.
limit
Traces to read, default 20, at most 50.
Response
Estimate
costUsd
What the preview is expected to spend.
monthlyTraceVolume
projectedMonthlyUsd
Mean unit cost times the agent’s last-30-day trace volume.
tracesThrough
The traces counted are the newest ones started at or before this time.
tracesToRead
Completed traces the preview would evaluate.
estimateExpiresAt
When estimateId stops being accepted, 24 hours after it is issued.
estimateId
When present, the preview must send this id. It previews once, over only the traces this estimate counted.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error