provider agent_platformagent_applications PUT
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/tools/{tool_id}/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/tools/{tool_id}/ agent_applications_revisions_tools_update
Revisions of an agent. Created in `draft`, promoted through
`ready → live` once the bundle has been uploaded + frozen.
URLs (nested under an application):
Model CRUD:
GET .../revisions/ list
POST .../revisions/ create draft
GET .../revisions/<id>/ retrieve
PATCH .../revisions/<id>/ update spec (draft only)
Lifecycle:
POST .../revisions/<id>/promote/ ready → live
POST .../revisions/<id>/archive/ → archived
POST .../revisions/<id>/freeze/ draft → ready (stamps sha256)
POST .../revisions/<id>/clone_from/ copy bundle from another rev
POST .../revisions/new_draft/ create draft + clone_from atomically
Bundle authoring (proxied to the janitor):
GET .../revisions/<id>/manifest/ list paths + sha256
GET .../revisions/<id>/file/?path=… read one file
PUT .../revisions/<id>/file/?path=… write one file (draft)
DELETE .../revisions/<id>/file/?path=… delete one file (draft)
GET .../revisions/<id>/bundle/ bulk pull all files
PUT .../revisions/<id>/bundle/ bulk push (replace|merge)
- 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
- tool_id path required
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.agentApplicationsRevisionsToolsUpdate()