Overview
An Agent Deployment combines an Agent version, reusable input, and an execution trigger. Open an Agent and select Deployments to manage its published configurations and inspect their runs. Each Deployment has a key, unique within its Agent, that works as an invocation target in the Responses API:agent/{agent_key}@{deployment_key}. The Deployment ID works there too.
Agent Deployments replace Agent Schedules. Existing
/v3/agents/{agent_key}/schedules routes remain deprecated aliases for schedule-based Deployments. Use /v2/agents/{agent_key}/deployments for new integrations.Create a Deployment
Create a schedule-based Deployment that runs at 09:00 in the configured timezone. Cron expressions use six fields: second, minute, hour, day of month, month, and day of week. The minimum interval is one hour.agent_deployment, including its _id, status, configuration, and computed stats.next_run_at and stats.upcoming_runs_at values.
Configuration
A schedule follows local wall-clock time in its configured timezone. Inspect the upcoming run timestamps after editing the expression or timezone.
Run and inspect
Select Run now in AI Studio, or call the run operation. Manual runs are allowed while a Deployment is paused.cURL
run. List its run history with GET /v2/agents/ops_digest/deployments/{deployment_id}/runs. Add status=AGENT_DEPLOYMENT_RUN_STATUS_FAILED to filter failed runs, or retrieve one with GET /v2/agents/ops_digest/deployments/{deployment_id}/runs/{run_id}.
Runs have status AGENT_DEPLOYMENT_RUN_STATUS_QUEUED, AGENT_DEPLOYMENT_RUN_STATUS_RUNNING, AGENT_DEPLOYMENT_RUN_STATUS_COMPLETED, AGENT_DEPLOYMENT_RUN_STATUS_FAILED, or AGENT_DEPLOYMENT_RUN_STATUS_SKIPPED. A run records its trigger context, response and trace IDs, timestamps, and a typed error when it did not complete. Input, output, and usage stay on the response: follow response_id through the Responses API or open the trace.
Invoke a published configuration directly with model: "agent/ops_digest@morning-briefing". Direct invocations use the same run history and limits. Supplied input replaces the default input.
Pause, resume, archive, and delete
Updatestatus with PATCH /v2/agents/{agent_key}/deployments/{deployment_id}:
A paused Deployment includes
paused_reason, which identifies a manual or automatic pause. Resolve the reported cause before resuming an automatically paused Deployment.
Delete a Deployment with DELETE /v2/agents/{agent_key}/deployments/{deployment_id}. Deletion also removes its run records and associated budget.
Webhook triggers
A Deployment with"trigger": {"webhook": {}} has no schedule. The calling system sends each request through the Responses API with an API key and the input for that call. A payload.input saved on the deployment is used only when a call sends no input:
cURL
429 without starting a run.
Lifecycle events
Subscribe through Webhooks to react to changes and run outcomes. Agent Deployment events useagent_deployment.created, updated, paused, unpaused, archived, and deleted. Run events use agent_deployment_run.started, completed, failed, and skipped.
Event payloads contain identifiers, status, and a reason when available. Retrieve the Deployment or run for the complete record. Deliveries use the existing X-Orq-Signature verification mechanism.