provider agent_platformagent_applications POST /api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/archive/
@utdk/posthog /api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/archive/
agent_applications_revisions_archive_create
Mark a revision archived. If it was the live one, clear the application's live_revision pointer (the app effectively has no deployable version until another revision is promoted).
application_id path required
string
id path required
A UUID string identifying this agent revision.
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
agentApplicationsRevisionsArchiveCreate
POST/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/archive/
Mark a revision archived. If it was the live one, clear the application's live_revision pointer (the app effectively has no deployable version until another revision is promoted).

Parameters

required
required

A UUID string identifying this agent revision.

required

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

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