List tasks

http
GET /projects/{project_reference}/tasks

List the tasks defined in the source of a project, a branch or an environment to find a task to run, schedule or edit; returns every task as one page with the source files that could not be read as tasks. Requires project.runs.read.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
source_target_kindquerySource to read: project, main_branch, environment or preview_branch. Overrides runtime_target_kind.
runtime_target_kindqueryRuntime target to read from: main_branch, environment or preview_branch.
target_environment_idqueryEnvironment to read from when the target kind is environment.
target_branch_idqueryPreview branch to use when the target kind is preview_branch.

Responses

StatusDescription
200Discovered project tasks
401Unauthorized
403Forbidden
404Not found