Developer documentation

SYC API quickstart

Use SYC API with OpenAI-compatible SDKs and tools. Your account-specific endpoint and live key are shown inside the customer portal.

1. Create an API key

Open the customer portal, create a new API key, and keep it private. API keys should only be used from trusted server-side code.

Environment.env
SYC_API_KEY=sk-your-syc-api-key
SYC_API_ENDPOINT=provided-in-portal

Authentication

Send your API key in the Authorization header.

HTTPBearer token
Authorization: Bearer YOUR_SYC_API_KEY

Examples

PythonOpenAI SDK
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_SYC_API_KEY"
)

response = client.chat.completions.create(
    model="gpt-4o-mini",
    messages=[{"role": "user", "content": "Write a haiku about APIs"}]
)

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

const client = new OpenAI({
  apiKey: "YOUR_SYC_API_KEY",
});

const response = await client.chat.completions.create({
  model: "gpt-4o-mini",
  messages: [{ role: "user", content: "Hello from SYC API" }],
});

console.log(response.choices[0].message.content);
cURLChat completions
curl YOUR_SYC_API_ENDPOINT/chat/completions \
  -H "Authorization: Bearer YOUR_SYC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [
      {"role": "user", "content": "Hello from SYC API"}
    ]
  }'

Supported models

Supported models may change as capacity and provider availability change. Check the customer portal for the current catalog before production use.

ModelUse caseStatus
GPT familyChat, coding, automation, product featuresAvailable
Claude familyWriting, reasoning, code review, analysisAvailable
Gemini familyLong-context and fast application workflowsAvailable
DeepSeek / GLM / Kimi / MiniMaxGeneral chat, code, multilingual, and automation tasksAvailable

Error guide

CodeMeaningWhat to check
401Invalid API keyCheck the Authorization header and key status.
402Insufficient creditsAdd prepaid credits before retrying.
429Rate limit reachedReduce concurrency or upgrade limits.
500/502Temporary service issueRetry with backoff and check the status page.

Billing

SYC API uses prepaid credits for API usage. Customers add credits first, reserve a budget when creating a key, and can request refunds for unused credits within the published refund window.