Quick Start

Get started in minutes

1

Generate an API key

Go to the API Keys tab in your dashboard and create a new key. Save it somewhere safe — you'll only see it once.

Go to dashboard

2

Make your first request

Use curl, or any HTTP client, to call the API with your key.

Terminal
curl -X POST "https://api.tarqaai.com/api/v1/chat/completions" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-opus-4-6",
    "messages": [{"role": "user", "content": "Hello, TarqaAI!"}]
  }'

Expected response

200 OK
{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "created": 1751760000,
  "model": "claude-opus-4-6",
  "choices": [{
    "index": 0,
    "message": {
      "role": "assistant",
      "content": "Hello! I'm TarqaAI, your unified AI gateway..."
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 14,
    "completion_tokens": 32,
    "total_tokens": 46
  }
}
3

Start building

Explore the endpoints, integrate with your app, and watch usage come in on the Activity tab in real time.