Developer platform · API v1

Build your product.
Bring your own intelligence layer.

Use GPT Gray and ByteAI workflows through a stable API. Keep your product, customers, and data independent while ByteAI powers the AI features underneath.

Scoped keys Streaming chat Usage visibility
server.ts server-side
// Keep your key in your backend
const response = await fetch(
  'https://api.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',
      messages: [{ role: 'user', content: 'Explain this clearly.' }]
    })
  }
)
Secure API connectionGPT Gray 1.0
01

Keep products independent

Use separate server-side keys and scopes for each application, customer, or environment.

02

Stream and ship quickly

Use GPT Gray chat, web search, and structured task endpoints from your own backend.

03

See and control usage

Create, review, and revoke keys in your workspace. Track request counts and latency.

Your path to production

One clean start.
Room to grow.

Create a scoped key, call the API from your server, and keep an eye on usage in the workspace.

View the full API reference
01

Create a project key

Name a key for a product or environment. ByteAI shows the secret once.

02

Call the API server-side

Keep credentials out of browsers, mobile bundles, and public repositories.

03

Monitor and refine

Review request count and average response time, then rotate or revoke keys when needed.

Explore the surface

Tools that stay in their lane.

Public chat API docs Keys and usage
Developer platform — ByteAI