# Interface: UrlParams

## Properties

### authMethod

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

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

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

___

### model

• **model**: `string`

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

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

___

### task

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

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

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


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