---
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/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/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));
```
