Scoped keys per environment
Isolate production, staging, and partner apps with complete, vision, or search scopes. Revoke any credential instantly.
Integrate ByteLabs AI (GPT Gray 1.0), live search grounding, and document OCR from one predictable OpenAI-compatible contract at platform.byteai.in.
// 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' }],
}),
})Isolate production, staging, and partner apps with complete, vision, or search scopes. Revoke any credential instantly.
Drop into existing backend SDKs with POST /v1/chat/completions, real-time server-sent events, and detected task metadata.
Pass web_search: true or "auto" to retrieve ranked live sources returned cleanly in the response byteai object.
Any https:// link in the latest user turn is automatically parsed and returned as an inspectable Page source.
Per-task 30-day telemetry inside your console alongside x-ratelimit-* and x-request-id trace headers.
API requests and responses remain isolated from consumer chat experiments and are never used for model training.
Live status from GET /api/models paired with copy-ready curl and TypeScript fetch examples across chat, vector search, and model discovery.
gpt-gray · Checking availability…
web_search: "auto" · Auto-detects freshness, executes multi-provider search, and inspects shared https:// links safely.
Probing /api/models…
OpenAI-compatible chat completions with optional streaming and web search.
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" }
]
}'Generate a credential, point your server SDK at /v1, and inspect usage metrics in real time.
Explore full referenceLabel credentials per service or environment. Secrets are displayed once upon generation.
Keep keys out of browser bundles and client code; authenticate via Bearer token header.
Follow x-request-id logs, track 30-day task breakdown, and rotate keys with zero downtime.