Sume API glossary: Format run, spend cap, idempotency key

Sume API terms in one or two sentences each: Format, run, job, spend cap, idempotency key, wallet, agent fee, webhook, artifact, and more, with links.

6 min readSume
All posts

In the Sume API, a Format run is one execution of a saved recipe: one fresh sandbox, one agent turn, one receipt. A spend cap is the most one run may spend on generation, and an idempotency key is a header that turns a retried create into a replay of the original instead of a second, paid run.

Each term gets one or two sentences from Sume's docs, read on 2026-09-27, plus a link to the post that covers it. For the product map, start with Sume basics.

What are Formats, runs, and jobs?

Runs execute the agent; jobs are single model calls.

From the Format API, Agent Completions, and Scheduled docs, read 2026-09-27.
TermWhat it meansRead more
FormatA saved production recipe: a SKILL.md body plus reference files, called by handle and slug.What is a Sume Format?
Format runOne fresh sandbox, one agent turn, one receipt (arun_…). A run that cannot finish comes back failed.Format run lifecycle
Formats by SumeReady-made Formats at the reserved sume handle; the run and its spend belong to the calling key.The Sume Format catalog
Bulk runUp to 100 Format runs queued in one request, with a concurrency window of 1–16.Format bulk runs
Agent CompletionThe agent on an ad-hoc task you send with every call. It stores nothing, and generation_spend_cap_usd is required.Agent Completions
ScheduledA saved agent automation that runs on a cadence; its API namespace is /v1/actions.Scheduled agent runs
Generation jobOne model invocation, read back from /v1/jobs/{id}; runs are a separate resource.Sume job vs run

What do spend cap, wallet, and agent fee mean?

What a call may cost, and when it is refused.

From Create a run, Core concepts, Generation admission, and Pricing, read 2026-09-27.
TermWhat it meansRead more
Spend capgeneration_spend_cap_usd: a run's generation ceiling, up to the $500 platform maximum. A Format that never set one reports $400.Spend caps for AI agents
WalletOne balance: video generation, the Sume Agent, Formats, and the API all draw from it.How Sume pricing works
Agent feeCharged on top of the model amount: usage is billed at each model's published rate plus a 5.5% agent fee by default.The Sume agent fee
Reserve, capture, refundPaid generation reserves an estimate at submit, captures it on success, and refunds it on failure or cancellation before capture.Do failed jobs cost money?
debited_usd_microsWhat the wallet actually deducted for a run, in USD micros (1,000,000 is $1.00).What one run cost
ConcurrencyHow many paid generation jobs can be processing at once, set by plan. Extra jobs wait as queued; a full queue is 429 queue_full.Concurrency and queueing
Rate limitA per-minute request budget per key, with separate read and write buckets. Over it is 429 rate_limited.Errors and rate limits

What is an idempotency key, and which request terms matter?

How a request is retried, reported, and traced.

From Create a run, Runs and results, Jobs and results, Webhooks, Image API, and Errors and spend, read 2026-09-27.
TermWhat it meansRead more
Idempotency keyThe Idempotency-Key header. The same key and body returns the original run; a different body is 409 idempotency_conflict.Idempotency keys
ReceiptThe run object a create returns: its status, plus status_url, result_url, events_url, and cancel_url to follow.Sume API status values
WebhookOne signed POST when a run completes or fails, format.run.terminal for Formats. Jobs send job.completed, job.failed, or job.canceled.Signed webhooks
modeHow a job submit reports back: async, sync or subscribe (a wait of at most 30 seconds), or webhook. Omitted, it is async, except on POST /v1/images, which defaults to sync.Sync vs async
request_idIts value depends on where it appears. In an error body it is the req_… id to quote to support, also sent as the x-sume-request-id header that every response carries.request_id vs job_id vs run_id

Which terms describe output and access?

What comes back, and who may ask for it.

From Runs and results, Structured output, Video generation, Authentication, and Sume basics, read 2026-09-27.
TermWhat it meansRead more
ArtifactA durable file a run generated, on a media.sume.com URL that does not expire and is public to anyone holding it.Do video URLs expire?
primary_output_urlThe one thing to show from a run. It is null unless the run completed.Embed AI video in your product
output_schemaA JSON Schema, inside a strict subset, that shapes a run's output. A schema outside it is 400 output_schema_invalid.Output schema templates
sume/autoA model value that lets Sume pick the video model family. Responses never disclose which family ran.OpenRouter-compatible video API
API key and scopesWorkspace-scoped keys, sent server-side. Scopes such as formats:read and formats:write are fixed when the key is created.How Sume API keys work
WorkspaceWhere keys and spend resolve. A team Format needs a key created in that team's workspace.Share a Format with another workspace

Sources

Related posts

More in Developers

All Developers posts

Written by Sume