MiniH3
EnglishTools

Series merge roster and report

中文

POSThttps://api.minih3.dev/v1/tools/breakdown-merge-v1

This call is billed to your account. Price: add 每合并进一集 $0.01;report 每覆盖一集 $0.02 / add $0.01 per episode merged; report $0.02 per episode covered

Purpose: merge finished episode breakdowns of one series into a cast roster (add), or write the series report from it (report). Text only, never a video.
add: breakdown_id (with optional episode) or breakdown_ids (1 to 10, episodes in the same order); from the second add on, roster_id (the latest roster rc_…). Each add gives a new roster_id: always continue from the newest one. accept_partial merges incomplete episodes; replace merges an episode again.
report: roster_id, episodes (the roster's episode count), report_language en or zh, optional last_episode (the last planned episode, so skipped final episodes are reported missing).
Billing: add is charged once per episode added (bill id minih3-tool-breakdown-merge-add-v1; episodes merged by rules only are free); report once per episode covered, only for a full report (minih3-tool-breakdown-merge-report-v1). Prices: add $0.01 per episode merged, report $0.02 per episode covered. Every error is answered before any job and is not charged.
Usage: send "async": true (the default the series offers); you get an mg_ job id, poll it every 10 seconds. 409 merge_in_progress names an add that is still open: poll that job, never add again. Rosters and reports are kept 24 hours; keep a copy with records export.

Parameters

NameInTypeRequiredDescription
X-MiniH3-Skill-Versionheaderstringno

The skill-pack version you use (in SKILL.md and the pack's VERSION file, plus one on every upgrade; the current one is 13). Compared as numbers, segment by segment (10 is newer than 9, 2 equals 2.0). When it is missing, not numeric or older than the current pack, the answer adds the X-MiniH3-Notice header, and a 2xx JSON answer of /v1/tools/* also adds the minih3_notice field; the result is unchanged, never an error, never an extra charge.

actionbodystringyes-
addreport
roster_idbodystringno

The latest roster rc_…; required for report

breakdown_idbodystringno

add:一集 bi_… / add: one episode bi_…

breakdown_idsbodyarray<string>no

add: several episodes

episodebodyintegerno

with breakdown_id

episodesbodyinteger | array<integer>no

add: episode numbers in breakdown_ids order; report: the roster's episode count

last_episodebodyintegerno-
accept_partialbodybooleanno-
replacebodybooleanno-
report_languagebodystringno-
enzh
asyncbodybooleanno-

Code samples

curl -X POST "https://api.minih3.dev/v1/tools/breakdown-merge-v1" \
  -H "Authorization: Bearer $MINIH3_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "action": "add",
  "breakdown_ids": [
    "bi_…",
    "bi_…"
  ],
  "episodes": [
    1,
    2
  ],
  "async": true
}'

Try it

Kept in this browser tab only (sessionStorage) and sent straight to api.minih3.dev; it never reaches this site.

Enter your key to send.

Responses

200

The roster (roster_id) or the report (report_id)

202

Queued (mg_)

400

Error

404

Error

409

Error

429

Error

502

Error