Two Different API Servers: This page documents the
Agent.launch() HTTP server. For the auto-generated API server created by praisonai deploy run --type api, see API Server Authentication.Agent.launch() or Agents.launch().
Base URL
8000.
Endpoints
POST /
Send a query to the agent(s). Request:
Response:
POST //
Call a specific agent in multi-agent setup. Request:GET //list
List available agents. Request:GET /health
Health check endpoint. Request:GET /
Root endpoint with welcome message. Request:GET /docs
Swagger UI documentation. Request: Open in browser:http://localhost:8000/docs
Error Responses
Error Format:
Authentication
TheAgent.launch() API server uses X-API-Key authentication when configured. When api_key is set in launch():
Python Client
Related
- Agents Server - Deploy agents as HTTP server
- MCP API - MCP server endpoints
- A2A API - A2A protocol endpoints

