Override create to handle wait parameter results.
Optional JSON schema to define structured output from the agent
Number of seconds to wait for the task to complete before returning. Defaults to 0 (no wait). Providing a value will run the task synchronously.
0 <= x <= 1350Domain-specific secrets for the task. REQUIRED FORMAT: {'https://example.com': {'x_api_key': 'value', 'x_username': 'user'}}. Each domain can have multiple secrets. Secret keys will be available as placeholders in the prompt for the specified domains.
Number of task credits used during execution.
HTTP or HTTPS URL invoked when the task finishes.
ID of the browser-use agent to use for this task. If not specified, the task will be created for the authenticated user's agent.
ID of the organization that owns the agent, if any.
Optional JSON schema to define structured output from the agent
pending - Pendingin_progress - In Progresscompleted - Completedfailed - Failedcancelled - Cancelledpending, in_progress, completed, failed, cancelled Number of task credits used during execution.
HTTP or HTTPS URL invoked when the task finishes.
Timestamp of the last webhook invocation, if any.
HTTP status code of the last webhook invocation, if any.
Error message of the last webhook invocation, if any.