Skip to main content
This page provides an overview of the public HTTP API and links to endpoint-specific docs.

Base URL

https://llm.dat.ai

Authentication

All endpoints require:
  • Authorization: Bearer <api-key>
If the key is missing or invalid, the server returns 401.

Common headers

  • X-Request-ID: <string> — optional request identifier. If omitted, the server generates one.
  • Content-Type:
    • for JSON requests: application/json
    • for audio upload: multipart/form-data (file upload) or any Content-Type (raw bytes in request body)

Timeouts

  • Browsing + Transcribe sync endpoints: up to 10 minutes waiting for the result.
  • Chat endpoints:
    • default: 5 minutes
    • with built-in tools enabled (datai.tools): 10 minutes

API docs

  • Browsing: /api/v1/browsing/* → see Browsing
  • Transcribe: /api/whisper/transcribe/* → see Transcribe
  • Completions: /v1/chat/completions → see Completions
  • Chat: /api/chat → see Chat