Filtering

Prev Next

To filter results, use the 'filter' parameter with supported operators.

Supported Operators:

  • equals: Exact match

  • contains: Contains substring

  • startsWith: Starts with substring

  • endsWith: Ends with substring

  • lessThan: Less than value

  • greaterThan: Greater than value

  • lessOrEqual: Less than or equal to value

  • greaterOrEqual: Greater than or equal to value

Syntax:

filter=operator(field_name,'value')

Examples:

# Contains filter
GET /api/v1/workflows?filter=contains(name,'hypredge')
# Equals filter
GET /api/v1/workflows?filter=equals(state,'draft')
# Multiple filters
GET /api/v1/workflows?filter=equals(state,'published')&filter=contains(name,'test')