Skip to main content
GET
/
api
/
v1
/
tasks
List tasks
curl --request GET \
  --url https://neo.api.projectdiscovery.io/api/v1/tasks \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "tasks": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "is_scheduled": true,
      "source": "web",
      "status": "active",
      "title": "<string>",
      "created_by": "jsmith@example.com",
      "pending_approval_count": 123,
      "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "schedule_info": {
        "execution_count": 123,
        "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "schedule_status": "active",
        "schedule_type": "recurring",
        "execution_info": {
          "execution_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "scheduled_at": "2023-11-07T05:31:56Z",
          "started_at": "2023-11-07T05:31:56Z",
          "status": "pending",
          "completed_at": "2023-11-07T05:31:56Z"
        },
        "last_executed_at": "2023-11-07T05:31:56Z",
        "next_execution_at": "2023-11-07T05:31:56Z",
        "scan_frequency": "hourly",
        "schedule_name": "<string>",
        "start_time": "<string>"
      }
    }
  ],
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Query Parameters

limit
integer
default:20

Number of tasks to return (max 100)

Required range: 1 <= x <= 100
starting_after
string<uuid>

Cursor for pagination - return tasks after this ID (newer)

ending_before
string<uuid>

Cursor for pagination - return tasks before this ID (older)

status
enum<string>

Filter by task status

Available options:
active,
completed,
error,
pending
is_scheduled
enum<string>

Filter by scheduled status

Available options:
true,
false
project_id
string<uuid>

Filter tasks by project ID. If omitted, returns only the current user's personal tasks.

Search query for tasks. Behavior depends on search_type parameter.

Maximum string length: 500
search_type
enum<string>
default:title

Search type:

  • title: Case-insensitive substring match on task title (default)
  • semantic: AI-powered semantic search across task messages
Available options:
title,
semantic
source
enum<string>

Filter by task source. Defaults to 'web' when not provided, which hides integration-sourced tasks (github, slack, linear) from the default list. Pass a specific source to list only tasks from that integration.

Available options:
web,
github,
slack,
linear

Response

Task list with pagination info

has_more
boolean
required

Whether there are more results available

tasks
object[]
required
total
integer

Total number of tasks matching the current filters (ignores pagination cursor)