Skip to main content
Most functional commands require authentication unless noted. Use --json on supported commands for machine-readable output. Angle brackets such as <taskId> and <apiKey> indicate required placeholders. Replace them with your actual values.

Help and diagnostics

Use --json for structured output:
capabilities --json returns the full machine contract for AI agents and automation, including supported commands, output schemas, and the recommended task-creation workflow.
Some high-risk commands require stronger confirmation in v0.1.28. Depending on the command, users may need to pass an explicit confirmation flag or type a confirmation phrase. Confirm the exact syntax with octoparse capabilities --json or the v0.1.28 command help before documenting copy-paste examples.

Authentication

Environment variable overrides (no stored credentials needed):

Tasks

Task groups

Use task groups to organize task workflows and find tasks within a group.
Requires confirmation: exact v0.1.28 commands for listing task groups and viewing tasks within a group were not present in the local CLI 0.1.24 help. Confirm with octoparse capabilities --json or v0.1.28 command help before adding examples.
With a local task file:

Templates

v0.1.28 expands template workflows so users can view and search templates, create template tasks, and modify template tasks. Use “template task” or “task created from a template” for these workflows; do not imply the CLI creates arbitrary custom scraping workflows unless that is confirmed by the CLI contract.
Requires confirmation: exact template commands and flags for view, search, create template task, and modify template task were not present in the local CLI 0.1.24 help. Confirm with octoparse capabilities --json or v0.1.28 command help before adding examples.

Detect (create tasks from a URL)

Use detect to open the Octoparse extension browser, inspect a page, and generate a task file.
For AI agent workflows, use the prepare / preview / apply sequence or the one-shot --agent wrapper. See Create tasks from a URL for the full workflow.

Local extraction

Run timeout and debug options:
Use --jsonl to stream run events line by line:
After detaching with --detach, use octoparse local status, octoparse local pause, octoparse local resume, or octoparse local stop to manage the run.

Cloud extraction

Cloud scheduling

Use cloud schedules for recurring cloud task runs, such as daily price monitoring, weekly report collection, or periodic lead enrichment.
Requires confirmation: exact v0.1.28 schedule command syntax, timezone handling, frequency values, and schedule limitations were not present in the local CLI 0.1.24 help. Confirm with octoparse capabilities --json or v0.1.28 command help before adding examples.

Local run control

octoparse local cleanup removes stale local run state and temporary files. It does not stop active runs.

Data history, preview, and export

Supported export formats: xlsx, csv, html, json, xml Use data commands for different checkpoints:
Requires confirmation: exact v0.1.28 commands and flags for record count, preview data, and unexported data were not present in the local CLI 0.1.24 help. Confirm with octoparse capabilities --json or v0.1.28 command help before adding examples.
If you used a custom output directory during local extraction, pass the same --output path when reading history or exporting:

Task file format

API key authentication is required for all functional commands, including local --task-file and .otd runs.