Reference · 02

Quickstart

Send your first request to the Decks Digital API.

1. Create an API key

API keys are created in the platform console and shown once. Store the value in your backend secret manager as DECKS_API_KEY.

HTTP
dk_live_••••••••••

2. Configure your client

Python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.decksdigital.ai/v1",
    api_key="YOUR_DECKS_API_KEY"
)

3. Choose a model

Python
model="deepseek/deepseek-v4-pro"

4. Send a request

Python
response = client.chat.completions.create(
    model="deepseek/deepseek-v4-pro",
    messages=[
        {
            "role": "user",
            "content": "Hello."
        }
    ]
)

Switching models requires changing only the model identifier — the request and response format stays the same.