Skip to content

Commit ebd4e4b

Browse files
fengshao1227claude
andcommitted
docs(skill): noul needs instructions; balance via /v1/usage; items and MCP waits spelled out
From Muse's second report: a noul without instructions is now refused with 400; the balance endpoint was undocumented; items comes with a view (the full result keeps the platform's shape); [0] indexes are refused; over MCP only research waits, image and video tasks are polled. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 4d95b7a commit ebd4e4b

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

‎SKILL.md‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ MCP also has `web_search`, `web_read`, `web_map` and `web_research` for the web.
3434
- Send it as `Authorization: Bearer <key>`. Keys look like `sk-…`; the key works
3535
with or without the `sk-` prefix. Do not add a second prefix.
3636
- Get a key: <https://beatapi.io/dashboard/apikeys>. Search and Inspect need no key.
37+
- Balance and usage: `GET https://api.beatapi.io/v1/usage` with the key returns
38+
`credit_balance` (USD); check it before a large batch.
3739

3840
## 3. Search
3941

@@ -92,18 +94,24 @@ curl -sS -X POST https://api.beatapi.io/v1/capabilities/run \
9294
full result), so you never hunt for it. A trimmed result has `result_ref` and
9395
a `next`: for more, send
9496
`{"reference":"<same reference>","operation":"result","request_id":"<request_id>","fields":["items[].<key>"]}`
95-
with keys you saw in `items` (free within an hour).
97+
with keys you saw in `items` (free within an hour). `items` comes with
98+
`"view":"preview"` or `items[]` fields; without a view the result is the
99+
platform's own shape. Array indexes such as `[0]` are refused: use `[]` and
100+
`max_items`.
96101
- **Async** capabilities (image, video, workflows and `data:web.research`)
97102
return a task `id` and a `next` status call,
98103
`{"reference":"<same reference>","operation":"status","task_id":"<id>"}`.
99104
Repeat it every 5-10 s for media, 10-15 s for research, until `succeeded` or
100-
`failed`; the result is in `data.output`. A music video can also stop at `requires_action`
105+
`failed`; the result is in `data.output`. Over MCP only research waits (up to
106+
45 s) before answering; an image or video task comes back at once and often
107+
takes over a minute, so keep polling its `task_id`. A music video can also stop at `requires_action`
101108
or `storyboard_ready`, which needs the user's choice.
102109
- **Text models** run the same way: `{"reference":"model:<id>","input":{"input":"<prompt>"}}`
103110
returns `output_text`. **Decision model** JEV:
104111
`{"reference":"model:jev-1.13-free","input":{"state":"…","questions":{…}}}` returns
105112
typed answers with probabilities (question types `noul`, `choice`, `score`;
106-
`score` takes at most 10 criteria). To rank many candidates use **one** call:
113+
a `noul` needs `instructions`, the yes/no question; `score` takes
114+
at most 10 criteria). To rank many candidates use **one** call:
107115
a `choice` question listing all of them, or one question per candidate.
108116
Inspect either model for its full schema.
109117
- A run spends the account balance. The user's explicit request authorizes that

‎references/recipes/decide-with-jev.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ Inspect either for the full schema.
4949
- `score`: `criteria` is an array, low → high, **at most 10 items**. Returns
5050
`score` (a continuous index into the array, 0-based), `legend`,
5151
`probabilities`, `confidence`.
52-
- `noul`: yes/no; `criteria` optional (`{"true": "...", "false": "..."}`).
53-
Returns `noul`, the likelihood of yes (0-1).
52+
- `noul`: yes/no; **`instructions` required** (the yes/no question — a noul
53+
without one is refused with 400); `criteria` optional
54+
(`{"true": "...", "false": "..."}`). Returns `noul`, the likelihood of yes (0-1).
5455

5556
## Read the answer
5657

0 commit comments

Comments
 (0)