Price an unsaved evaluation
The same price for an evaluation you have not saved yet. Send the sizes of what the form holds, never the text: criteriaBytes, optionsBytes and labelsBytes (UTF-8 bytes; an option counts its value, its description and 8 bytes of punctuation, a rating label its text and 40 bytes), the model, and agentId for that agent's judgement limit. The ceiling counts them, so a longer text or more options raise quote.maxUsd.
Requires an API key with the workspace:read scope.
apiKeyAuthorizationBearer <token>A secret API key from the dashboard (Developers → API keys): vl_live_…, or vl_test_… for test mode. Each operation says which scope the key needs.
model?stringThe judge model. Default: gpt-4o-mini.
1 <= length <= 128agentId?stringThe agent the evaluation applies to; its judgement limit is used.
uuidcriteriaBytes?|The UTF-8 byte size of what the judge looks for (at most 4000 characters, so 16000 bytes).
0 <= value <= 16000optionsBytes?|The size of the options as the judge prompt writes them, at most 12 options.
0 <= value <= 22368labelsBytes?|The size of the two rating labels as the judge prompt writes them.
0 <= value <= 1680sampleRate?numberThe share of subjects to judge, above 0 up to 1. Default: 1.
0 < value <= 1The quote for an evaluation that is not saved yet
application/json- response
quote*curl "https://api.vlayers.ai/v1/evaluations/scoring/quote?model=gpt-4o-mini&criteriaBytes=120&agentId=$AGENT_ID" \ -H "Authorization: Bearer $VOICELAYER_API_KEY"{ "quote": { "maxUsd": 0.0123, "typicalUsd": 0.0031, "maxScoresPerConversation": 3, "sampleRate": 1, "outcomeIsFree": true }}