provider task-automationstask_automations PATCH /api/projects/{project_id}/task_automations/{id}/
@utdk/posthog /api/projects/{project_id}/task_automations/{id}/
task_automations_partial_update
API for managing scheduled task automations.
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

Try it

Authentication
Configure credentials for PostHog API
taskAutomationsPartialUpdate
PATCH/api/projects/{project_id}/task_automations/{id}/
API for managing scheduled task automations.

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/.

Input

Display name (stored as the backing task's title).

The automation prompt (stored as the backing task's description).

Target repository in the format organization/repository.

GitHub integration to run as. Defaults to the team's GitHub integration when omitted.

Standard 5-field cron expression (minute hour day month weekday).

IANA timezone the schedule runs in.

Optional template identifier this automation was created from.

Whether the schedule is active; paused when false.

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.taskAutomationsPartialUpdate({
  "timezone": "UTC",
  "enabled": true
})