provider agent_platformagent_applications POST
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/bundle/import/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/bundle/import/ agent_applications_revisions_bundle_import_create
Bulk-merge a set of `.md` files into a draft revision.
Sets `agent_md` on the draft bundle if present. `skills[]` are
store-backed and merge by `id`: an id already referenced by the
draft publishes a new version of its store skill; an unreferenced
id attaches the store skill of that name (publishing the payload's
body to it), or creates it when no such skill exists — and each
ref is (re-)pinned to the published version. Skills not mentioned
are left alone, so the import is safe to retry. Draft-only;
non-draft revisions return 409 untouched.
- 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
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.agentApplicationsRevisionsBundleImportCreate()