Skip to main content

Update Legacy Agent Task

PUT 

/agents/browser-use/:agentId/tasks/:id

Update supplied writable task inputs while pending and unclaimed. A supplied secrets map replaces all task credentials; {} clears them, omission preserves them, and null is invalid. Secret columns and other inputs commit atomically. A winning worker claim or cancellation rejects input edits with 400; deleted or retention-purged tasks return 404. Webhook-only edits remain available on retained running/terminal tasks. Responses never return credentials or key lists. Success acknowledges stored input, not execution or authentication. These updates have no credential readback, conditional revision or idempotency guarantee. Requires agents:operate.

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.

    X-Request-ID

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