Show examples in:
    Model filter

    In DatoCMS you can create filters to help you (and other editors) quickly search for records

    Object payload

    id  string
    ID of filter
    type  string
    Must be exactly "item_type_filter"
    name  string

    The name of the filter

    filter  object

    The actual filter. It follows the form of the filter query parameter of the List all records endpoint.

    columns  Array<object>, null

    The columns to show with this filter

    order_by  string, null

    The ordering to apply with this filter, or null for the default model ordering. It follows the form of the order_by query parameter of the List all records endpoint.

    shared  boolean

    Whether it's a shared filter or not

    item_type  { type: "item_type", id: item_type.id }

    Model associated with the filter

    Available endpoints