What the API does
Gobii is the easiest way to run productionbrowser-use instances in the cloud. Gobii exposes a REST API for managing always-on browser-use agents and submitting browser automation tasks to them, giving teams a managed way to trigger, monitor, and retrieve results from their agents programmatically. The core resources are agents (always-on browser-use workers) and tasks (a single request for browser-use).
The Gobii API is the easiest way to have a production ready, browser-use environment in the cloud - whether on our infrastructure at gobii.ai, or your own. Gobii is entirely open source.
Key Concepts
For developers, you may spawn always-on agents, or individual ad-hoc tasks. Both use the same infrastructure and have access to the same tools. Agents are better suited for repeating or evolving tasks to run until cancelled. Ad-hoc tasks are recommended for singular requests that will not repeat.| Agents | Tasks | |
|---|---|---|
| Always-On | ✅ | ❌ |
| browser-use | ✅ | ✅ |
| Tools | ✅ | ✅ |
| MCP | ✅ | ✅ |
| Consistent Browser Profile | ✅ | Optional |
Base URLs
-
Gobii Cloud:
https://gobii.ai/api/v1 -
Self-hosted/local:
http://localhost:8000/api/v1Note: You may configure self-hosted Gobii Platforms with a domain of your choice. For simplicity, our documentation will refer to self-hosted Gobii Platforms as the default localhost:8000
curl that hits production with the full path:
Authentication
- Send your API key in the
X-Api-Keyheader:X-Api-Key: <api_key>. - Create and manage keys in the Console under API Keys (
/console/api-keys/).
Environments
- Production: Multi-tenant Gobii Cloud at
https://gobii.aiwith managed upgrades. - Self-hosted/local: Run the platform yourself; the base URL defaults to
http://localhost:8000and all data stays within your deployment and use the LLM(s) of your choice.
Content & security conventions
- Requests and responses use JSON with UTF-8 encoding; set
Content-Type: application/jsonon writes. - All timestamps and scheduling use UTC.
- Resource identifiers are UUIDs (for example:
<uuid:id>paths on agents and tasks). - Required header:
X-Api-Keyfor authentication; addContent-Type: application/jsonwhen sending bodies.
HTTP patterns
- Agents (
/agents/):GET /agents/lists agents (paginated).POST /agents/creates an agent (non-idempotent).GET /agents/{agentId}/retrieves a single agent.PUT/PATCH /agents/{agentId}/updates agent settings (idempotent).DELETE /agents/{agentId}/deletes an agent.
- Tasks (
/tasks/browser-use/or/agents/browser-use/{agentId}/tasks/):POSTsubmits a task to an agent; usewaitfor sync responses or poll/result/.GETlists tasks (paginated) or retrieves a task.PUT/PATCHupdates mutable fields like metadata;DELETEcancels/removes.
- Pagination: Default page size is 10 with a
page_sizequery param (max 100).
Quickstart: health check
Verify connectivity and your API key with theping endpoint:
pong: true, your key is valid and the API is reachable. Next, try POST /tasks/ to run a browser automation task.