---
url: https://haihv.github.io/valifetch/api/index/type-aliases/NormalizedOptions.md
---

# Type Alias: NormalizedOptions

> **NormalizedOptions** = `Omit`<[`ValifetchBaseOptions`](ValifetchBaseOptions.md), `"signal"`> & `object`

Defined in: [src/types/options.ts:287](https://github.com/haihv/valifetch/blob/285835d38a6676b98d2ee1a93e23166c6c834cb2/src/types/options.ts#L287)

Fully resolved request options as seen by hooks, after instance and per-request
options have been merged and defaults applied.

`retry` is carried through unnormalized (still `RetryOptions | number | false |
undefined`); the retry loop normalizes it internally.

## Type Declaration

### body?

> `optional` **body?**: [`RawBody`](RawBody.md)

The raw body of the request, when provided

### bodySchema?

> `optional` **bodySchema?**: `GenericSchema`

Schema used to validate the request body, when provided

### form?

> `optional` **form?**: `FormData` | `URLSearchParams` | `Record`<`string`, `string`>

The form body of the request, when provided

### headers

> **headers**: `Headers`

Resolved headers object, instance headers overridden by request headers

### hooks

> **hooks**: [`Hooks`](Hooks.md)

Concatenated instance and request hooks (instance hooks run first)

### json?

> `optional` **json?**: `unknown`

The JSON body of the request, when provided

### method

> **method**: [`HttpMethod`](HttpMethod.md)

HTTP method for the request

### params?

> `optional` **params?**: `Record`<`string`, `string` | `number`>

Path parameter values interpolated into the URL

### paramsSchema?

> `optional` **paramsSchema?**: `GenericSchema`

Schema used to validate path params, when provided

### responseSchema?

> `optional` **responseSchema?**: `GenericSchema`

Schema used to validate the response body, when provided

### responseType?

> `optional` **responseType?**: [`ResponseType`](ResponseType.md)

Requested response format (per-call only; `undefined` means `'json'`)

### searchSchema?

> `optional` **searchSchema?**: `GenericSchema`

Schema used to validate search params, when provided

### signal

> **signal**: `AbortSignal`

The composed abort signal actually passed to `fetch` — the caller's signal
combined with the controller behind `.cancel()`, not the caller's raw signal.

### throwHttpErrors

> **throwHttpErrors**: `boolean`

Resolved flag controlling whether non-2xx statuses throw

### validateRequest

> **validateRequest**: `boolean`

Resolved request validation flag

### validateResponse

> **validateResponse**: `boolean`

Resolved response validation flag
