Skip to content

From existing SDK to first DMS request.

Use the standard OpenAI client with the DMS API base URL and a model ID available to your plan.

Base URL

Use this URL for OpenAI-compatible client libraries and tools.

https://api.dmslab.ai/v1

Authentication

Pass your DMS API key as a Bearer token. Keep it out of browser bundles and source control.

Authorization: Bearer $DMSLAB_API_KEY
QUICKSTARTTypeScript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.DMSLAB_API_KEY,
  baseURL: "https://api.dmslab.ai/v1",
});

const response = await client.chat.completions.create({
  model: "dmslab/pro-256k",
  messages: [
    { role: "user", content: "Review this production change." }
  ],
});
The live API reference is currently unavailable. The quickstart above remains usable with a valid DMS API key.