API Reference

HTTP API endpoints for PraisonAI services

Next

API Reference

This section documents all HTTP API endpoints exposed by PraisonAI packages.

Deploy APIs

Server endpoints for deployed agents. See Deploy for setup guides.

Other APIs

Base URLs

ServiceDefault URL
Agents Serverhttp://localhost:8000/{path}
MCP Serverhttp://localhost:8080/sse
A2A Serverhttp://localhost:8000/a2a
AGUI Serverhttp://localhost:8000/agui

Quick Test

bash
# Health check
curl http://localhost:8000/health

# Send query
curl -X POST http://localhost:8000/ask \
  -H "Content-Type: application/json" \
  -d '{"query": "Hello"}'

Error Responses

json
{
  "detail": "Error message"
}
StatusDescription
400Bad request
401Unauthorized
404Not found
500Server error