title: Catalog Cursor Search Request
x-tags:
  - Catalog
type: object
properties:
  cursor:
    type:
      - string
      - 'null'
    minLength: 1
    description: The cursor returned by the previous request.
    example: eyJ1dWlkIjoiYTUxODNmM2ItNDRjZC00Y2ZlLTk4N2UtZTU1NGU4MTkxYmQ0In0
  cursor_limit:
    type:
      - integer
      - 'null'
    minimum: 1
    maximum: 2000
    default: 2000
    description: The maximum number of results to return.
  sort_field:
    oneOf:
      - type: 'null'
      - $ref: ./CatalogSortField.yaml
    default: uuid
  sort_direction:
    oneOf:
      - type: 'null'
      - $ref: ./SortDirection.yaml
    default: asc
  filters:
    type:
      - object
      - 'null'
    properties:
      model_types:
        type:
          - array
          - 'null'
        uniqueItems: true
        items:
          $ref: ./CatalogModelType.yaml
      query:
        type:
          - string
          - 'null'
        minLength: 1
        maxLength: 255
        description: The catalog model names to search against.
