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