ByteLabs AI · API v1

Build your product. Own the stack.

Integrate ByteLabs AI (GPT Gray 1.0), live search grounding, and document OCR from one predictable OpenAI-compatible contract at platform.byteai.in.

server.tsOpenAI-compatible
// Call Byte AI strictly from your server runtime
const res = await fetch('https://platform.byteai.in/v1/chat/completions', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.BYTEAI_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'gpt-gray',
    web_search: true,
    messages: [{ role: 'user', content: 'Summarize https://example.com' }],
  }),
})

Scoped keys per environment

Isolate production, staging, and partner apps with complete, vision, or search scopes. Revoke any credential instantly.

OpenAI-compatible SSE streaming

Drop into existing backend SDKs with POST /v1/chat/completions, real-time server-sent events, and detected task metadata.

Native web citations

Pass web_search: true or "auto" to retrieve ranked live sources returned cleanly in the response byteai object.

Hardened link inspection

Any https:// link in the latest user turn is automatically parsed and returned as an inspectable Page source.

Predictable observability

Per-task 30-day telemetry inside your console alongside x-ratelimit-* and x-request-id trace headers.

Zero training on API data

API requests and responses remain isolated from consumer chat experiments and are never used for model training.

Live API Explorer

Inspect endpoints. Generate working calls.

Live status from GET /api/models paired with copy-ready curl and TypeScript fetch examples across chat, vector search, and model discovery.

GPT Gray 1.0

gpt-gray · Checking availability…

chatstreamingweb_searchpage_visitspecializations

Cited Web & Link Grounding

web_search: "auto" · Auto-detects freshness, executes multi-provider search, and inspects shared https:// links safely.

auto_searchssrf_guardedcitations

scaleArchitecture

Probing /api/models…

shardedPostgres: unknownvectorStore: unknown

OpenAI-compatible chat completions with optional streaming and web search.

Model:
Options:
POST /v1/chat/completions
curl -sS https://platform.byteai.in/v1/chat/completions \
  -H "Authorization: Bearer $BYTEAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-gray",
    "stream": false,
    "web_search": true,
    "messages": [
      { "role": "user", "content": "Summarize https://example.com" }
    ]
  }'
Production onboarding

Minutes to first call. Ready for scale.

Generate a credential, point your server SDK at /v1, and inspect usage metrics in real time.

Explore full reference
  1. 01

    Issue a scoped key

    Label credentials per service or environment. Secrets are displayed once upon generation.

  2. 02

    Route backend requests

    Keep keys out of browser bundles and client code; authenticate via Bearer token header.

  3. 03

    Trace & rotate safely

    Follow x-request-id logs, track 30-day task breakdown, and rotate keys with zero downtime.

ByteLabs AI Developer Platform & API · ByteLabs AI