Skip to main content

Endpoints CLI

The praisonai endpoints CLI provides a unified interface for interacting with all PraisonAI server types.

Overview

The Endpoints CLI is a universal client tool that allows you to:
  • List available endpoints from any server type
  • Describe endpoint details and schemas
  • Invoke endpoints with input data
  • Check server health
  • Discover server capabilities
  • Filter by provider type

Supported Provider Types

Commands

List Endpoints

List all available endpoints from the server.

Describe Endpoint

Get detailed information about a specific endpoint.

Invoke Endpoint

Call an endpoint with input data.

Health Check

Check if the endpoint server is healthy.

List Provider Types

List all supported provider types.
praisonai endpoints types now includes plugin-contributed types alongside built-ins. Each plugin type is shown with the description Plugin provider and capability invoke, so types and invoke --type agree.

Discovery Document

Get the unified discovery document from the server.

Options Reference

Global Options

List Options

Describe Options

Invoke Options

Environment Variables

Exit Codes

Examples

Basic Workflow

With Authentication

Streaming Output

JSON Output for Scripting

Troubleshooting

Connection Refused

Solution: Ensure the recipe server is running:

Authentication Error

Solution: Provide API key:

Endpoint Not Found

Solution: Check available endpoints:

Unknown Provider Type

An unregistered --type is a validation error (exit code 2) — it no longer silently falls back to recipe. Omitting --type still defaults to recipe. Solution: The type isn’t registered. Check what is:
If it’s your own plugin, confirm your pyproject.toml publishes it under praisonai.endpoint_providers and that the package is installed in the same environment as praisonai.