> For the complete documentation index, see [llms.txt](https://docs.stoobly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoobly.com/guides/how-to-mock-apis/how-to-customize-mocking/customizing-with-request-headers.md).

# Customizing with Request Headers

Request headers can be set by the client to dynamically control mocking behavior.

## Supported Headers

<details>

<summary>X-Stoobly-Public-Directory-Path</summary>

Path to a folder that contains files or folders that contains files that match a request's path. Path is relative to where the `stoobly-agent run` command was run.

</details>

<details>

<summary>X-Stoobly-Request-Key</summary>

Customizes which request response should be used

</details>

<details>

<summary>Response-Fixtures-Path</summary>

Path to a YAML file that contains fixture specifications. Path is relative to where the `stoobly-agent run` command was run.

</details>

<details>

<summary>X-Stoobly-Scenario-Key</summary>

Customizes which scenario should be used

</details>
