Why send the prompt with the answer (evaluate vs score)
Use /api/evaluate with the prompt when you have it. The prompt tells ClearRun what the answer was supposed to address. Use /api/score only when you have the answer alone.
Last updated
Compare
/api/evaluate | /api/score | |
|---|---|---|
| Takes the prompt | Yes, optional | No |
| Text length | 10 to 100,000 characters | 10 to 100,000 characters |
| Extra fields | modelId, sessionId, workspaceId | modelId, workspaceId |
In the tools
- CLI:
clearrun scoreuses/api/score. - SDK:
client.evaluate({ prompt, responseText }). - MCP:
clearrun_evaluate.