Skip to content

Open Eval (v1)

OpenCloud v1 reference for Open Eval.

Base URL: https://apis.roblox.com

MethodPathName
POST/open-eval-api/v1/evalpostOpenEvalApiV1Eval
GET/open-eval-api/v1/eval-records/:jobIdgetOpenEvalApiV1EvalRecordsJobId

POST /open-eval-api/v1/eval

BETA Performs the evaluation of the Lua script. Engine: Not available in-engine

Scopes: studio-evaluations:create

Usage
import { fetchApi } from 'rozod';
import { postOpenEvalApiV1Eval } from 'rozod/lib/opencloud/v1/open-eval';
const data = await fetchApi(postOpenEvalApiV1Eval, {
body: { /* ... */ }
});
FieldTypeDescription
namestring
descriptionstring | null | undefined
use_reference_modeboolean | undefined
input_scriptstring
custom_llm_infoobject | undefinedSee below

custom_llm_info fields:

FieldTypeDescription
namestring
model_versionstring | null | undefined
urlstring
api_keystring | null | undefined
FieldTypeDescription
job_idstring | null
status_codenumber
errorstring | null

GET /open-eval-api/v1/eval-records/:jobId

BETA Gets the evaluation record by job ID. Engine: Not available in-engine

Scopes: studio-evaluations:create

Usage
import { fetchApi } from 'rozod';
import { getOpenEvalApiV1EvalRecordsJobId } from 'rozod/lib/opencloud/v1/open-eval';
const data = await fetchApi(getOpenEvalApiV1EvalRecordsJobId, {
jobId: /* string */
});
NameTypeRequiredDescription
jobIdstringYesThe job ID of the evaluation record.
FieldTypeDescription
idnumber | undefined
namestring | null
userobject | undefinedSee below
useReferenceModestring | null | undefined
descriptionstring | null | undefined
jobIdstring
inputScriptstring | null
jobStatusstring | null | undefined
resultsobject[] | null | undefinedSee below
fullLogsstring | null | undefined
evalSucceededstring | null | undefined
createUtcstring | null | undefined

user fields:

FieldTypeDescription
idstring | null

results[] item fields:

FieldTypeDescription
modestring | null
resultobjectSee below

result fields:

FieldTypeDescription
passesnumber
failsnumber
checksnumber
warningstring | null
errorstring | null
interruptionsobject[] | nullSee below

interruptions[] item fields:

FieldTypeDescription
checknumber
typestring | null