Tarseek API · Pre-production
Quickstart
The API base URL is https://tarseek.com/v1. Use the OpenAI SDK pointed at that URL, or send HTTP requests directly. There is no separate Tarseek SDK.
1. Create an API key
Sign in, open a project, and create a key. Keys use the trsk_live_ prefix. Copy the secret when it is shown; it cannot be retrieved later.
Keys are created in the dashboard. Inference keys are not created through a public key-management route on the inference API. Management credentials, described under project controls, can create project keys.
2. Connect a provider key
Open the project settings, choose a supported provider, and save your own OpenAI, Anthropic, or Google API key. Tarseek never falls back to a Tarseek-owned provider key. Provider usage is billed directly to your provider account.
3. Make a chat request
from openai import OpenAI
client = OpenAI(
api_key="trsk_live_...",
base_url="https://tarseek.com/v1",
)
completion = client.chat.completions.create(
model="openai/gpt-4o-mini",
messages=[{"role": "user", "content": "Say hello from Tarseek."}],
)
print(completion.choices[0].message.content)Use a model ID from the catalog. Do not hardcode provider-specific aliases unless the catalog lists them.
