Skip to main content
GET
/
requests
List Requests
curl --request GET \
  --url https://v1.api.flux-os.com/requests \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>'
{
  "data": [
    {
      "organization": "<unknown>",
      "method": "G",
      "endpoint": "<string>",
      "id": "<string>",
      "status_code": "200",
      "status": "<unknown>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "ip_address": null,
      "user_agent": null,
      "duration_ms": null
    }
  ],
  "meta": {
    "current_page": 123,
    "total_pages": 123,
    "total_items": 123,
    "per_page": 123
  }
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Query Parameters

page
integer
default:1

Page number for pagination

Required range: x >= 1
method
enum<string>

Filter by request method

Available options:
GET,
POST,
PUT,
DELETE,
PATCH
status_code
enum<integer>

Filter by status code

Available options:
200,
201,
202,
204,
206,
300,
301,
302,
303,
304,
307,
308,
400,
401,
403,
404,
405,
406,
408,
409,
410,
411,
412,
413,
414,
415,
416,
417,
422,
429,
500,
501,
502,
503,
504,
505

Response

A paginated list of requests.

data
object[]
meta
object