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.

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: