Skip to main content

Getting Started with Cognitera Intelligence

Cognitera Intelligence provides Infrastructure as a Service (IaaS) optimized for AI workloads. Our platform offers:

  • PostgreSQL Databases — Managed, provisioned-on-demand databases
  • GPU Cluster Access — Submit compute jobs to our GPU cluster
  • AI Model Inference — Run inference against hosted AI models via a simple API

Quick Start

1. Create an Account

curl -X POST https://intelligence.cognitera.ai/api/auth/register \
-H "Content-Type: application/json" \
-d '{
"email": "you@example.com",
"name": "Your Name",
"password": "your-secure-password"
}'

2. Get Your JWT Token

curl -X POST https://intelligence.cognitera.ai/api/auth/login \
-H "Content-Type: application/json" \
-d '{
"email": "you@example.com",
"password": "your-secure-password"
}'

Response:

{
"accessToken": "eyJhbGciOiJIUzI1NiIs...",
"client": {
"id": "uuid",
"email": "you@example.com",
"name": "Your Name",
"role": "client"
}
}

3. Generate an API Key (Optional)

For programmatic access, generate a persistent API key:

curl -X POST https://intelligence.cognitera.ai/api/auth/api-keys \
-H "Authorization: Bearer YOUR_JWT_TOKEN"

4. Start Using the API

Use your token to access any service:

# Run AI inference
curl -X POST https://intelligence.cognitera.ai/api/models/infer \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "phi3:3.8b",
"prompt": "Explain quantum computing in simple terms"
}'

Base URL

All API requests go to:

https://intelligence.cognitera.ai/api

Authentication

All endpoints (except /auth/register, /auth/login, and /models) require a Bearer token:

Authorization: Bearer YOUR_JWT_TOKEN

Rate Limits

Usage is metered and billed per resource consumed. Check your usage at any time:

curl https://intelligence.cognitera.ai/api/usage/me \
-H "Authorization: Bearer YOUR_JWT_TOKEN"

Next Steps