> For the complete documentation index, see [llms.txt](https://docs.adminjs.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.adminjs.co/basics/api.md).

# API

There are seven default actions defined for each resource. Each of that actions has an automatically generated REST API endpoint (i.e. `/api/resources/{resourceId}/actions/{action}`)

Available actions are:

<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><strong>List</strong></td><td><em>allows you to list and filer all the records for a given resource</em></td><td></td><td><a href="/pages/dsABrFL3D64bUeVvXGlS">/pages/dsABrFL3D64bUeVvXGlS</a></td></tr><tr><td><strong>New</strong></td><td><em>is responsible for creating a new record in a given resource</em></td><td></td><td><a href="/pages/WnKjsZLuONpJKvpUkKmg">/pages/WnKjsZLuONpJKvpUkKmg</a></td></tr><tr><td><strong>Search</strong></td><td><em>allows you to search records in a given resource by a query string</em></td><td></td><td><a href="/pages/kdFqeDk6x1Qqcrjt6yE0">/pages/kdFqeDk6x1Qqcrjt6yE0</a></td></tr><tr><td><strong>Show</strong></td><td><em>is responsible for showing the details of a record</em></td><td></td><td><a href="/pages/UsihpLUdUxQnTB6hWwNR">/pages/UsihpLUdUxQnTB6hWwNR</a></td></tr><tr><td><strong>Edit</strong></td><td><em>is responsible for editing record in a given resource</em></td><td></td><td><a href="/pages/pig8rWmsu94wuvW4VtTZ">/pages/pig8rWmsu94wuvW4VtTZ</a></td></tr><tr><td><strong>Delete</strong></td><td><em>is responsible for deleting single records</em></td><td></td><td><a href="/pages/l5wzNljRa3WaQYmM5i1I">/pages/l5wzNljRa3WaQYmM5i1I</a></td></tr><tr><td>Bulk Delete</td><td><em>is responsible for deleting multiple records</em></td><td></td><td><a href="/pages/y8P3oeXLV2R3189r1C7U">/pages/y8P3oeXLV2R3189r1C7U</a></td></tr></tbody></table>
