---
title: "Fetch Models"
method: POST
path: "/api/channel/fetch_models"
tags: ["Channel"]
---

# Fetch Models

`POST /api/channel/fetch_models`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/channel/fetch_models`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Request body

- FetchModelsRequest: fetchModelsRequest schema
  - `advanced_custom` string, nullable, required
  - `base_url` string, nullable, required
  - `channel_id` integer, required
  - `header_override` string, nullable, required
  - `key` string, required
  - `proxy` string, nullable, required
  - `task_plugin_key` string, required
  - `type` integer, required

## Response `200`

OK

- ResponseArrayString: Response_Array-string schema
  - `data` string[], nullable, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-11-25** `f65f18221fae`: 1 breaking
  - added the new required request property `task_plugin_key`

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/channel/fetch_models/post.md)

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
