REST API Overview
REST API Overview
The AgentWiki REST API is hosted on Cloudflare Workers at:
- Base URL:
https://api.agentwiki.cc - Specification: OpenAPI 3.1 (
https://api.agentwiki.cc/openapi.json) - Interactive Playground: Interactive API Docs
Authentication
Pass your API key or JWT access token in the Authorization header:
Authorization: Bearer aw_xxxxxxxxxxxxxxxxxxxxGlobal Rate Limits
| Endpoint Group | Limit | Window |
|---|---|---|
| General API | 100 requests | 60 seconds |
| Search | 50 requests | 60 seconds |
| Search (with AI Query Expansion) | 10 requests | 60 seconds |
| AI Generation | 15 requests | 60 seconds |
Error Responses
All error responses adhere to standard JSON error envelopes:
{ "error": "Error message description", "code": "OPTIONAL_ERROR_CODE"}