https://bizgpt.vn/wp-json/llm/router/v1/health
Kiểm tra gateway sống
Auth: Public
Playbook triển khai nhanh cho doanh nghiệp và đội dev: từ 0 đến chạy toàn bộ branch API trong 5 bước.
Mô hình chuẩn: FE gọi same-origin proxy, PHP wrapper gọi lên BizCity Hub với Bearer biz-xxx.
Khi đã bám đúng pattern này, các app như VSCode extension flow hoặc antigravity automation có thể mở rộng chức năng theo từng endpoint mà không phá kiến trúc lõi.
https://bizgpt.vn/wp-json/llm/router/v1/health
Kiểm tra gateway sống
Auth: Public
https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement
Kiểm tra tier + giới hạn
Auth: Bearer
https://bizgpt.vn/wp-json/bizcity/v1/master/config
Lấy config plan và feature gating
Auth: Bearer
| Method | Path | Auth | Mô tả |
|---|---|---|---|
| GET | https://bizgpt.vn/wp-json/llm/router/v1/health |
Public | Kiểm tra gateway sống |
| GET | https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement |
Bearer | Kiểm tra tier + giới hạn |
| GET | https://bizgpt.vn/wp-json/bizcity/v1/master/config |
Bearer | Lấy config plan và feature gating |
curl -X GET "https://bizgpt.vn/wp-json/llm/router/v1/health"
const res = await fetch('https://bizgpt.vn/wp-json/llm/router/v1/health', {
method: 'GET',
});
const data = await res.json();
console.log(data);
import requests
url = "https://bizgpt.vn/wp-json/llm/router/v1/health"
headers = {}
res = requests.get(url, headers=headers)
print(res.json())
curl -X GET "https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement" -H "Authorization: Bearer biz-YOUR_KEY"
const res = await fetch('https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement', {
method: 'GET',
headers: {
Authorization: 'Bearer biz-YOUR_KEY',
},
});
const data = await res.json();
console.log(data);
import requests
url = "https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement"
headers = {'Authorization': 'Bearer biz-YOUR_KEY'}
res = requests.get(url, headers=headers)
print(res.json())
curl -X GET "https://bizgpt.vn/wp-json/bizcity/v1/master/config" -H "Authorization: Bearer biz-YOUR_KEY"
const res = await fetch('https://bizgpt.vn/wp-json/bizcity/v1/master/config', {
method: 'GET',
headers: {
Authorization: 'Bearer biz-YOUR_KEY',
},
});
const data = await res.json();
console.log(data);
import requests
url = "https://bizgpt.vn/wp-json/bizcity/v1/master/config"
headers = {'Authorization': 'Bearer biz-YOUR_KEY'}
res = requests.get(url, headers=headers)
print(res.json())
curl -X GET https://bizgpt.vn/wp-json/bizcity/v1/account/entitlement -H "Authorization: Bearer biz-YOUR_KEY"
register_rest_route('bizcity-twinchat/v1', '/account/entitlement', [
'methods' => 'GET',
'permission_callback' => '__return_true',
'callback' => function() {
// Call BizCity_LLM_Client::get_entitlement() and return fail-open payload
},
]);
docs/api/README.md + docs/api/09-account-billing.md
Doanh nghiệp chỉ cần cài plugin client, gắn API key, và dùng các page này làm chuẩn tích hợp để tự động mở rộng theo yêu cầu bởi team dev nội bộ, đối tác kỹ thuật, hoặc workflow code-assistant.