tasks

Update your per-project defaults for new tasks. Fields you leave out keep their stored value.

post/api/projects/{project_id}/tasks/@me/config/task_defaults/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tasks/@me/config/task_defaults/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

project_idstring required

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

Request body

start_in_plan_modeboolean

When true, new tasks start in plan mode: the agent makes a plan and waits for approval. Null when you never set it.

auto_publish_cloud_runsboolean

When true, a cloud run that changes code always opens a draft pull request. Null when you never set it.

Response

start_in_plan_modeboolean nullable required

When true, new tasks start in plan mode: the agent makes a plan and waits for approval. Null when you never set it.

auto_publish_cloud_runsboolean nullable required

When true, a cloud run that changes code always opens a draft pull request. Null when you never set it.

Changes

No recorded changes to this operation across all 1 revision of this API.