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

[@salesforce/b2c-tooling-sdk](../../modules.md) / [safety](../index.md) / READ\_ONLY\_SEARCH\_PATHS

# Variable: READ\_ONLY\_SEARCH\_PATHS

> `const` **READ\_ONLY\_SEARCH\_PATHS**: readonly `string`[]

Defined in: [packages/b2c-tooling-sdk/src/safety/read-only-searches.ts:16](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/safety/read-only-searches.ts#L16)

Search endpoints that use POST but only read data. `READ_ONLY` safety
allows POST to these paths; every other POST stays blocked.

This is an explicit list (not a pattern) so a new endpoint is only allowed
once it has been checked. Each `*` matches one path segment. Configured
safety rules are evaluated first, so a rule can still block any of these.
