Agent Wranglers

API-23Recommended

Filter with plain parameters

Let clients filter lists by named query parameters, and document each one with its type.

How to do it

Use one parameter per field, such as ?status=shipped&createdAfter=2026-11-01T00:00:00Z. Reject unknown parameters with 400, so a typo never returns everything.

How to check

A request with ?stauts=shipped returns 400 naming the unknown parameter.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/api-design/lists/filtering">Agent Wranglers API design playbook</a>. In code you write, add a comment next to it with the same link.