跳转到主要内容
POST
TypeSafe System One

题型说明

state 与 instructions 可以是字符串、对象或数组。questions 的键名会原样出现在 answers 中。 接入指南:TypeSafe Jev API。

请求头

Authorization
string
必填

Bearer API key, e.g. Bearer sk-....

示例:

"Bearer sk-..."

TypeSafe-Danger-Zone-Images
enum<string>

预览功能 — 允许在 state / instructions / criteria 中放图片。

可用选项:
true
TypeSafe-Danger-Zone-Long-Context
enum<string>

预览功能 — 上下文上限提升至 262k tokens(更慢、准确度更低)。

可用选项:
true

请求体

application/json
model
string
必填

Model id. Use jev-1.14.0, or aliases jev-preview / jev-latest.

示例:

"jev-1.14.0"

state
必填

Shared content to judge (string, object, or array).

示例:

"Help! My payouts have been failing for 3 days."

questions
object
必填

Map of question id → question. Keys are echoed in answers.

assets
object

Preview — image assets keyed by UUID/reference string used inside state / instructions / criteria. Requires header TypeSafe-Danger-Zone-Images: true.

响应

各题答案

model
string
示例:

"jev-1.14.0"

answers
object
usage
object