HTTP API for LLM inference, browser automation, and speech-to-text on dat.ai’s distributed network of edge devices.
Base URL: https://llm.dat.ai
Getting Started
The dat.ai HTTP API covers inference (LLM chat), browser automation, and audio transcription. All endpoints require a Bearer API key.
API groups
| Group | Endpoints | Description |
|---|---|---|
| Inference | POST /v1/chat/completions, POST /api/chat | OpenAI- and Ollama-compatible chat |
| Browsing | POST /api/v1/browsing/*, GET .../status, GET .../screenshots/... | Browser automation on real devices |
| Transcribing | POST /api/transcribe/*, GET .../status | Speech-to-text (Whisper) |
Quick start
Create an API key in the dashboard , then run:
curl -sS -X POST "https://llm.dat.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3:1.7b",
"messages": [{"role": "user", "content": "Hello!"}],
"stream": false
}'Task lifecycle
Browsing and transcribing use the same async pattern:
- Create —
POST .../asyncorPOST .../sync→ receivetask_id - Poll —
GET .../status?task_id=...untilstatusiscompletedorfailed - Result — when completed, the status response includes
success,payload, and optionalerror
Sync endpoints skip step 2 and block until the result is ready (with a server-side timeout).
Next steps
- Authentication — API keys, headers, error formats
- Inference overview — models, streaming, built-in tools
- Browsing overview — filters, screenshots
- Transcribing overview — audio formats and limits