Skip to main content

Agents API

Persistent agent endpoints for creating, scheduling, messaging, and managing agents through the API.

📄️Create an Agent

Create an agent in the API key's owner scope; an Organization key creates in the issuer's Organization-private workspace. Active creation requests initial processing and, by default, a separate first-check-in timer even when the primary schedule is null. Use is_active=false to prepare a paused agent without initial processing publication or a first-check-in timer; metadata-generation jobs remain. Optional team_id uses current member/destination authority, requires Idempotency-Key and API_CONFIGURATION_ENABLED for fresh creation. template_code applies only on creation; see the Agent API guide for template and schedule precedence. Requires `agents:manage`.

📄️rotatePersistentAgentInboundWebhookSecret

Replace the inbound webhook invocation secret immediately and return the replacement URL. External senders must switch to the new URL. Requires `agents:manage`. Optional protected retries require API_EXTENDED_RETRIES_ENABLED for new admissions; retained retries survive disabling admission. Original outcomes expire after 24 hours by default; current authority is rechecked. Task creation requires wait to be omitted. Secret rotation retries conflict if superseded.

📄️rotatePersistentAgentWebhookSecret

Replace the outbound webhook signing secret immediately and return the new value. The sender does not provide a dual-secret grace period. Requires `agents:manage`. Optional protected retries require API_EXTENDED_RETRIES_ENABLED for new admissions; retained retries survive disabling admission. Original outcomes expire after 24 hours by default; current authority is rechecked. Task creation requires wait to be omitted. Secret rotation retries conflict if superseded.