Complete API reference for all 36 PraisonAIUI feature protocol endpoints.
List all registered features with health status.
Response:
List all configured channels with live gateway status.
Add a channel.
List supported platforms.
Get channel details.
Update channel configuration. Body fields: name, platform, enabled, config.
name
platform
enabled
config
Remove a channel.
Toggle channel enabled/disabled.
Get live channel status (enriched via gateway).
Restart a channel bot via the gateway. Returns status of restart attempt.
---
Add a scheduled job.
List all scheduled jobs.
Get job details.
Update schedule configuration. Body fields: name, message, schedule, enabled.
message
schedule
Remove a job.
Toggle job enabled/disabled.
Trigger job immediately.
Stop a running scheduled job. Attempts to cancel via AgentScheduler if available.
AgentScheduler
Get execution statistics for a schedule.
Submit a new async job. Returns 202 Accepted.
List jobs with optional filters. Query: ?status=running, ?limit=50, ?offset=0
?status=running
?limit=50
?offset=0
Get executor statistics.
Get full job details.
Get job status with progress info.
Get job result. Returns 409 if not yet complete.
Cancel a running or queued job. Returns 409 if already complete.
Delete a completed job. Returns 409 if still running.
SSE stream for real-time job updates. Events: status, progress, result, error, done.
status
progress
result
error
done
Usage summary with totals and averages.
Track a usage event.
Detailed usage records. Query: ?limit=100, ?offset=0
?limit=100
Per-model breakdown (tokens, cost, request count).
Per-session breakdown.
Per-agent breakdown.
Time-series data for charts. Query: ?hours=24, ?bucket_minutes=60
?hours=24
?bucket_minutes=60
Get the model cost table (per-1K token rates for 21 models).
Add a memory entry.
Search memories.
List all memories. Query: ?type=short|long|entity|all
?type=short|long|entity|all
Get single memory.
Delete single memory.
Clear memories. Query: ?type=all
?type=all
Get memory context for prompt injection.
Get session state.
Save session state.
Build context from session state + memory.
Compact session data. Returns before/after stats.
Reset session. Body: {"mode": "clear"}
{"mode": "clear"}
Formatted session preview without full history.
Get or set session labels.
Get session usage statistics.
Tool catalog with 18 built-in tools across 7 categories (search, crawl, file, code, shell, skills, schedule).
List all tools. Query: ?category=search, ?enabled=true, ?search=web
?category=search
?enabled=true
?search=web
List tool categories.
Register a custom skill.
Get tool details including required API keys.
Update a custom skill.
Remove a custom skill (builtin tools cannot be deleted).
Toggle tool enabled/disabled.
Set tool configuration or API keys.
Register a hook.
List all hooks.
View hook execution log. Query: ?limit=20
?limit=20
Get hook details.
Trigger a hook manually.
Remove hook.
Create a workflow.
List all workflows.
List all workflow runs.
Get run details.
Get workflow details.
Execute a workflow.
Get workflow status (total runs, last run).
Delete workflow.
Get all runtime config.
Merge config values.
Replace entire config.
Config change history. Query: ?limit=50
Get single config key.
Set single config key.
Delete config key.
JSON Schema for schema-driven form rendering.
Validate config without applying.
Validate and apply config changes.
Get default values from schema.
Agent definition CRUD with model selection, system prompts, and duplication.
List all agent definitions.
Create a new agent.
Get agent details.
Update agent. Body fields: name, description, model, temperature, system_prompt, instructions, tools, icon.
description
model
temperature
system_prompt
instructions
tools
icon
Delete agent.
List available models (13 models across OpenAI, Anthropic, Google).
Execute an agent via praisonaiagents.Agent.start().
praisonaiagents.Agent.start()
Duplicate an existing agent.
Drop-in replacement for OpenAI SDK. Use base_url="http://localhost:8000/v1".
base_url="http://localhost:8000/v1"
API info with available endpoint list.
Chat completions (OpenAI-compatible).
Legacy text completions.
Create embeddings.
Generate images (DALL-E).
Transcribe audio (Whisper).
Text to speech.
Content moderation.
List available models (13 models).
Get model info.
OpenAI Responses API.
File management.
File operations.
Assistants API.
Real-time log streaming via WebSocket.
WebSocket for real-time log streaming. Query: ?level=INFO, ?search=agent
?level=INFO
?search=agent
Available log levels with colors.
Log buffer statistics.
Clear the log buffer.
Multi-mode authentication (none, api_key, session, password).
Check current auth status.
Get auth configuration.
Set auth configuration. Body: {"mode": "session", "session_timeout_hours": 48}
{"mode": "session", "session_timeout_hours": 48}
List API keys.
Create API key.
Revoke API key.
Login with password.
Logout current session.
List active sessions.
Set or change password.
List available voices.
Synthesize speech from text.
Plugin discovery, search, install, and management.
List all available plugins.
Search plugins by query.
Install a plugin.
Uninstall a plugin.
Get plugin details.
Sandboxed code execution with language allowlists.
List supported languages.
Execute code in sandbox.
Progressive Web App support — manifest, service worker, and installability.
Web Application Manifest for installability.
Service Worker JavaScript with cache-first strategy.
PWA configuration details.
Internationalization with locale switching and string lookup.
List available locales.
Get all strings for a locale.
Translate a key with optional variables.
Get current default locale.
Set default locale.
Pair devices to sessions using short hex codes.
Generate a pairing code.
Validate and consume a pairing code.
List paired devices. Query: ?session_id=my-session
?session_id=my-session
Remove a paired device.
Image understanding, OCR, and object detection via VisionAgent.
List analysis capabilities.
Analyze an image.
Extract text from an image.
Input/output safety guardrails — validation rules, violation tracking, and registration.
List all registered guardrails.
Guardrails feature health.
List guardrail violations.
Register a guardrail rule.
Agent evaluation — accuracy scoring, judge models, and evaluation runs.
Overview of evaluation state.
Eval feature health.
Get evaluation scores.
List configured judge models.
Run an evaluation.
Performance monitoring — metrics collection, performance stats, and profiling.
Telemetry overview.
Telemetry feature health.
Get collected metrics.
Get performance statistics.
Get profiling data.
Record a telemetry event.
Distributed tracing and observability — span recording, trace lookup, and span details.
List recent traces.
Tracing feature health.
List trace spans.
Record a trace span.
Get full trace details.
Security monitoring — audit logging, configuration review, and access control.
Security overview.
Security feature health.
Get audit log entries.
Get security configuration.