---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [docs](../index.md) / listSchemas

# Function: listSchemas()

> **listSchemas**(): [`SchemaEntry`](../interfaces/SchemaEntry.md)[]

Defined in: [packages/b2c-tooling-sdk/src/docs/schema.ts:58](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d9cf11cf4a11828e783aed6313f5ea49990488ff/packages/b2c-tooling-sdk/src/docs/schema.ts#L58)

List all available schema entries.

## Returns

[`SchemaEntry`](../interfaces/SchemaEntry.md)[]

Array of all schema entries in the index

## Example

```typescript
const schemas = listSchemas();
schemas.forEach(s => console.log(s.id));
```
