# Interface: UrlParams

## Properties

### authMethod

• **authMethod**: [`AuthMethod`](../modules#authmethod)

#### Defined in[[authmethod.defined-in]]

[inference/src/types.ts:143](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L143)

___

### model

• **model**: `string`

#### Defined in[[model.defined-in]]

[inference/src/types.ts:144](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L144)

___

### task

• `Optional` **task**: [`InferenceTask`](../modules#inferencetask)

#### Defined in[[task.defined-in]]

[inference/src/types.ts:145](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L145)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/UrlParams.md" />