# chatagent-platform Api API

**Canonical:** https://apis.io/apis/agent4-io/chatagent-platform-api-api/  
**Provider:** Agent4.io — https://apis.io/providers/agent4-io/  
**Documentation:** https://api.agent4.io/openapi.json

chatagent-platform Api API is one of 2 APIs that [Agent4.io](https://apis.io/providers/agent4-io/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

多租户 RAG 聊天智能体平台。鉴权分层：`X-Admin-Token`（平台）、`X-API-Key`（租户）、`X-End-User`（代理终端用户）、`Authorization: Bearer `（平台登录终端用户）、`X-Act-Tenant`（admin 以租户身份）、可选 `X-Space-Id`。详见管理端「API 文档」页。

## Operations (60 of 406)

| Method | Path | Summary |
|---|---|---|
| GET | `/internal/tls-allow` | Tls Allow |
| GET | `/tenant/custom-domain/feature` | Custom Domain Feature |
| GET | `/tenant/custom-domain` | Get Custom Domain |
| PUT | `/tenant/custom-domain` | Set Custom Domain |
| DELETE | `/tenant/custom-domain` | Delete Custom Domain |
| POST | `/tenant/custom-domain/check` | Check Custom Domain |
| GET | `/health` | Health |
| GET | `/readyz` | Readyz |
| GET | `/` | Root |
| GET | `/auth/methods` | Auth Methods |
| POST | `/auth/register` | Register |
| GET | `/auth/verify` | Verify Email |
| POST | `/auth/resend-verification` | Resend Verification |
| POST | `/auth/forgot-password` | Forgot Password |
| POST | `/auth/reset-password` | Reset Password |
| GET | `/auth/oauth/{provider}/start` | Oauth Start |
| GET | `/auth/oauth/{provider}/callback` | Oauth Callback |
| POST | `/auth/login` | Login |
| GET | `/me/stream` | Me Stream |
| POST | `/me/reminders` | Create My Reminder |
| GET | `/me/reminders` | My Reminders |
| POST | `/me/reminders/{rid}/cancel` | Cancel My Reminder |
| DELETE | `/me/reminders/{rid}` | Delete My Reminder |
| GET | `/me` | Me |
| GET | `/me/features` | My Features |
| GET | `/me/remembered` | My Remembered |
| DELETE | `/me/remembered/{agent_name}` | Forget Me |
| GET | `/me/profile` | My Profile |
| PATCH | `/me/profile` | Update My Profile |
| GET | `/me/agents` | My Available Agents |
| GET | `/me/spaces` | My Spaces |
| POST | `/me/spaces` | Create My Space |
| PATCH | `/me/spaces/{sid}` | Rename My Space |
| DELETE | `/me/spaces/{sid}` | Delete My Space |
| POST | `/me/spaces/{sid}/merge` | Merge My Space |
| POST | `/me/spaces/{sid}/agents` | Add My Space Agent |
| DELETE | `/me/spaces/{sid}/agents/{name}` | Remove My Space Agent |
| GET | `/me/spaces/{sid}/sessions` | My Space Sessions |
| GET | `/me/spaces/{sid}/sessions/search` | My Search Sessions |
| PATCH | `/me/sessions/{sid}` | Rename My Session |
| DELETE | `/me/sessions/{sid}` | Delete My Session |
| POST | `/me/sessions/{sid}/read` | Mark My Session Read |
| DELETE | `/me/sessions/{sid}/messages/{mid}` | Delete My Message |
| PATCH | `/me/sessions/{sid}/messages/{mid}` | Edit My Message |
| POST | `/me/sessions/{sid}/messages/{mid}/branch` | Branch My Session |
| GET | `/me/sessions/{sid}/messages` | My Session Messages |
| GET | `/me/sessions/{sid}/attachments` | My Session Attachments |
| GET | `/me/attachments/{aid}` | My Attachment Blob |
| POST | `/me/telegram/bind-code` | Create Tg Bind Code |
| GET | `/me/telegram/status` | Tg Status |
| DELETE | `/me/telegram/binding` | Tg Unbind |
| POST | `/me/whatsapp/bind-code` | Create Wa Bind Code |
| GET | `/me/whatsapp/status` | Wa Bind Status |
| DELETE | `/me/whatsapp/binding` | Wa Unbind |
| GET | `/me/documents` | List My Documents |
| PATCH | `/me/documents/{doc_id}/tags` | Set My Document Tags |
| POST | `/me/documents/{doc_id}/reingest` | Reingest My Document |
| DELETE | `/me/documents/{doc_id}` | Delete My Document |
| GET | `/me/documents/{doc_id}/detail` | My Document Detail |
| GET | `/me/memories` | List My Memories |

…and 346 more operations. The page lists the first 250; the full set of 406 is in the OpenAPI linked below.

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/agent4-io/openapi/_original/agent4-io-api-openapi.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-agent-patch-schema.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-agent-in-schema.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-share-info-schema.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-agent-out-schema.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-my-doc-detail-out-schema.json
- **JSONSchema** — https://artifacts.apis.io/agent4-io/json-schema/agent4-io-share-chat-in-schema.json

## Other Agent4.io APIs (1)

- [Agent4.io API](https://apis.io/apis/agent4-io/agent4-io-api/)

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/agent4-io/chatagent-platform-api-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/agent4-io/.
