# Quickstart (/docs)



Stogas provides one API for supported AI models. Existing OpenAI-compatible clients work by changing the base URL.

## 1. Create an API key [#1-create-an-api-key]

Create a key in the [Stogas dashboard](https://app.stogas.ai), then export it:

```console
export STOGAS_API_KEY="your-key"
```

## 2. Send a request [#2-send-a-request]

```console
curl https://api.stogas.ai/v1/chat/completions \
  -H "Authorization: Bearer $STOGAS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5-mini",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
```

Or use the OpenAI Python client:

```python
from openai import OpenAI

client = OpenAI(
    api_key="your-key",
    base_url="https://api.stogas.ai/v1",
)

response = client.chat.completions.create(
    model="openai/gpt-5-mini",
    messages=[{"role": "user", "content": "Say hello in one sentence."}],
)
print(response.choices[0].message.content)
```

## 3. Choose a model [#3-choose-a-model]

Use the [model catalog](https://stogas.ai/catalog), or query it directly:

```console
curl https://api.stogas.ai/v1/models
```

## Verify the confidential gateway [#verify-the-confidential-gateway]

Normal OpenAI-compatible requests need no Stogas-specific inference SDK. If you want to verify the gateway and pin the attested TLS key, continue with the [verification quickstart](/docs/confidential-verification).

<Cards>
  <Card title="Verification quickstart" description="Use the CLI or embed a verifier SDK." href="/docs/confidential-verification" />

  <Card title="Evidence and freshness" description="Understand bundles, expiry, and node freshness." href="/docs/confidential-bundle" />

  <Card title="Security model" description="See what confidential verification proves and does not prove." href="/docs/confidential-security-model" />

  <Card title="API reference" description="Browse request fields and live endpoint examples." href="/docs/reference" />
</Cards>
