provider agent_platformagent_applications POST
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/cron/fire/ @utdk/posthog
/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/cron/fire/ agent_applications_revisions_cron_fire_create
Fire one cron job out-of-band — the same execution path the
scheduler walks, but on demand. Authoring UX: the user iterates on
a cron prompt by clicking 'Fire now' rather than waiting for the
next scheduled firing. Without this, 'did my prompt do the right
thing?' is unanswerable until the cron actually fires.
Idempotent via `request_id`: repeat clicks with the same id resolve
to the same session id rather than firing N times.
- 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.agentApplicationsRevisionsCronFireCreate()