Skip to main content
For the complete documentation index, see llms.txt
The Luminous API supports flexible data filtering on GET endpoints through URL query parameters, allowing you to precisely control what data is returned in your API responses. By applying filters, you can narrow down results based on specific field values, date ranges, text content, and more. This filtering system helps reduce unnecessary data transfer and processing by retrieving only the records you need. The filters use an intuitive syntax where operators are specified in square brackets (e.g., field[operator]=value) and can be combined to create complex queries. Whether you need to find records within a date range, match specific text patterns, or compare numeric values, these filtering capabilities help you build efficient and targeted API requests.

Available Operators

By default, if no operator is specified, the eq operator is used. field[eq]=value is equivalent to field=value. Filter values are case-sensitive. Fields can be filtered using operators in square brackets: field[operator]=value
  • eq: Equals (default if no operator specified)
  • neq: Not equals
  • gt: Greater than
  • gte: Greater than or equal
  • lt: Less than
  • lte: Less than or equal
  • set: Is set (is not null and not an empty string)
  • notset: Is not set (null or empty string)
  • contains: Contains string (case-sensitive)
  • notcontains: Does not contain string (case-sensitive)
  • in: In array (comma-separated values)
  • notin: Not in array (comma-separated values)

Field Types and Operators

String Fields

Supported operators: eq, neq, contains, notcontains, in, notin, set, notset

Date Fields

Supported operators: eq, neq, gt, gte, lt, lte, set, notset Format: YYYY-MM-DD

DateTime Fields

Supported operators: eq, neq, gt, gte, lt, lte, set, notset Format: YYYY-MM-DD HH:mm:ss

Numeric Fields

Supported operators: eq, neq, gt, gte, lt, lte, set, notset

Multiple Filters

Multiple filters can be combined using & operator: