Getting Started
Introduction

vikey.ai provides a simple and secure way to manage your AI API keys. This documentation will guide you through the process of integrating vikey.ai into your applications.

Authentication

To use the vikey.ai API, you need to authenticate using your API key. You can generate API keys from your dashboard.

// Example API key authentication
const headers = {
  'Authorization': 'Bearer YOUR_API_KEY',
  'Content-Type': 'application/json'
};

fetch('https://api.vikey.ai/v1/models', {
  method: 'GET',
  headers: headers
})
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
API Reference

This section contains detailed information about the vikey.ai API endpoints, request parameters, and response formats.

API Keys

Manage your API keys programmatically with these endpoints.

List API Keys

Returns a list of all API keys associated with your account.

GET/v1/api-keys
Response
{
  "api_keys": [
    {
      "id": "key_123456789",
      "name": "Production Key",
      "created_at": "2023-01-15T12:00:00Z",
      "last_used_at": "2023-01-20T15:30:00Z",
      "status": "active"
    },
    {
      "id": "key_987654321",
      "name": "Development Key",
      "created_at": "2023-01-10T09:00:00Z",
      "last_used_at": null,
      "status": "active"
    }
  ]
}
Models

Access information about available AI models.

List Models

Returns a list of all available AI models.

GET/v1/models
Response
{
  "models": [
    {
      "id": "model_123",
      "name": "GPT-4",
      "supplier": "OpenAI",
      "description": "Advanced language model with improved reasoning",
      "version": "1.0",
      "capabilities": ["text-generation", "code-generation", "reasoning"]
    },
    {
      "id": "model_456",
      "name": "Claude",
      "supplier": "Anthropic",
      "description": "Helpful, harmless, and honest AI assistant",
      "version": "2.0",
      "capabilities": ["text-generation", "summarization"]
    }
  ]
}
Frequently Asked Questions

We take security very seriously at vikey.ai. Your API keys are encrypted using industry-standard encryption algorithms and stored securely in our database.

We recommend the following best practices:

  • Regularly rotate your API keys
  • Use different API keys for different environments
  • Monitor API key usage for suspicious activity

If you suspect that your API key has been compromised, you should immediately:

  1. Revoke the compromised API key from your vikey.ai dashboard
  2. Generate a new API key
  3. Update your applications to use the new API key

If you need assistance, please contact our support team.

Need Help?
Contact Support

Our support team is available 24/7 to help you with any questions or issues.

Email Support