---
title: "ApiType"
generated: true
---


## ApiType

<GenerationInfo sourceFile="packages/core/src/api/common/get-api-type.ts" sourceLine="9" packageName="@vendure/core" />

Which of the GraphQL APIs the current request came via.

```ts title="Signature"
type ApiType = 'admin' | 'shop' | 'custom'
```
