Quick Start
Background task CLI (TypeScript) Manage background tasks using the praisonai-ts CLI.
Installation
Commands Overview
| Command | Description |
|---|---|
praisonai-ts background list | List all background tasks |
praisonai-ts background status <id> | Get task status |
praisonai-ts background cancel <id> | Cancel a running task |
praisonai-ts background clear | Clear completed tasks |
praisonai-ts background submit | Submit a recipe as background task |
Submit a Recipe
Submit Options
| Option | Description |
|---|---|
--recipe | Recipe name to execute (required) |
--input, -i | Input data as JSON string |
--config, -c | Config overrides as JSON string |
--session-id, -s | Session ID for conversation continuity |
--timeout | Timeout in seconds (default: 300) |
--json | Output JSON for scripting |
List Tasks
Check Status
Cancel Task
Clear Completed
Examples
Complete Workflow
Scripting with JSON
Related
Background Tasks
SDK documentation
Async Jobs CLI
Async jobs CLI
Agent
Single agent API

