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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [project-index](../index.md) / controllerEndpoints

# Function: controllerEndpoints()

> **controllerEndpoints**(`index`): [`IndexedEndpoint`](../interfaces/IndexedEndpoint.md)[]

Defined in: [packages/b2c-tooling-sdk/src/project-index/insights.ts:34](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/project-index/insights.ts#L34)

Controller endpoints (SFRA and SiteGenesis; pipelines left out), sorted by ID.

## Parameters

### index

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

## Returns

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