# Returns pet inventories by status.

Returns a map of status codes to quantities.

[Returns pet inventories by status.](https://clay-doc.github.io/clay-example-repo/de/api/petstore/store/get-inventory.md)

```sh
curl 'https://petstore3.swagger.io/api/v3/store/inventory' \
  -H 'api_key: <api_key>'
```
## Authentifizierung

::: fields
- `api_key`

  [API-Schlüssel im Header `api_key`](https://clay-doc.github.io/clay-example-repo/de/api/petstore.md#authentifizierung)
:::

## Antworten

::: tabs status
== 200

successful operation

:badge[application/json]{note} · Typ: map of integer (int32)

```json [Beispiel]
{
  "key": 0
}
```

== default

Unexpected error
:::

---

All pages of these docs, as Markdown for language models: https://clay-doc.github.io/clay-example-repo/de/llms.txt
