You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Overview of the Bytebot API endpoints"
3
+
description: "Overview of the Bytebot API endpoints for programmatic control"
4
4
---
5
5
6
-
## Computer Use API
6
+
#Bytebot API Overview
7
7
8
-
Bytebot's core functionality is exposed through its Computer Use API, which provides a unified endpoint for all interactions with the desktop environment. The API allows for programmatic control of mouse movement, keyboard input, and screen capture.
8
+
Bytebotprovides two main APIs for programmatic control:
9
9
10
-
### Authentication
10
+
##1. Agent API (Task Management)
11
11
12
-
The Bytebot API does not require authentication by default when accessed locally. For remote access, standard network security practices should be implemented.
12
+
The Agent API runs on port 9991 and provides high-level task management:
13
13
14
-
### Base URL
15
-
16
-
All API endpoints are relative to the base URL:
14
+
<CardGroupcols={2}>
15
+
<Card
16
+
title="Task Management"
17
+
icon="list-check"
18
+
href="/api-reference/agent/tasks"
19
+
>
20
+
Create, manage, and monitor AI-powered tasks programmatically
21
+
</Card>
22
+
<Card
23
+
title="UI Integration"
24
+
icon="window"
25
+
href="/api-reference/agent/ui"
26
+
>
27
+
WebSocket connections and real-time updates for custom UIs
28
+
</Card>
29
+
</CardGroup>
17
30
31
+
### Agent API Base URL
18
32
```
19
-
http://localhost:9990
33
+
http://localhost:9991
20
34
```
21
35
22
-
The port can be configured when running the container.
36
+
### Example Task Creation
37
+
```bash
38
+
curl -X POST http://localhost:9991/tasks \
39
+
-H "Content-Type: application/json" \
40
+
-d '{
41
+
"description": "Download invoices from webmail and organize by date",
42
+
"priority": "HIGH"
43
+
}'
44
+
```
45
+
46
+
## 2. Desktop API (Direct Control)
23
47
24
-
### API Endpoints
48
+
The Desktop API runs on port 9990 and provides low-level desktop control:
0 commit comments