← 返回
数据分析 Key 中文

Tianji

Query website analytics, monitor uptime, survey results, telemetry data, feed events, application stats, and more from the Tianji platform via its read-only...
通过天际平台的只读接口查询网站分析、监控运行时间、调查结果、遥测数据、订阅事件、应用统计等信息。
moonrailgun
数据分析 clawhub v1.0.1 1 版本 99870.8 Key: 需要
★ 1
Stars
📥 753
下载
💾 17
安装
1
版本
#latest

概述

Tianji Analytics

Query any read-only data from the Tianji monitoring and analytics platform.

Configuration

Three values are required (provided via skill config):

VariableDescription
-----------------------
TIANJI_BASE_URLTianji instance URL (e.g. https://tianji.example.com)
TIANJI_API_KEYAPI key for authentication
TIANJI_WORKSPACE_IDDefault workspace ID

Making API Requests

All endpoints are under {TIANJI_BASE_URL}/open and require a Bearer token:

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.

For full parameter schemas, consult openapi-readonly.json.

DomainEndpointsTypical Questions
--------------------------------------
Website13Traffic stats, pageviews, geo distribution, Lighthouse scores
Monitor9Uptime status, recent check data, monitor events
Survey8Survey responses, result stats, AI categories
Telemetry7Custom event counts, telemetry pageviews, metrics
Billing7Usage quotas, subscription tier, credit balance
Feed6Feed channels, event streams, feed states
Application5App store reviews, app info, event stats
AI/AIGateway5Gateway logs, model pricing, quota alerts
Worker3Worker list, worker details, revisions
Page2Status pages
Workspace2Members, service counts
Global1Platform configuration
AuditLog1Audit trail

Workflow

  1. Identify the service domain from the user's question
  2. Read 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

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-30 05:32 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 270 📥 57,006
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 199 📥 65,193
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 165 📥 60,119