All objects

PickTaskSearchRequest

{
  "filter": {
    "type": "QUERY",
    "query": [
      {
        "field": "state",
        "operator": "in",
        "value": [
          "COMPLETED",
          "CANCELED",
          "FAILED"
        ]
      }
    ]
  },
  "page": {
    "number": 1,
    "size": 50,
    "sort": "state desc, name"
  },
  "search": "chocolate"
}
filter
object | null

Optional query filter. Currently only `FilterQuery` (type `QUERY`) is supported.

Hide child attributes

filter.query
object[]required

List of conditions. All conditions must match (logical AND).

Hide child attributes

filter.query.field
stringrequired

Entity field name to filter on.

filter.query.operator
enum<string>required

Comparison operator.

Available options: is, eq, ne, co, sw, ew, gt, gte, lt, lte, in
filter.query.value
string | number | integer | boolean | array | null

Value to compare against. Type depends on the field and operator (scalar or collection for `in`). The server coerces JSON values to the entity field type (e.g. TSID as base32 string, enum constant name, ISO-8601 instant). Use `true` or `false` with operator `is` for null checks.

filter.type
enum<string>required

QUERY type discriminator.

Available options: QUERY, SCANCODE
page
object

Paging and sort parameters. When not specified it defaults to page number 1, size 50, and unsorted.

Hide child attributes

page.number
integer

Page number (1..n).

page.size
integer

Number of items per page.

page.sort
string

Optional sort criteria as a compact string. Defaults to unsorted if not given.

Optional free text. A resource matches when any of its searchable fields contains the text, ignoring case. The text is taken as a whole, without wildcards. Combined with `filter` using logical AND.