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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [scapi](../index.md) / loadBundledScapiDocuments

# Function: loadBundledScapiDocuments()

> **loadBundledScapiDocuments**(`options`): [`ScapiSchemaDocument`](../interfaces/ScapiSchemaDocument.md)[]

Defined in: [packages/b2c-tooling-sdk/src/scapi/schema-source.ts:223](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/scapi/schema-source.ts#L223)

Bundled SCAPI contracts, optionally limited to operations of one authentication type.

`authType: 'admin'` returns only Admin (Account Manager-authenticated) operations, and
drops APIs with none; this is the set the MCP server uses for `schemas: 'bundled'`
Admin work. Without `authType` it returns every bundled contract, like
`loadScapiSchemas`. Results are cached per process.

## Parameters

### options

#### authType?

[`ScapiAuthType`](../type-aliases/ScapiAuthType.md)

## Returns

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