tasks

Set the project-wide default AI run preferences applied to task runs created without an explicit runtime selection. Send all fields as null to clear.

post/api/projects/{project_id}/tasks/config/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/tasks/config/
  • 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

modelstring nullable

Default LLM model identifier for new task runs. Must be set together with runtime_adapter on the ACP harness, and is required on its own for a Pi default.

Response

agent_instructionsstring required

Project instructions that PostHog cloud agents read in every eligible Tasks run, including autonomous runs such as scouts and loops. Empty when unset.

Changes

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