Express Template API Reference
Express Template API ReferenceHealth Check
Health CheckGET /health
const response = await fetch('http://localhost:3000/health');
const data = await response.json();
// {
// "status": "ok",
// "agent": "Wojak"
// }Agent Endpoints
Agent EndpointsGET /agent/info
const response = await fetch('http://localhost:3000/agent/info');
const data = await response.json();
// {
// "name": "Wojak",
// "description": "The Web3 King",
// "config": {
// "llm": { ... },
// "skills": [ ... ]
// }
// }GET /agent/skills
GET /agents
POST /agent/switch
Chat Endpoints
Chat EndpointsPOST /chat
GET /chat/history
POST /chat/clear
Response Status Codes
Response Status CodesRate Limiting Headers
Rate Limiting HeadersError Responses
Error ResponsesLast updated