Skip to main content
The Traceport Gateway API provides an OpenAI-compatible interface that supports multiple LLM providers (OpenAI, Anthropic, Google, Bedrock) through a single set of endpoints.

Base URL

https://api.traceport.ai/v1

Authentication

All endpoints require API key authentication via the Authorization header:
Authorization: Bearer <YOUR_TRACEPORT_API_KEY>
You can generate API keys from the API Keys section in the Traceport dashboard.

Available Endpoints

Chat Completions

Create chat completions with streaming support.

Embeddings

Generate text embedding vectors.

Batches

Create and manage batch processing jobs.

Files

Upload and manage files for batch processing.

Workflows

Execute server-side workflows.

Prompts

Run published prompt templates via API.

OpenAI SDK Compatibility

Because the Traceport Gateway is OpenAI-compatible, you can use standard SDKs by simply changing the base_url:
from openai import OpenAI

client = OpenAI(
    api_key="<YOUR_TRACEPORT_API_KEY>",
    base_url="https://api.traceport.ai/v1"
)

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