eval

Claim: one pending worker succeeds, others receive 409. Reports: identical replays succeed; different results conflict. Batches are atomic. External workers can supply testCaseId to associate their own topic with a dataset case on first report. Retry: only terminal runs, concurrent repeats conflict.

put/api/v1/eval/runs/{runId}/topics/{topicId}/result

Request

  • Base URL: https://app.lobehub.com
  • URL: https://app.lobehub.com/api/v1/eval/runs/{runId}/topics/{topicId}/result
  • Auth: HTTP bearer

Path parameters

runIdstring required
topicIdstring required

Request body

testCaseIdstring
correctboolean required
scorenumber required
resultobject
threadIdstring

Response

Successful response

messagestring
successtrue required
timestampstring date-time required

Changes