Skip to main content

Create an Agent

POST 

/agents

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.

Request​

Responses​

Response Headers
    RateLimit-Limit

    Smaller configured principal/owner request window limit when enforcement is enabled.

    RateLimit-Remaining

    Smaller remaining principal/owner allowance at admission.

    RateLimit-Reset

    Seconds until the Redis-server-time fixed request window resets.

    Idempotency-Replayed

    Present when Idempotency-Key is used: false for the original response, true for a replay.

    Operation-Id

    Opaque retained receipt ID. Outcome lookup is available for covered G02 member and allowed G01 service operations.

    Idempotency-Expires-At

    Original protected response expiry.

    X-Request-ID

    Server-generated synchronous HTTP correlation; no worker lineage implied.