Jev 1.13 · 模型固定 · 原生透传 Jev 1.13 · Fixed model · Native passthrough

Jev API Gateway

Jev API Gateway

使用你的 API Key 调用 固定型号的 Jev 1.13。每个 Key 包含 1000 次请求额度;每次使用有效 Key 调用推理接口都会消耗 1 次,无论请求结果如何。

Call a single fixed model of Jev 1.13 with your API key. Each key ships with 1000 requests; every authenticated inference call consumes 1 credit, regardless of outcome.

1000 1000 每个 Key 初始请求次数 Requests per key on issue
固定 Fixed 仅 typesafe/jev-1.13 一个模型 Only typesafe/jev-1.13 is served
Bearer Bearer Authorization API Key 鉴权 API-key authentication

调用接口

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.

POST /api/alpha/decisions

余额查询不扣次数。

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.

GET /api/key/usage

使用规则

Rules

  • 每个新 Key 固定初始化为 1000 次请求额度,不做其他调整。
  • Each new key is initialized to exactly 1000 requests. No other tiers.
  • 代理只接受 typesafe/jev-1.13,请求里其它 model 会被忽略。
  • Only typesafe/jev-1.13 is served; any other model in 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"
      ]
    }
  }
}