Which model does Sume Agent Completions run? Only sume-agent
The model field on POST /v1/agent/completions accepts only sume-agent. Omit it for the same agent; any other value returns 400 invalid_request.

The model field on POST /v1/agent/completions accepts only sume-agent, and omitting it gives you the same agent. Any other value returns 400 invalid_request, so you cannot pick a different model per call.
Everything here is from Agent Completions, read 2026-09-30.
What does the receipt show?
The 202 receipt reports model: "sume-agent" and object: "agent.run", with a status of queued at first. The docs describe the runtime as the same one behind the Agents chat UI: sandbox, tools, MCP bridge and media generation.
What does the request accept?
| Field | Required | Notes |
|---|---|---|
instruction or messages | One of | Never both |
generation_spend_cap_usd | Yes | No default; omitting it fails with 400 invalid_request |
model | No | Only sume-agent |
input | No | Caller data, treated as data |
output_schema | No | Bind output to your schema |
communication.webhook_url | No | Public HTTPS URL for the terminal event |
What varies per call instead of the model?
Not on this endpoint. The task itself varies per call: you send an instruction or messages and a spend cap, and the Agent runs with its tools and media generation.
How do I set a minimal request?
Send the task and a spend cap. The cap is the per-run ceiling for generation spend, and the docs suggest sizing it against the metered rates on the API pricing page.
curl -sS -X POST "https://api.sume.com/v1/agent/completions" \
-H "Authorization: Bearer $SUME_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: model-check-001" \
-d '{
"model": "sume-agent",
"instruction": "Write a two-line product teaser.",
"generation_spend_cap_usd": 1
}'Which scopes and keys can call it?
The key needs agent_completions:write to create a completion or cancel a run, and agent_completions:read to read and list runs. An older key fails every request with 403 insufficient_scope, and you create a new key and rotate to it. Service-account keys cannot create completions. Unknown or foreign run ids return 404 agent_run_not_found.
Sources
Related posts
More in Developers
- sume --agent --json: what it redacts before you paste output
Sume CLI --agent mode redacts or summarizes URL-like and account fields where supported. What to still strip before pasting output into a ticket or chat.
- Asset id or public HTTPS URL? What Sume inputs accept
Sume generation fields take public HTTPS URLs directly. Localhost, private, non-HTTPS, signed URLs and wrong content types are rejected. When an asset id helps.
- Sume assets from the terminal: upload-url, complete, download
The Sume CLI registers an asset in three write-gated steps and reads it back with download-url or download. Flags, the confirm gate and what stays private.
- sume/auto video defaults: 720p, 8 seconds, 3 to 10 s at 16:9 or 9:16
Leave resolution and duration off a sume/auto video request and Sume uses 720p and 8 seconds. The Auto envelope is 3 to 10 seconds at 16:9 or 9:16.
Written by Sume