Optimizers
Use these API requests to manage optimizers. An optimizer runs a search on a schedule and writes the results into a timeless account.
List the optimizers of an account
Returns the optimizers of the account that owns the API token in the request.
Create an optimizer
Creates an optimizer, which runs a search on a schedule and writes the results into a timeless account. Returns the created optimizer.
Get an optimizer
Returns one optimizer of the account that owns the API token in the request.
Update an optimizer
Replaces the optimizer with the ID in the URL by the one in the request and returns the updated optimizer. Send the full optimizer: start from [Get an optimizer](https://api-docs.logz.io/docs/logz/get-optimizer) and change the fields you need. The `id` in the body can be left out; if you send it, it must match the ID in the URL.
Delete an optimizer
Deletes an optimizer and returns it. The data it already wrote stays in the timeless account: to remove it, run [Delete data from a timeless account](https://api-docs.logz.io/docs/logz/delete-timeless-account-data) with the optimizer's ID first.
List the optimizers that write into a timeless account
Returns the optimizers that write into a timeless account. Delete them before you delete the timeless account.