> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mocklyapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Additional Configurations

> Customize your MocklyAPI endpoints with flexible configuration options

## Overview

MocklyAPI provides multiple configuration options to customize your mock endpoints and simulate real-world API behavior. These settings allow you to control response types, status codes, authentication, delays, and data randomization.

## Available Configurations

<Frame>
  <img src="https://mintcdn.com/mocklyapi/g4oQo2sAocl-bln4/images/mock-api-settings-view.png?fit=max&auto=format&n=g4oQo2sAocl-bln4&q=85&s=c9226b6302ff4b18c4a2af1fe41582f6" alt="Mock API settings view showing configuration options" style={{ borderRadius: '0.5rem' }} width="951" height="403" data-path="images/mock-api-settings-view.png" />
</Frame>

### Configuration Summary

| Setting                | Options             | Default            | Description                          |
| ---------------------- | ------------------- | ------------------ | ------------------------------------ |
| **HTTP Content Type**  | `application/json`  | `application/json` | Response content type format         |
| **HTTP Response Code** | `200`, `400`, `500` | `200`              | HTTP status code returned            |
| **HTTP Method**        | `GET`               | `GET`              | Allowed HTTP method                  |
| **Authentication**     | Enabled / Disabled  | Enabled            | Require auth token for access        |
| **Response Delay**     | 0-30 seconds        | 0                  | Simulate server latency              |
| **Always Random Data** | Enabled / Disabled  | Disabled           | Generate new random data per request |

## Always Random Data

<Card title="Random Data Configuration" icon="shuffle">
  Generate fresh random data on every request.
</Card>

### Options

**Disabled (Default)**

* Returns the same mock data on every request
* Consistent, predictable responses
* Ideal for deterministic testing

**Enabled**

* Generates new random data for each request
* Different response on every call
* Useful for testing dynamic UI updates

<Info>
  Enabling this feature may increase API call latency, as new data is generated for each request.
</Info>

<Warning>
  This feature is only available for supported datasets that can be randomly generated. BYOD and some static datasets cannot be randomized.
</Warning>

<Warning>
  Configuration changes only take effect after you click the Save button. Unsaved changes will be lost if you navigate away.
</Warning>
