> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Tasks

> Search existing Octoparse tasks before starting, stopping, or exporting them through AgentTools.

> [!NOTE]
>
> The generated request and response examples are shown in the API panel. Use this page to understand the existing-task workflow.

Search existing Octoparse tasks before controlling or exporting them through AgentTools.

**1. Find a task**

Use `keyword`, `status`, or `taskIds` to locate existing tasks.

**2. Read normalized status**

Use `taskStatusLabel` for user-facing status and `rawTaskStatusCode` for lower-level diagnostics.

**3. Continue the workflow**

Use the returned `taskId` with `startOrStopTask` or `exportData`.

```text theme={null}
searchTasks -> startOrStopTask -> exportData
```

> [card] Required header
>
> `x-external-user-id` is required for task search.

> [card] Status filters
>
> Supported values are `Running`, `Stopped`, `Completed`, and `Failed`.

> [accordion] Task fields
>
> `taskId` identifies the task.
>
> `taskName` is the display name.
>
> `taskDescription` gives a short task summary when available.

> [accordion] Paging fields
>
> `page`, `size`, `total`, and `totalPages` describe the result set.

> [accordion] What to call next
>
> Follow `suggestedNextCall`, `workflow`, and `toolHint` when deciding whether to call `startOrStopTask` or `exportData`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.