AI Agent Cron Runs

Get AI agent cron run

Returns a single scheduled-run record for an AI agent, including the response preview and any error captured at run time.

get/v1/ai-agents/{agent_id}/cron-runs/{id}

Request

  • Base URL: https://api.withone.ai
  • URL: https://api.withone.ai/v1/ai-agents/{agent_id}/cron-runs/{id}
  • Auth: API key in header X-One-Secret

Path parameters

agent_idstring uuid required

AI agent ID

idstring uuid required

Cron run ID

Response

Cron run details

agentIdstring uuid required
completedAtstring date-time nullable
createdAtstring date-time required
durationMsinteger nullable
errorstring nullable
idstring uuid required
responsePreviewstring nullable
scheduledAtstring date-time required
startedAtstring date-time nullable
status'pending' | 'running' | 'completed' | 'failed' required

Changes

No recorded changes to this operation across all 1 revision of this API.