Elenika API Documentation

Build custom integrations and extensions using our well-defined REST and GraphQL APIs.

Get Started

Authentication

Secure API access using our token-based authentication system.

View Docs

Endpoints

Explore over 50+ endpoints for code analysis, workflow automation and more.

View Docs

SDKs

Ready-to-use SDKs for JavaScript, Python and Go programming languages.

View Docs

Quickstart Guide

// Install CLI
$ curl https://elenika.gr/install.sh | sh

// Initialize project
$ elenika init my-project

// Run with your API key
$ export ELENIKA_TOKEN=my-api-key
$ elenika dev
                

Requirements

  • • Node.js 16+
  • • Valid API token

Next Steps

  • 1. Create an account
  • 2. Generate API token
  • 3. Test API integration
Continue to Authentication Docs

API Authentication

Generate an API Token

curl -X POST https://api.elenika.gr/auth/token
{
"username": "your-email@example.com",
"password": "your-password"
}

Token expiration: 24 hours

Using the Token

curl -X GET https://api.elenika.gr/v1/projects \
     -H "Authorization: Bearer YOUR_API_TOKEN"
                        

Authentication Flow

1
Create account
2
Generate token
3
Use in API requests

Key Features

Our API provides the tools you need for powerful integrations.

Secure API Keys

Create and manage secure API keys with granular access controls for different environments.

View Details →

Rate Limiting

Control access with configurable rate limits and usage tracking across all API endpoints.

View Details →

API Webhooks

Get real-time notifications for all important API events with custom event filtering.

View Details →

Code Examples

JavaScript SDK Example


// Initialize SDK with your API token
const elenika = new Client({
apiKey: 'your-api-token'
});

// List all your projects
try {
const response = await elenika.projects.list();
console.log('Projects:', response.projects);
} catch (error) {
console.error('API Error:', error.message);
}

REST API Example


curl -X GET https://api.elenika.gr/v1/code-search \
     -H "Authorization: Bearer YOUR_API_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"query": "search for async operation patterns"}' \
     -u "user:password"