Skip to main content
GET
List Tasks

Authorizations

X-Lightsage-Api-Key
string
header
required

Query Parameters

action_date
string<date>

Action-queue date to read (YYYY-MM-DD). Omit to read persisted tasks across all generation dates.

status
enum<string>
default:active

Which slice of the queue to return. The default active view returns todo/new and in-progress tasks. Use todo/new, in_progress, done, dismissed, completed, or all for a narrower or broader slice.

Available options:
active,
todo,
new,
in_progress,
completed,
done,
dismissed,
all

Response

Successful Response

A batch of daily tasks plus the queue's status counts.

action_date
string
required
status
enum<string>
required
Available options:
active,
todo,
new,
in_progress,
completed,
done,
dismissed,
all
count
integer
required
batch_number
integer | null
latest_batch_number
integer
default:0
data
PublicTask · object[]
active_count
integer
default:0
in_progress_count
integer
default:0
completed_count
integer
default:0
done_count
integer
default:0
dismissed_count
integer
default:0
history_count
integer
default:0
has_history
boolean
default:false
can_fetch_next_batch
boolean
default:false
generated_at
string | null