---
title: "Tenant Login Page"
method: GET
path: "/t/{alias}"
tags: ["tenant-page"]
---

# Tenant Login Page

`GET /t/{alias}`

## Request

- Base URL: `https://api.agent4.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agent4.io/t/{alias}`
- Auth: none declared

租户品牌登录页。别名解析不到 / 租户停用 → 404。

**宿主已经换成挂件本体**（`web/widget.html`）——与 `/s/{token}`、`/t/{alias}/{agent}` 同一份
代码，于是能力菜单、文档模式、引用角标、开场白、逐步进度这些**一次都不必搬**（差集 250 项，
见 docs/52）。反过来 `/t/` 独有的四块（消息工具栏、我的数据、提醒、个人设置）抽成了
`web/{msgtools,dataview,mepanels}.js`，两个宿主共用。

`?host=index` 退回旧宿主 `web/index.html`。**它还留着，不是为了兼容，是因为空间与成员
管理还没搬**（多空间实测几乎无人使用：2686 个用户 1 个空间、1 个用户 2 个，所以它排在
最后而不是不做）。那一块搬完，这个开关连同 index.html、app.js 一起删。

## Path parameters

- `alias` string, required

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
