Skip to main content

Getting started

Follow these three steps to send your first API request.

1. Create an account and API key

Sign up at the Inducta console and create an API key from the dashboard. Store it somewhere safe — you won’t be able to see it again. Set it as an environment variable:
export INDUCTA_API_KEY="your-api-key"

2. Set up your dev environment

Install the OpenAI SDK for your language. The Inducta API is fully compatible with the OpenAI client libraries.
pip install openai

3. Send a test request

from openai import OpenAI

client = OpenAI(
    base_url="https://api.inducta.ai/v1",
    api_key="your-api-key",  # or use INDUCTA_API_KEY env var
)

response = client.chat.completions.create(
    model="openai/gpt-oss-120b",
    messages=[
        {"role": "user", "content": "What is Inducta?"}
    ],
)

print(response.choices[0].message.content)
You should see a response from the model. You’re all set.

Next steps