> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trustqai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Make your first request in a few minutes.

You'll need an invitation first; there's no public sign-up.

**1. Sign in**

Use the link in your invitation email, or the temporary password you were given, to sign in at [platform.trustqai.com](https://platform.trustqai.com). You'll set your own password the first time.

**2. Create an API key**

Go to **Keys** and create one. Copy it now; it's only shown once.

> [!NOTE]
>
> A new key can take up to a minute to start working. If you get a `401`, wait and retry.

**3. Send a request**

Put the key in an environment variable:

```bash theme={null}
export QAI_API_KEY="sk-qai-..."
```

Then:

```bash curl theme={null}
curl https://api.trustqai.com/v1/chat/completions \
  -H "Authorization: Bearer $QAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qai/qwen3.8-27b",
    "messages": [{"role": "user", "content": "Write one sentence about Doha."}]
  }'
```

```python Python theme={null}
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustqai.com/v1",
    api_key=os.environ["QAI_API_KEY"],
)

response = client.chat.completions.create(
    model="qai/qwen3.8-27b",
    messages=[{"role": "user", "content": "Write one sentence about Doha."}],
)
print(response.choices[0].message.content)
```

```javascript Node.js theme={null}
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.trustqai.com/v1",
  apiKey: process.env.QAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "qai/qwen3.8-27b",
  messages: [{ role: "user", content: "Write one sentence about Doha." }],
});
console.log(response.choices[0].message.content);
```

**4. See it in the dashboard**

The request shows up in **Observability** with its tokens and cost.

`qai/qwen3.8-27b` is just an example. See [Models](https://docs.trustqai.com/platform/models.md) for how to list what your key can use.

## Next steps

> [card] [API keys](https://docs.trustqai.com/platform/api-keys.md)
>
> Expiry and revoking.

> [card] [Errors](https://docs.trustqai.com/api-reference/errors.md)
>
> What went wrong and what to do.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.