Whole-series breakdown workflow
POSThttps://api.minih3.dev/v1/tools/breakdown-series-v1
Purpose: the whole-series breakdown workflow: it plans the calls, you make them. The server keeps no state; progress lives in the signed sheet. Send the newest sheet back, unchanged, every time.
Flow: plan (episodes [{n, link, seconds?}], contents, optional report_language) returns a sheet and a quote at base prices (your group ratio applies; prices on /catalog; an episode without seconds counts as 1 minute until its length is known, the quote says provisional, and if the total goes up a new approve_quote is needed) → show the quote → approve_quote (amount = the quote total the user agreed to) → loop: next returns the ready-made calls (fetch, breakdown-v1, breakdown-merge-v1, records export) and the questions for the user; make one call, then record its result, until done is true. resume rechecks after a break.
Rules: after a 202, record submitted (tool, job_id) before anything else. Right after a 200, record may answer 409 not_delivered_yet for a few seconds: wait, poll the job again and record again; never submit it again.
Billing: the workflow itself is free; each call it lists is billed as that call.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
X-MiniH3-Skill-Version | header | string | no | The skill-pack version you use (in SKILL.md and the pack's VERSION file, plus one on every upgrade; the current one is |
action | body | string | yes | -planapprove_quotenextresumerecord |
sheet | body | object | no | Required except for plan; the newest sheet, unchanged |
episodes | body | array<object> | no | - |
contents | body | array<string> | no | - |
report_language | body | string | no | -enzh |
amount | body | number | no | approve_quote |
event | body | string | no | -submittedfetchedfetch_failedpulledpull_failedaccept_partialrerunskiprelinkmergedmerge_failedreportreport_failedrestart_roster |
n | body | integer | string | no | 集号,或 roster / report |
tool | body | string | no | -breakdown-v1breakdown-merge-v1 |
job_id | body | string | no | - |
media_url | body | string | no | - |
seconds | body | number | no | - |
expires_at | body | string | no | - |
breakdown_id | body | string | no | - |
roster_id | body | string | no | - |
record_id | body | string | no | - |
code | body | string | no | - |
reason | body | string | no | - |
link | body | string | no | - |
Code samples
curl -X POST "https://api.minih3.dev/v1/tools/breakdown-series-v1" \
-H "Authorization: Bearer $MINIH3_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action": "plan",
"episodes": [
{
"n": 1,
"link": "https://www.tiktok.com/@a/video/1"
},
{
"n": 2,
"link": "https://www.tiktok.com/@a/video/2"
}
],
"contents": [
"story",
"asset"
],
"report_language": "en"
}'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 new sheet, plus quote, calls, asks or done
400
Error
404
Error
409
Error
503
Error