# Images API reference

> Check a container image in its registry before you rent with it.

Source: https://legion.ambient.xyz/docs/api/images

- [Which catalog entries Legion has hidden or disabled, and whether custom images are allowed](https://legion.ambient.xyz/docs/api/images/get-catalog-settings): `GET /v1/catalog/settings`. The runtime state of the legion-images catalog.
- [List Legion's starter images and premade models, and which a host can run](https://legion.ambient.xyz/docs/api/images/list-catalog): `GET /v1/catalog`. Legion's catalog: the starter images and premade models of the legion-images release Legion is pinned to, with Legion's runtime state applied.
- [Inspect a container image before renting it](https://legion.ambient.xyz/docs/api/images/inspect-image): `POST /v1/images/inspect`. Looks the image up in its registry, without pulling any layer, and answers what a rental of it would run: the digest the tag resolves to, the platforms…
- [The organization's registry sign-ins](https://legion.ambient.xyz/docs/api/images/list-registry-sign-ins): `GET /v1/registry-sign-ins`. , deprecated by listRegistryCredentials, which lists every credential.
- [Save the organization's sign-in for a registry](https://legion.ambient.xyz/docs/api/images/put-registry-sign-in): `PUT /v1/registry-sign-ins/{registry}`. , deprecated by createRegistryCredential and updateRegistryCredential.
- [Remove the organization's sign-in for a registry](https://legion.ambient.xyz/docs/api/images/delete-registry-sign-in): `DELETE /v1/registry-sign-ins/{registry}`. , deprecated by deleteRegistryCredential.
- [The organization's registry credentials](https://legion.ambient.xyz/docs/api/images/list-registry-credentials): `GET /v1/registry-credentials`. .
- [Save a registry credential](https://legion.ambient.xyz/docs/api/images/create-registry-credential): `POST /v1/registry-credentials`. .
- [Split an image reference into registry host and path prefix](https://legion.ambient.xyz/docs/api/images/detect-registry-credential): `POST /v1/registry-credentials/detect`. .
- [One registry credential](https://legion.ambient.xyz/docs/api/images/get-registry-credential): `GET /v1/registry-credentials/{credential_id}`. .
- [Rename a registry credential or replace its secret](https://legion.ambient.xyz/docs/api/images/update-registry-credential): `PATCH /v1/registry-credentials/{credential_id}`. .
- [Remove a registry credential](https://legion.ambient.xyz/docs/api/images/delete-registry-credential): `DELETE /v1/registry-credentials/{credential_id}`. .
