Skip to main content

Documentation Index

Fetch the complete documentation index at: https://student-213fb9fc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

API Keys

All requests to AJ STUDIOZ Cloud Infra require an API key. You can create and manage API keys in the console.
Never expose your API key in client-side code or public repositories. Store it as an environment variable.

Passing the API Key

Include your API key in the Authorization header as a Bearer token:
Authorization: Bearer YOUR_API_KEY

Examples

curl https://api.ajstudioz.co.in/api/tags \
  -H "Authorization: Bearer YOUR_API_KEY"

Environment Variables

We strongly recommend storing your API key in an environment variable:
export AJSTUDIOZ_API_KEY="YOUR_API_KEY"
Then reference it in your code:
import os
from ollama import Client

client = Client(
    host="https://api.ajstudioz.co.in",
    headers={"Authorization": f"Bearer {os.environ['AJSTUDIOZ_API_KEY']}"}
)

API Key Scopes

ScopeDescription
inferenceMake model inference requests (chat, generate, embeddings)
readRead model information and usage stats
adminFull access including key management
By default, new keys have inference + read access.

Base URLs

API TypeBase URL
Ollama-compatiblehttps://api.ajstudioz.co.in
OpenAI-compatiblehttps://api.ajstudioz.co.in/v1

Error Codes

CodeMeaning
401Invalid or missing API key
403API key doesn’t have required scope
429Rate limit exceeded
503Model temporarily unavailable

View Rate Limits