---
title: "Get Channel"
method: GET
path: "/api/channel/{id}"
tags: ["Channel"]
---

# Get Channel

`GET /api/channel/{id}`

## 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/{id}`
- 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`

## Path parameters

- `id` string, required

## Response `200`

OK

- ResponseModelChannel: Response_model.Channel schema
  - `data` Channel, required
    - `auto_ban` integer, nullable, required
    - `balance` number, double, required
    - `balance_detail` ChannelBalanceDetail
      - `amount` number, double, nullable, required
      - `currency` string, required
      - `error` string
      - `keys` object, nullable
      - `unlimited` boolean, required
      - `windows` BalanceWindow[], nullable, required
        - `limit` number, double, required
        - `name` object, nullable, required
        - `resetAt` integer
        - `unit` string
        - `used` number, double, required
    - `balance_updated_time` integer, required
    - `base_url` string, nullable, required
    - `channel_info` ChannelInfo, required
      - `is_multi_key` boolean, required
      - `multi_key_disabled_reason` object, nullable
      - `multi_key_disabled_time` object, nullable
      - `multi_key_mode` string, required
      - `multi_key_polling_index` integer, required
      - `multi_key_size` integer, required
      - `multi_key_status_list` object, nullable, required
    - `created_time` integer, required
    - `group` string, required
    - `header_override` string, nullable, required
    - `id` integer, required
    - `key` string, required
    - `model_mapping` string, nullable, required
    - `models` string, required
    - `name` string, required
    - `openai_organization` string, nullable, required
    - `other` string, required
    - `other_info` string, required
    - `param_override` string, nullable, required
    - `priority` integer, nullable, required
    - `remark` string, nullable, required
    - `response_time` integer, required
    - `setting` string, nullable, required
    - `settings` string, required
    - `status` integer, required
    - `status_code_mapping` string, nullable, required
    - `tag` string, nullable, required
    - `test_model` string, nullable, required
    - `test_time` integer, required
    - `type` integer, required
    - `used_quota` integer, required
    - `weight` integer, nullable, required
    - `workflow_templates` string, nullable, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-11-25** `f65f18221fae`: 2 info
  - added the optional property `data/balance_detail` to the response with the `200` status (media type: application/json)
  - added the optional property `data/balance_detail` to the response with the `200` status (media type: application/xml)

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/channel/:id/get.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)
