> 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="/basics/api/list.md">List</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="/basics/api/new.md">New</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="/basics/api/search.md">Search</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="/basics/api/show.md">Show</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="/basics/api/edit.md">Edit</a></td></tr><tr><td><strong>Delete</strong></td><td><em>is responsible for deleting single records</em></td><td></td><td><a href="/basics/api/delete.md">Delete</a></td></tr><tr><td>Bulk Delete</td><td><em>is responsible for deleting multiple records</em></td><td></td><td><a href="/basics/api/bulk-delete.md">Bulk Delete</a></td></tr></tbody></table>
