← 返回 Skills 市场
Ainative Api Discovery
作者
Toby Morning
· GitHub ↗
· v1.0.0
· MIT-0
207
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install ainative-api-discovery
功能描述
Help agents discover and navigate AINative's 89+ API endpoints. Use when (1) Asking "what endpoints exist?", (2) Finding the right API for a task, (3) Lookin...
使用说明 (SKILL.md)
AINative API Discovery
AINative exposes 89+ REST API endpoints at https://api.ainative.studio.
Endpoint Categories
Authentication & Users
| Endpoint | Method | Description |
|---|---|---|
/api/v1/auth/login |
POST | Email/password login → JWT |
/api/v1/auth/register |
POST | Create account |
/api/v1/auth/refresh |
POST | Refresh JWT token |
/api/v1/auth/logout |
POST | Invalidate session |
/api/v1/users/me |
GET | Get current user profile |
Chat & AI Completions
| Endpoint | Method | Description |
|---|---|---|
/v1/public/chat/completions |
POST | Chat completion (streaming + non-streaming) |
/api/v1/public/managed-chat |
POST | Managed chat with session tracking |
/api/v1/public/models |
GET | List available AI models |
Memory (ZeroMemory)
| Endpoint | Method | Description |
|---|---|---|
/api/v1/public/memory/v2/remember |
POST | Store a memory |
/api/v1/public/memory/v2/recall |
POST | Semantic search memories |
/api/v1/public/memory/v2/forget |
DELETE | Remove memories |
/api/v1/public/memory/v2/reflect |
GET | Get memory insights |
/api/v1/public/memory/v2/profile |
GET | Build user profile from memories |
/api/v1/public/memory/v2/graph |
GET | Memory knowledge graph |
Credits & Billing
| Endpoint | Method | Description |
|---|---|---|
/api/v1/public/credits/balance |
GET | Get current credit balance |
/api/v1/public/credits/usage |
GET | Credit usage history |
/api/v1/billing/subscribe |
POST | Subscribe to a plan |
/api/v1/billing/invoices |
GET | List invoices |
Developer Program (Echo)
| Endpoint | Method | Description |
|---|---|---|
/api/v1/echo/register |
POST | Register as a developer |
/api/v1/echo/earnings |
GET | Get earnings summary |
/api/v1/echo/payouts |
GET | List payouts |
/api/v1/echo/markup |
PUT | Set your markup rate (0-40%) |
ZeroDB (Vector/NoSQL/Storage)
| Endpoint | Method | Description |
|---|---|---|
/api/v1/public/zerodb/vectors/upsert |
POST | Upsert vector embedding |
/api/v1/public/zerodb/vectors/search |
POST | Semantic vector search |
/api/v1/public/zerodb/tables |
GET/POST | List/create NoSQL tables |
/api/v1/public/zerodb/files/upload |
POST | Upload file |
Admin & Monitoring
| Endpoint | Method | Description |
|---|---|---|
/admin/users |
GET | List all users (superuser) |
/admin/monitoring |
GET | System health metrics |
/admin/database |
GET | Database pool status |
/health |
GET | Health check (no auth) |
Authentication
All public endpoints require an API key:
# Header format
X-API-Key: ak_your_key_here
# Or Bearer token (for user sessions)
Authorization: Bearer eyJ...
Code Examples
Python
import requests
API_KEY = "ak_your_key"
BASE = "https://api.ainative.studio"
# Chat completion
resp = requests.post(f"{BASE}/v1/public/chat/completions",
headers={"X-API-Key": API_KEY},
json={"model": "claude-3-5-sonnet-20241022",
"messages": [{"role": "user", "content": "Hello"}]}
)
print(resp.json()["choices"][0]["message"]["content"])
# Credit balance
balance = requests.get(f"{BASE}/api/v1/public/credits/balance",
headers={"X-API-Key": API_KEY}).json()
print(f"Credits: {balance['remaining_credits']}")
JavaScript/TypeScript
const API_KEY = "ak_your_key";
const BASE = "https://api.ainative.studio";
const resp = await fetch(`${BASE}/v1/public/chat/completions`, {
method: "POST",
headers: { "X-API-Key": API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({
model: "claude-3-5-sonnet-20241022",
messages: [{ role: "user", content: "Hello" }]
})
});
const data = await resp.json();
curl
curl -X POST https://api.ainative.studio/v1/public/chat/completions \
-H "X-API-Key: ak_your_key" \
-H "Content-Type: application/json" \
-d '{"model":"claude-3-5-sonnet-20241022","messages":[{"role":"user","content":"Hello"}]}'
References
docs/api/API_REFERENCE.md— Complete endpoint documentationdocs/api/API_ENDPOINTS_REFERENCE.md— Full endpoint indexsrc/backend/app/api/v1/endpoints/— Implementation source
安全使用建议
This appears to be a documentation-only skill listing AINative endpoints and example calls, so it is internally consistent. Before using it: (1) verify the API host (https://api.ainative.studio) is legitimate for your use case before sending real secrets, (2) never paste actual API keys or sensitive tokens into chat prompts — use environment or secure stores during development, (3) note that some endpoints shown (e.g., /admin/*) are privileged — the skill simply documents them but calling them would require elevated credentials, and (4) because the skill's source/homepage is unknown, exercise normal caution and prefer testing in an isolated environment if you plan to automate calls.
功能分析
Type: OpenClaw Skill
Name: ainative-api-discovery
Version: 1.0.0
The skill bundle is a documentation-only resource providing an index and usage examples for the AINative API (api.ainative.studio). It contains no executable code, no suspicious instructions, and no indicators of data exfiltration or malicious intent in SKILL.md or _meta.json.
能力评估
Purpose & Capability
The name/description promise — discover and navigate AINative endpoints — matches the SKILL.md content: a catalog of endpoints, authentication notes, and code examples. It does not ask for unrelated credentials or binaries.
Instruction Scope
SKILL.md contains only endpoint listings, auth header format, and client examples (Python/JS/curl). It does not instruct the agent to read local files, environment variables, or send data to unexpected endpoints. It does reference internal repo paths and documentation files, but these are citations only (no file reads are requested).
Install Mechanism
No install spec and no code files — instruction-only skill. This minimizes on-disk risk since nothing is downloaded or executed by an installer.
Credentials
The skill declares no required env vars or credentials. Examples mention an API key placeholder (X-API-Key) which is expected for API usage; there are no demands for unrelated secrets.
Persistence & Privilege
always:false (default) and no requests to modify other skills or system settings. Autonomous invocation is allowed (platform default) but not excessive for this type of helper.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ainative-api-discovery - 安装完成后,直接呼叫该 Skill 的名称或使用
/ainative-api-discovery触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: provides comprehensive AINative API discovery and navigation.
- Lists and describes 89+ REST API endpoints categorized by feature (auth, chat, memory, billing, developer, storage, admin).
- Offers example code in Python, JavaScript/TypeScript, and curl for key endpoints.
- Details authentication methods (API key, bearer token).
- Includes quick references to full documentation and source code locations.
- Enables agents to search endpoints, find usage patterns, and explore API capabilities efficiently.
元数据
常见问题
Ainative Api Discovery 是什么?
Help agents discover and navigate AINative's 89+ API endpoints. Use when (1) Asking "what endpoints exist?", (2) Finding the right API for a task, (3) Lookin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。
如何安装 Ainative Api Discovery?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ainative-api-discovery」即可一键安装,无需额外配置。
Ainative Api Discovery 是免费的吗?
是的,Ainative Api Discovery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Ainative Api Discovery 支持哪些平台?
Ainative Api Discovery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ainative Api Discovery?
由 Toby Morning(@urbantech)开发并维护,当前版本 v1.0.0。
推荐 Skills