Method: Meilisearch::Client#tasks

Defined in:
lib/meilisearch/client.rb

#tasks(options = {}) ⇒ Hash{String => Object}

Get Meilisearch tasks matching the filters.

Operations in Meilisearch are done asynchronously using “tasks”. Tasks report their progress and status.

Warning: This does not return instances of Models::Task. This is a raw call to the Meilisearch API and the return is not modified.

Parameters:

  • options (Hash{Symbol => Object}) (defaults to: {})

    task search options as snake cased symbols, see the API reference

Returns:

  • (Hash{String => Object})

    results of the task search, see API reference

See Also:



408
409
410
# File 'lib/meilisearch/client.rb', line 408

def tasks(options = {})
  task_endpoint.task_list(options)
end