返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
t

tianji

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
353
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

tianji

# Tianji Analytics Query any read-only data from the Tianji monitoring and analytics platform. ## Configuration Three values are required (provided via skill config): | Variable | Description | |----------|-------------| | `TIANJI_BASE_URL` | Tianji instance URL (e.g. `https://tianji.example.com`) | | `TIANJI_API_KEY` | API key for authentication | | `TIANJI_WORKSPACE_ID` | Default workspace ID | ## Making API Requests All endpoints are under `{TIANJI_BASE_URL}/open` and require a Bearer token: ```bash curl -H "Authorization: Bearer {TIANJI_API_KEY}" \ "{TIANJI_BASE_URL}/open/workspace/{TIANJI_WORKSPACE_ID}/website/all" ``` Only GET requests are allowed. All responses are JSON. ## Service Domains Find the exact endpoint and parameters in [api-endpoints.md](references/api-endpoints.md). For full parameter schemas, consult [openapi-readonly.json](references/openapi-readonly.json). | Domain | Endpoints | Typical Questions | |--------|-----------|-------------------| | **Website** | 13 | Traffic stats, pageviews, geo distribution, Lighthouse scores | | **Monitor** | 9 | Uptime status, recent check data, monitor events | | **Survey** | 8 | Survey responses, result stats, AI categories | | **Telemetry** | 7 | Custom event counts, telemetry pageviews, metrics | | **Billing** | 7 | Usage quotas, subscription tier, credit balance | | **Feed** | 6 | Feed channels, event streams, feed states | | **Application** | 5 | App store reviews, app info, event stats | | **AI/AIGateway** | 5 | Gateway logs, model pricing, quota alerts | | **Worker** | 3 | Worker list, worker details, revisions | | **Page** | 2 | Status pages | | **Workspace** | 2 | Members, service counts | | **Global** | 1 | Platform configuration | | **AuditLog** | 1 | Audit trail | ## Workflow 1. Identify the service domain from the user's question 2. Read [api-endpoints.md](references/api-endpoints.md) to find the endpoint 3. Construct the GET request with required path/query parameters 4. Parse the JSON response and summarize for the user ## Common Scenarios ### Website traffic overview ``` GET /open/workspace/{workspaceId}/website/all ``` Pick the target website ID, then: ``` GET /open/workspace/{workspaceId}/website/{websiteId}/stats?startAt={timestamp}&endAt={timestamp} ``` ### Monitor health check ``` GET /open/workspace/{workspaceId}/monitor/all ``` Pick the target monitor ID, then: ``` GET /open/workspace/{workspaceId}/monitor/{monitorId}/get GET /open/workspace/{workspaceId}/monitor/{monitorId}/status ``` ### Survey results analysis ``` GET /open/workspace/{workspaceId}/survey/all ``` Pick the target survey ID, then: ``` GET /open/workspace/{workspaceId}/survey/{surveyId}/result/list?startAt={timestamp}&endAt={timestamp}&limit=50 GET /open/workspace/{workspaceId}/survey/{surveyId}/stats?startAt={timestamp}&endAt={timestamp} ``` ### Feed event inspection ``` GET /open/workspace/{workspaceId}/feed/channels ``` Pick the channel ID, then: ``` GET /open/workspace/{workspaceId}/feed/{channelId}/fetchEventsByCursor?limit=20 ``` ## Sensitive Data Handling Some GET endpoints may return fields containing platform-stored secrets (e.g. `modelApiKey`, `customModelBaseUrl` in AI Gateway responses). Additionally, endpoints like workspace members, audit logs, and billing may contain PII or internal details. **Rules:** - NEVER display `modelApiKey`, `apiKey`, `secret`, `token`, `password`, or `credential` fields to the user - Redact or omit these fields when summarizing API responses - When querying workspace members or audit logs, only surface non-sensitive metadata (names, roles, timestamps) unless the user explicitly requests full detail ## Notes - Timestamps use milliseconds since epoch (e.g. `1704067200000` for 2024-01-01) - Pagination: some endpoints use `cursor` parameter; check the response for `nextCursor` - The `type` parameter in website metrics accepts: `url`, `language`, `referrer`, `title`, `browser`, `os`, `device`, `country`, `event`

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tianji-1776281089 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tianji-1776281089 技能

通过命令行安装

skillhub install tianji-1776281089

下载

⬇ 下载 tianji v1.0.1(免费)

文件大小: 21.42 KB | 发布时间: 2026-4-16 15:57

v1.0.1 最新 2026-4-16 15:57
- Added a new section on Sensitive Data Handling, detailing rules for redacting or omitting fields containing secrets or personal information from API responses.
- Clarified that sensitive fields such as API keys, tokens, passwords, and PII should never be shown to users.
- Updated workflow guidance for summarizing workspace members and audit logs to emphasize non-sensitive data by default.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部