Commissioned
API

API Overview

Integrate your fine-tuned models into any application with the OpenAI-compatible API.

Commissioned exposes an OpenAI-compatible REST API so you can use your fine-tuned models from any application, script, or tool.

Base URL

https://app.commissioned.tech/v1

Endpoints

EndpointMethodDescription
/v1/chat/completionsPOSTSend messages to a fine-tuned model
/v1/modelsGETList your fine-tuned models

Authentication

All requests require a Bearer token (API key). Create keys from your profile. See Authentication.

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://app.commissioned.tech/v1",
    api_key="your-api-key",
)

response = client.chat.completions.create(
    model="your-model-id",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(response.choices[0].message.content)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://app.commissioned.tech/v1",
  apiKey: "your-api-key",
});

const response = await client.chat.completions.create({
  model: "your-model-id",
  messages: [
    { role: "user", content: "Hello!" }
  ],
});

console.log(response.choices[0].message.content);
curl https://app.commissioned.tech/v1/chat/completions \
  -H "Authorization: Bearer your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "your-model-id",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'

Because the API follows the OpenAI spec, any tool or library that supports custom OpenAI-compatible endpoints works out of the box — just change the base URL and API key.

Compatibility

The OpenAI-compatible API works with:

See SDKs & Libraries for setup guides.

On this page