webdev_http_status_reference
Look up HTTP status codes by number, name, or category to understand their meaning, typical use cases, and request/response examples. Get a full table or narrow results with search filters.
Instructions
HTTP Status Code Reference. Look up HTTP response status codes — number, name, category (1xx Informational through 5xx Server Error), meaning, RFC, typical use cases, and a request/response example. Pass no body to get the full table of all codes, or narrow it: code selects one status, category filters to one class, search matches code/name/ description/use-case text. Pure offline reference, read-only, contacts no network, and is rate-limited. Returns the matching codes plus a stats-by-category breakdown and a most-common-codes list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Case-insensitive text filter matched against code, name, description, and use cases (e.g. "redirect", "auth"). Alias: query. | |
| query | No | Alias for search; used when search is absent. | |
| category | No | Restrict results to one status class; "all" returns every category. | all |
| code | No | Specific status code to highlight as selectedCode; defaults to 200 when omitted. Does not filter the codes list. | |
| includeExamples | No | Accepted for compatibility; example/useCases fields are always present in each code object. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | Always true on a successful lookup. | |
| search | No | The search text that was applied, echoed back. | |
| category | No | The category filter that was applied (all if none). | |
| total | No | Total number of status codes in the reference dataset (unfiltered). | |
| codes | No | Matching status codes, ascending by number. | |
| selectedCode | No | The single highlighted code object (same shape as a codes entry); null if the requested code is unknown. | |
| stats | No | Count of codes per category, keyed 1xx..5xx. | |
| commonCodes | No | Up to eight of the most frequently encountered codes (same object shape as codes). |