meta { name: Filter by Status - Pending type: http seq: 3 } docs { Filter queue items by status - show only pending items. **Endpoint**: GET /queue/items?status=pending **Auth**: Required (Bearer token) ## Query Parameters | Parameter | Type | Required | Description | |-----------|------|-----------|-------------| | status | string | Yes | Status filter: pending, processing, completed, failed | ## Response Fields | Field | Type | Description | |-------|------|-------------| | items | array | List of queue items with pending status | | total | int | Total matching items | ## Example Request ``` GET /queue/items?status=pending ``` ## Example Response ```json { "items": [...], "total": 15 } ``` ## Error Responses | Code | Description | |------|-------------| | 401 | Unauthorized | | 500 | Internal server error | ## Notes - Only returns items with the specified status } get { url: {{base_url}}/queue/items?status=pending body: none auth: inherit } token: {{jwt_token}} } tests { test("status must be 200", function() { expect(res.status).to.eql(200); }); } settings { encodeUrl: true timeout: 0 }