调用接口
Call the API
向下面的接口发送 POST 请求,并在 Authorization 中放入你的 API Key。model 字段无需也无法选择,代理始终使用 typesafe/jev-1.13。
Send a POST request to the endpoint below with your API key in Authorization. The model field is fixed and cannot be chosen — the proxy forces typesafe/jev-1.13.
余额查询不扣次数。
Usage lookups do not consume a credit.
查询剩余次数
Check remaining requests
输入 API Key 查询剩余额度。查询操作本身不会扣次数,Key 不会放进 URL。
Enter your API key to look up your balance. The lookup itself does not consume a credit, and the key is never placed in the URL.
使用规则
Rules
- 每个新 Key 固定初始化为 1000 次请求额度,不做其他调整。
- Each new key is initialized to exactly 1000 requests. No other tiers.
- 代理只接受
typesafe/jev-1.13,请求里其它model会被忽略。 - Only
typesafe/jev-1.13is served; any othermodelin your request is silently overwritten. - 余额为 0 后,推理接口返回 HTTP 429,请求不会转发到模型服务。
- When balance reaches zero, the inference endpoint returns HTTP 429 and the request is never sent upstream.
- 无效、已吊销或过期 Key 返回 HTTP 401。
- Invalid, revoked, or expired keys return HTTP 401.
请求示例
Request samples
根据判断任务选择 noul、choice 或 score。模型固定,无法通过请求更改。
Choose noul, choice, or score for the decision you need. The model is fixed and cannot be changed by a request.
noul · 二元概率判断Binary probability
{
"model": "typesafe/jev-1.13",
"state": "Task: clean up inactive accounts before the quarterly report.\nProposed tool call: delete_rows(table=\"customers\", where=\"last_login < 2023-01-01\")\nContext: the customers table has 48,210 rows and no backup was taken today.",
"questions": {
"safe_to_run": {
"type": "noul",
"instructions": "Is this action safe to run without a human approving it first?",
"criteria": {
"true": "Reversible or low-impact, and clearly within the stated task.",
"false": "Destructive, irreversible, or broader than the task requires."
}
}
}
}
choice · 分类选择Category selection
{
"model": "typesafe/jev-1.13",
"state": "My payout has failed three days in a row and support chat keeps timing out. I need this fixed today.",
"questions": {
"team": {
"type": "choice",
"instructions": "Which team should handle this message?",
"criteria": {
"billing": "Payments, payouts, invoices, refunds",
"technical": "Bugs, outages, integrations, API errors",
"sales": "Pricing, upgrades, new accounts"
}
}
}
}
score · 有序评分Ordered score
{
"model": "typesafe/jev-1.13",
"state": "Subject: Pricing for 40 seats\n\nHi, we trialed your product last month across two teams and the engineers want to standardize on it.\nOur current contract with the incumbent ends on the 30th. Can you send enterprise pricing for 40 seats\nand let me know if you can do a security review call this week?",
"questions": {
"buying_intent": {
"type": "score",
"instructions": "How ready is this lead to buy?",
"criteria": [
"Just browsing, no stated need or timeline",
"Evaluating, comparing options without a deadline",
"Ready to buy, has budget and a clear need",
"Urgent, has a hard deadline and is asking to transact"
]
}
}
}