Skip to content

PostmanClientOptions

Defined in: clients/postman-client/src/utils.ts:9

Options for createPostmanClient.

optional baseUrl?: string

Defined in: clients/postman-client/src/utils.ts:13

Override base URL for testing. Defaults to https://api.getpostman.com.


optional errors?: ErrorSink

Defined in: clients/postman-client/src/utils.ts:19

Reports transport failures and unexpected 5xx. Defaults to a no-op.


optional fetch?: (input, init?) => Promise<Response>

Defined in: clients/postman-client/src/utils.ts:15

Override fetch for testing. Defaults to globalThis.fetch.

string | URL | Request

RequestInit

Promise<Response>


optional logger?: Logger

Defined in: clients/postman-client/src/utils.ts:17

Structured logger for request/response diagnostics. Defaults to a no-op.


token: string

Defined in: clients/postman-client/src/utils.ts:11

Postman API key.