> ## Documentation Index
> Fetch the complete documentation index at: https://docs.baselayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search `status` field renamed to `state`.

> Feb 27, 2024

Previously the `status` of a search was sometimes called `status` and sometimes called `state` depending on the API route.  To normalize fields across the entire Baselayer API, the `status` field has been renamed to `state`.

Liens and Litigations both come back with a top-level `status` of their own.  In the case of liens it can have a status of `Active` ,`Inactive` ,`Lapsed`, `Terminated` etc.  And similarly a litigation can have a status e.g. `Filed`, `Pending` etc.

To differentiate between the top-level status of the object itself and the top-level status of the search (`Pending`, `Executing`, `Completed`, `Failed`) we have renamed that field to `state` -> so now once the `state` of your search enters `Completed` it is done.  This should help differentiate between something related to the response itself (e.g. the `status` of the lien) and whether or not the search succeeded (the `state`)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.