Skip to content

REST API

Cloud Only

The Cloud REST API is available at https://api.adhf.dev. Self-hosted users can access a local API at http://localhost:3847.

Authentication

All API requests require an API key:

bash
curl -H "Authorization: Bearer adk_your_key" \
     https://api.adhf.dev/api/v1/daemons

Endpoints

List Daemons

http
GET /api/v1/daemons

Returns all connected machines.

List IDEs on a Machine

http
GET /api/v1/daemons/{daemonId}/ides

Send Message to Agent

http
POST /api/v1/agents/{ideId}/send
json
{
  "agentType": "cursor",
  "message": "Fix the login bug"
}

Approve/Reject Agent Action

http
POST /api/v1/agents/{ideId}/approve
json
{
  "agentType": "cursor",
  "approve": true
}

Read Current Chat

http
GET /api/v1/agents/{ideId}/chat

Take Screenshot

http
POST /api/v1/agents/{ideId}/screenshot

Returns a JPEG screenshot of the IDE.

Rate Limits

PlanMonthly Calls
Free1,000
Pro50,000
Team500,000
EnterpriseUnlimited

Error Codes

CodeDescription
401Invalid or missing API key
403Action not permitted for this key's scope
404Daemon or IDE not found
429Rate limit exceeded
500Server error

Released under the AGPL-3.0 License (OSS) / Proprietary (Cloud)