Skip to main content

Create Legacy Agent Task

POST 

/agents/browser-use/:agentId/tasks

Create a resource in the API key's owner scope. Read-only fields in the representation cannot be set by the client. Requires agents:operate. When API_ADMISSION_ENABLED is true, omit wait even without Idempotency-Key; queued-input capacity is shared across stable principal and owner. 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.

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.

    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.

    Idempotency-Replayed

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

    X-Request-ID

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