provider task-runstaskstasks PATCH /api/projects/{project_id}/tasks/{task_id}/runs/{id}/
@utdk/posthog /api/projects/{project_id}/tasks/{task_id}/runs/{id}/
Update task run
API for managing task runs. Each run represents an execution of a task.
id path required
string
project_id path required
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
string
task_id path required
string

Try it

Authentication
Configure credentials for PostHog API
tasksRunsPartialUpdate
PATCH/api/projects/{project_id}/tasks/{task_id}/runs/{id}/
API for managing task runs. Each run represents an execution of a task.

Parameters

required
required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

required

Input

Current execution status * `not_started` - not_started * `queued` - queued * `in_progress` - in_progress * `completed` - completed * `failed` - failed * `cancelled` - cancelled

Git branch name to associate with the task

Current stage of the run (e.g. research, plan, build)

Output from the run

State of the run

State keys to remove atomically before applying any state updates.

Error message if execution failed

Transition a cloud run to local. Use the resume_in_cloud action to move a run into cloud. * `local` - local

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.tasksRunsPartialUpdate()