provider agent_platformagent_applications POST /api/projects/{project_id}/agent_applications/{application_id}/revisions/new_draft/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/revisions/new_draft/
agent_applications_revisions_new_draft_create
Create a fresh draft revision under `application_id` and seed it from `source_revision_id`. Saves the MCP one round-trip vs the explicit create + clone_from sequence.
application_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
agentApplicationsRevisionsNewDraftCreate
POST/api/projects/{project_id}/agent_applications/{application_id}/revisions/new_draft/
Create a fresh draft revision under `application_id` and seed it from `source_revision_id`. Saves the MCP one round-trip vs the explicit create + clone_from sequence.

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

required
required

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.agentApplicationsRevisionsNewDraftCreate()