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
agentApplicationsRevisionsCronFireCreate
POST/api/projects/{project_id}/agent_applications/{application_id}/revisions/{id}/cron/fire/
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.

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/.

Input

required

`name` of the cron trigger in `spec.triggers[]` to fire.

Stable client-supplied id so repeated clicks of the same UI 'Fire now' button resolve to the same session id rather than firing twice. The janitor keys dedupe off `cron-manual:<rev>:<name>:<request_id>`. Omit to fire unconditionally — every call generates a fresh UUID.

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