-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
curl #37
Comments
Okay, I've analyzed the API Endpoints Defined in
|
Here's a comprehensive analysis of the API routes and corresponding curl commands for the elizaOS/eliza agent management system:
Core API Endpoints & curl Examples
1. Base Endpoint
curl http://localhost:3000/ # Response: "Welcome, this is the REST API!"
2. List All Agents
curl http://localhost:3000/agents # Returns JSON with agent IDs, names, and connected clients
3. Get Agent Details
curl http://localhost:3000/agents/AGENT_UUID # Replace AGENT_UUID with actual agent ID
4. Update Agent Configuration
5. Get Discord Channels
curl http://localhost:3000/agents/AGENT_UUID/channels # Requires valid DISCORD_API_TOKEN in agent settings
6. Retrieve Memories
curl http://localhost:3000/agents/AGENT_UUID/ROOM_UUID/memories # Room ID must be valid UUID format
Key Implementation Details
Best Practices
curl http://localhost:3000/agents/AgentName/channels # Works if agent ID not found but name matches
This API structure demonstrates a robust agent management system with Discord integration and memory persistence capabilities. The design allows for dynamic agent reconfiguration and cross-platform client management.
Answer from Perplexity: pplx.ai/share
The text was updated successfully, but these errors were encountered: