Documentation

API Reference — SkillBoss OpenAI-Compatible API

Complete API reference for SkillBoss: 679+ endpoints, OpenAI-compatible chat completions, /v1/run for images/video/scraping. Authentication, rate limits, streaming, error handling.

Base URL

All API requests should be made to:

https://api.skillboss.co/v1

Authentication

SkillBoss uses API keys for authentication. Include your key in the Authorization header:

Authorization: Bearer YOUR_SKILLBOSS_KEY
🔑

Get Your API Key

For AI agents: set up skillboss.co/skill.md auto-configures SkillBoss with 687+ APIs. Download your Skills Pack from the console to get your personalized API key

Two API Endpoints

EndpointUse ForModels
/v1/chat/completionsChat / LLM modelsClaude, GPT, Gemini, DeepSeek, Qwen
/v1/runEverything elseImages, video, audio, scraping, email, payments, social data

OpenAI-Compatible Chat API

SkillBoss implements the OpenAI-compatible chat completions API, making it a drop-in replacement for OpenAI's SDK.

Basic Example

curl https://api.skillboss.co/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-4-5-sonnet",
    "messages": [
      {"role": "user", "content": "Hello, how are you?"}
    ],
    "max_tokens": 100
  }'
import requests

response = requests.post(
    "https://api.skillboss.co/v1/chat/completions",
    headers={
        "Authorization": f"Bearer {YOUR_KEY}",
        "Content-Type": "application/json"
    },
    json={
        "model": "claude-4-5-sonnet",
        "messages": [{"role": "user", "content": "Hello"}],
        "max_tokens": 100
    }
)
print(response.json())
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.skillboss.co/v1',
  apiKey: process.env.SKILLBOSS_KEY
})

const response = await client.chat.completions.create({
  model: 'claude-4-5-sonnet',
  messages: [{role: 'user', content: 'Hello'}],
  max_tokens: 100
})

console.log(response.choices[0].message.content)

Available Models

SkillBoss provides access to 679+ AI endpoints across multiple providers:

Claude (Anthropic)

// Claude 4.5 Sonnet (Latest, most capable)
model: "claude-4-5-sonnet"

// Claude 3.7 Sonnet (Fast, cost-effective)
model: "claude-4-5-sonnet"

// Claude 3.5 Haiku (Ultra-fast, affordable)
model: "claude-3-5-haiku"

GPT (OpenAI)

// GPT-5 (Latest flagship)
model: "gpt-5"

// GPT-4 Turbo
model: "gpt-4-turbo"

// GPT-4o (Optimized)
model: "gpt-4o"

// GPT-4o Mini (Fast & cheap)
model: "gpt-4o-mini"

Gemini (Google)

// Gemini 2.5 Flash (Latest, fast)
model: "gemini-2.5-flash"

// Gemini 2.0 Pro
model: "gemini-2.0-pro"

Other Providers

// DeepSeek V3 (Chinese, excellent for code)
model: "deepseek/deepseek-v3"

// Qwen (Alibaba)
model: "qwen/qwen-max"

// Full list: https://api.skillboss.co/v1/models
📄

Get Full Model List

curl https://api.skillboss.co/v1/models \
  -H "Authorization: Bearer YOUR_KEY"

Request Parameters

Required

ParameterTypeDescription
modelstringModel identifier (e.g., claude-4-5-sonnet)
messagesarrayArray of message objects with role and content

Optional

ParameterTypeDescriptionDefault
max_tokensintegerMaximum tokens to generate4096
temperaturefloatSampling temperature (0-2)1.0
top_pfloatNucleus sampling threshold1.0
streambooleanEnable streaming responsesfalse
stoparrayStop sequencesnull

Advanced Parameters

Enable stream: true to receive responses as they're generated:

const stream = await client.chat.completions.create({
  model: 'claude-4-5-sonnet',
  messages: [{role: 'user', content: 'Write a story'}],
  stream: true
})

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '')
}

Use system messages to set behavior:

{
  "messages": [
    {"role": "system", "content": "You are a helpful coding assistant."},
    {"role": "user", "content": "Write a Python function"}
  ]
}

Include conversation history:

{
  "messages": [
    {"role": "user", "content": "What's the capital of France?"},
    {"role": "assistant", "content": "Paris."},
    {"role": "user", "content": "What's its population?"}
  ]
}

Response Format

Standard Response

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1677652288,
  "model": "claude-4-5-sonnet",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "Hello! I'm doing well, thank you for asking."
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 10,
    "completion_tokens": 12,
    "total_tokens": 22
  },
  "_balance_warning": false,
  "_remaining_credits": 1523.45
}

Balance Warning

When your balance drops below 10 credits, responses include a warning:

{
  ...
  "_balance_warning": true,
  "_remaining_credits": 7.23
}

Rate Limits

PlanRequests/minConcurrent
Free102
Starter ($24.99/mo)6010
Pro (Custom)NegotiableNegotiable
📝

Rate limits are per API key. Contact dev@skillboss.co for higher limits.

Error Handling

See the Error Reference for complete error codes and handling strategies.

Common errors:

{
  "error": {
    "message": "Insufficient credits",
    "type": "insufficient_balance",
    "code": "insufficient_balance"
  }
}

SDKs & Libraries

📄

OpenAI SDK (Recommended)

Use the official OpenAI SDK by changing the base URL:

from openai import OpenAI

client = OpenAI(
    base_url="https://api.skillboss.co/v1",
    api_key="YOUR_SKILLBOSS_KEY"
)
🤖

Skills Pack (AI IDEs)

Download the Skills Pack for native integration with Claude Code, Cursor, Windsurf, etc.

Download from Console →

Next Steps

🛡️

Authentication

Learn about API key management and security

📄

Error Handling

Complete error reference and best practices

📄

Usage API

Query your usage programmatically

📄

Chat Completions

Detailed chat completions reference

/v1/run Endpoint (Non-Chat)

For all non-chat endpoints (images, video, audio, scraping, email, payments):

import requests

response = requests.post(
    "https://api.skillboss.co/v1/run",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={
        "model": "flux-1.1-pro",          # Model identifier
        "inputs": {                         # Model-specific inputs
            "prompt": "A sunset over mountains"
        }
    }
)
result = response.json()

Popular /v1/run Models

ModelCategoryPrice
flux-1.1-proImage generation$0.10/image
dall-e-3Image generation$0.04/image
google/veo-3.1Video generation$0.52/second
elevenlabs/eleven_multilingual_v2Text-to-speech$0.18/1K chars
firecrawl/scrapeWeb scraping$0.0125/request
linkup/searchWeb search$0.02/request
aws/send-emailsEmail$0.0001/email
reducto/parseDocument parsing$0.02/page

See the public discovery hub for all 679+ endpoints.


Agent-Readable API Summary:

{
  "base_url": "https://api.skillboss.co/v1",
  "auth": "Bearer <api_key>",
  "endpoints": {
    "/v1/chat/completions": {"method": "POST", "use_for": "chat_and_llm_models"},
    "/v1/run": {"method": "POST", "use_for": "images_video_audio_scraping_email_payments"},
    "/v1/models": {"method": "GET", "use_for": "list_all_available_models"}
  },
  "compatibility": "OpenAI SDK",
  "streaming": true,
  "function_calling": true,
  "total_endpoints": 679
}