Sume GET /v1/jobs: a misspelled filter returns 400, not all jobs

Sume rejects an unrecognized query parameter on GET /v1/jobs with 400 unknown_parameter, so a typo cannot return an unfiltered page. Valid filters listed.

4 min readSume
All posts

On GET /v1/jobs, an unrecognized query parameter returns 400 unknown_parameter and not a silently unfiltered page. So ?state=processing fails loudly, where it could have returned every job and sent your sweep after the wrong set. The filter that exists is status.

The query parameters

These are the parameters in the SDK's generated types for the list call.

GET /v1/jobs query (read 2026-10-06)
ParameterValues
statusqueued, processing, completed, failed, canceled
typeA job type string
limitUp to 100 per page
starting_afterThe next_cursor from the previous page
scope, thread_id, run_idNarrow by thread or run; they never widen what a key can read

A correct call

curl "https://api.sume.com/v1/jobs?status=processing&limit=50" \
  -H "Authorization: Bearer $SUME_API_KEY"

Why this is good for migrations

A ported client often carries over the old vendor's filter names. Failing on an unknown name is safer than a page that looks right and is wrong. Treat a 400 here as a bug in your request, not as something to retry.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume