Legacy Browser Tasks API
Legacy browser-use agent and task endpoints for submitting browser automation jobs, polling status, and retrieving results.
Legacy Browser-Use Agents - List
List resources visible to this API key using page-number pagination. Requires `agents:read`.
Legacy Browser-Use Agent - Create
Create a resource in the API key's owner scope. Read-only fields in the representation cannot be set by the client. Requires `agents:manage`.
Legacy Agent Tasks - List
List resources visible to this API key using page-number pagination. Requires `agents:read`.
Legacy Agent Task - Create
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.
Legacy Agent Task - Get
Retrieve one resource visible to this API key. Inaccessible resources return 404. Requires `agents:read`.
Legacy Agent Task - Update
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`.
Legacy Agent Task - Patch
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`.
Legacy Agent Task - Delete
Soft-delete this task from lists and lookups. To stop running work, call cancel before deleting. Requires `agents:manage`.
Legacy Agent Task - Cancel
Cancel Legacy Agent Task: POST /agents/browser-use/{agentId}/tasks/{id}/cancel/. See the Developer guides for workflow examples and error recovery.
Legacy Agent Task Result - Get
Read task status and its result. Pending work returns a message; completed work returns result (which may be null); failed work may include error_message. The HTTP status is 200 even while work is unfinished. Requires `agents:read`.
Legacy Browser-Use Agent - Get
Retrieve one resource visible to this API key. Inaccessible resources return 404. Requires `agents:read`.
Legacy Browser-Use Agent - Update
Update the supplied writable fields. Omitted optional fields retain their values; this does not reset the resource to defaults. Requires `agents:manage`.
Legacy Browser-Use Agent - Delete
Permanently delete a standalone browser profile and its browser tasks. A profile backing a persistent agent returns 409 (browser_profile_in_use); use DELETE /agents/{id}/ to archive that agent instead. Archived and inaccessible profiles return 404. Requires `agents:manage`.
Standalone Legacy Tasks - List
List browser tasks visible to this key, including tasks without a browser agent. Returns a paginated results envelope. Requires `agents:read`.
Standalone Legacy Task - Create
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.
Standalone Legacy Task - Get
Retrieve one resource visible to this API key. Inaccessible resources return 404. Requires `agents:read`.
Standalone Legacy Task - Update
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`.
Standalone Legacy Task - Patch
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`.
Standalone Legacy Task - Delete
Soft-delete this task from lists and lookups. To stop running work, call cancel before deleting. Requires `agents:manage`.
Standalone Legacy Task - Cancel
Cancel Standalone Legacy Task: POST /tasks/browser-use/{id}/cancel/. See the Developer guides for workflow examples and error recovery.
Standalone Legacy Task Result - Get
Read task status and its result. Pending work returns a message; completed work returns result (which may be null); failed work may include error_message. The HTTP status is 200 even while work is unfinished. Requires `agents:read`.