How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Yunqi Analytics Agent Open API

Embeds Analytics Agent natural-language analysis into third-party applications. An administrator-issued appSecretKey is exchanged for a loginToken; queries are asynchronous and polled until finished.

Yunqi Analytics Agent Open API is one of 11 APIs that Yunqi (ClickZetta / Singdata Lakehouse) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

The published artifact set on APIs.io includes an OpenAPI specification, a getting-started guide, and a changelog.

This API exposes 5 operations across 5 paths, organized into 3 resource areas, and defines 13 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.clickzetta.com/clickzetta-campaign-data, https://ap-southeast-1-alicloud.api.singdata.com/clickzetta-campaign-data.

5 operations 5 paths 13 schemas 1 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://api.clickzetta.com/clickzetta-campaign-data
Authentication
API Key
Contact
Terms of Service
Resource Areas
3

Authentication & Security 1

Yunqi Analytics Agent Open API declares 1 security scheme for authenticating requests. An API key is passed in the query as loginToken (loginToken). By default, every request must be authenticated.

  • loginToken — 通过 GenerateAuthToken 获取的认证 Token。必须同时放在 URL query 和 JSON 请求体的 loginToken 字段中。Token 有有效期,过期后需要重新获取。

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 1 GET, 4 POST. They span 3 resource areas: Authentication, Session, Question. Each is listed below with its method, path, parameters, and response codes.

Authentication 1

用应用密钥换取访问 Token。

GET
/open/api/v1/appSecretKey/generateAuthToken
获取认证 Token
generateAuthToken 1 param → 200
Session 1

管理对话会话,一个会话可以包含多次连续问答。

POST
/open/session/safe_new
创建对话会话
createSession 2 params body → 200
Question 3

提交自然语言问题、轮询分析结果和停止分析。

POST
/open/text2insight/query
发起数据分析请求
queryText2Insight 2 params body → 200
POST
/open/safe_question_poll
轮询问题结果
pollQuestion 2 params body → 200
POST
/open/text2insight/stop
停止问题
stopText2Insight 2 params body → 200

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are AgentMessage (14 properties), AuthContext (3 properties), ModelSettings (1 property), SuccessResponse (1 property). Each schema is shown below with its type and property counts.

AuthContext
object
每个请求体都要携带的身份字段,取值与 URL query 中的同名参数一致。
3 properties 3 required
CreateSessionRequest
CreateSession 的请求体。
Text2InsightQueryRequest
Text2InsightQuery 的请求体。
ModelSettings
object
模型配置,不传时使用默认模型。
1 property
QuestionRequest
SafeQuestionPoll 的请求体。
Text2InsightStopRequest
Text2InsightStop 的请求体。
SuccessResponse
object
所有接口共用的响应外层。HTTP 200 时仍需检查 success。
1 property 1 required
GenerateAuthTokenResponse
GenerateAuthToken 的响应。
CreateSessionResponse
CreateSession 的响应,data 即新建的 sessionId。
Text2InsightQueryResponse
Text2InsightQuery 的响应。
QuestionPollResponse
SafeQuestionPoll 的响应。
AgentMessage
object
Agent 产生的一条消息。业务字段可能出现在不同层级,按以下顺序读取: 1. 消息顶层,例如 summaryData; 2. modelRes.data 中的同名字段; 3. 把 rawRes 解析为 JSON 后,读取其 data 中的同名字段。
14 properties 2 required
AgentMessageType
string
消息类型: - notify:进度提示,例如“正在思考” - message:知识检索结果或执行过程日志 - metric:指标计算结果,包含 DSL - code:生成的代码,通常是 SQL - echartsplus:图表数据 - summary:最终分析总结 - finish:分析正常结束(终止状态) - fi…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yunqi-analytics-agent-api-openapi.yml Raw ↑

Other APIs Yunqi (ClickZetta / Singdata Lakehouse) publishes across the network.

Yunqi AI Gateway API
Yunqi (ClickZetta / Singdata Lakehouse) Dqc API
Yunqi (ClickZetta / Singdata Lakehouse) Instance API
Yunqi (ClickZetta / Singdata Lakehouse) Multi Realtime Di Task API
Yunqi (ClickZetta / Singdata Lakehouse) Realtime Task API
Yunqi (ClickZetta / Singdata Lakehouse) Schedule Task API
Yunqi (ClickZetta / Singdata Lakehouse) User Management API
Yunqi (ClickZetta / Singdata Lakehouse) Virtual Cluster API
Yunqi (ClickZetta / Singdata Lakehouse) Workspace API
Yunqi (ClickZetta / Singdata Lakehouse) Data Source API
Where this information came from

This is an independent, third-party profile of Yunqi Analytics Agent Open API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.