Skip to main content
GET
/
filters
/
dates
Get available date filter presets (public)
curl --request GET \
  --url http://localhost/mogl/mogl-compliance-backend/api/compliance/filters/dates \
  --header 'Authorization: Bearer <token>'
{
  "status": true,
  "message": "Successfully retrieved filters.",
  "data": {
    "all-time": {
      "start_date": null,
      "end_date": null
    },
    "last-30-days": {
      "start_date": "2026-02-16",
      "end_date": "2026-03-18"
    },
    "last-week": {
      "start_date": "2026-03-09",
      "end_date": "2026-03-15"
    },
    "this-week": {
      "start_date": "2026-03-16",
      "end_date": "2026-03-22"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Response

Date filter options

status
boolean
Example:

true

message
string
Example:

"Successfully retrieved filters."

data
object