Skip to main content
GET
JavaScript

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required
Example:

"1212121"

Response

Successful operation

id
string
required
promptId
string
required
appendedMessages
object[]
required

The messages to append to the completion messages when running the evaluation.

variables
object
required

The template variables added to the prompt when executing the prompt.

weight
number
default:1

How heavily to weigh the evaluation within the prompt.

Required range: 0 <= x <= 1
threshold
number
default:1

What percentage of assertions must pass for the evaluation to pass.

Required range: 0 <= x <= 1