Skip to main content
GET
Discovery API

Discovery API

The discovery endpoint provides a unified way to discover all available providers and endpoints on any PraisonAI server.

Overview

Every PraisonAI server exposes /__praisonai__/discovery which returns a JSON document describing:
  • Server name and version
  • Available providers (agents-api, recipe, mcp, a2a, a2u)
  • Available endpoints with their capabilities

When to Use

  • Client discovery: Automatically discover server capabilities
  • Health monitoring: Verify server is running with expected providers
  • Integration: Build clients that adapt to available endpoints

Base URL + Playground

Base URL: http://127.0.0.1:8765

Request

none
No parameters required.

Example Request

Response

string
required
Discovery schema version (e.g., “1.0.0”)
string
required
Server name (e.g., “praisonai-unified”)
string
Server version
array
required
List of available providers
array
List of available endpoints

Example Response

Errors

CLI Equivalent

Configuration

The discovery document is automatically generated based on the server type:

Notes

  • Discovery is always available at /__praisonai__/discovery
  • No authentication required for discovery endpoint
  • Use discovery to build adaptive clients
  • Schema version follows semver