> For the complete documentation index, see [llms.txt](https://doc-op.blurit.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc-op.blurit.io/2.0.9/blurit-on-premise/usage/api.md).

# API

The BlurIt OP API offers several functionalities. It allows you to obtain the current license by using the GET method on the [`/api/license`](/2.0.9/blurit-on-premise/usage/api/license.md) endpoint. Additionally, you can add a new license by using the POST method on the same endpoint. If a license already exists, it will be replaced by the new license.

Furthermore, the API provides the capability to add a blur task to the queue by using the POST method on the [`/api/blur_it`](/2.0.9/blurit-on-premise/usage/api/tasks.md) endpoint. You can also add a blur task for a directory by using the POST method on the [`/api/blur_it/directory`](/2.0.9/blurit-on-premise/usage/api/tasks/process-a-directory.md) endpoint.

Moreover, the API allows you to retrieve the status of a task by using the GET method on the [`/api/task/{task_id}`](/2.0.9/blurit-on-premise/usage/api/tasks/get-the-status-of-a-task.md) endpoint, where "task\_id" is the task identifier.

\
The API documentation can be found at `http://<HOST>/api/docs`, where `HOST` is the IP address of the machine.

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td></td><td>License</td><td></td><td><a href="/pages/fyzHZmNTxiZdMLer38C5">/pages/fyzHZmNTxiZdMLer38C5</a></td></tr><tr><td></td><td>Blur it</td><td></td><td><a href="/pages/o6O0IRb9m627GmtW8A4A">/pages/o6O0IRb9m627GmtW8A4A</a></td></tr><tr><td></td><td>Blur it directory</td><td></td><td><a href="/pages/WmpKlZGkMqQi7MBpanHf">/pages/WmpKlZGkMqQi7MBpanHf</a></td></tr><tr><td></td><td>Task</td><td></td><td><a href="/pages/epuVjx0DYx1XI0b1chXz">/pages/epuVjx0DYx1XI0b1chXz</a></td></tr></tbody></table>
