Skip to main content
GET
List tasks

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgID
string<uuid>
required

Query Parameters

cursor
string
Minimum string length: 1
limit
integer<int64>
Required range: 1 <= x <= 100
ids
string<uuid>[]

Lists only the tasks these ids name; repeat the parameter for each id.

Maximum array length: 100
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
status
enum<string>[]

Lists only the tasks in one of these statuses; repeat the parameter for each status. Absent lists every status.

Available options:
running,
awaiting_input,
approved,
awaiting_ci,
merged,
unmerged,
errored,
archived,
review_attention
order
enum<string>
Available options:
created_at,
updated_at,
agent_sidebar
scope
enum<string>
Available options:
agent_sidebar_main,
agent_sidebar_pinned
project_id
string<uuid>
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
created_by
string<uuid>
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
source
enum<string>

Lists only tasks from this source. PR-review runs are listed only when source is pr_review or when ids names them.

Available options:
manual,
web,
mobile,
cli,
ci,
sentry,
linear,
slack,
automation,
pr_review,
teleport,
delegation
started_after
string<date>

Lists only the tasks started on or after this UTC date.

started_before
string<date>

Lists only the tasks started before this UTC date.

ended_after
string<date>

Lists only the tasks that ended on or after this UTC date.

ended_before
string<date>

Lists only the tasks that ended before this UTC date.

Response

OK

items
object[]
required
next_cursor
string | null
required
Minimum string length: 1