API Reference

Welcome to the Bleu.js API reference documentation. Browse the API endpoints in the sidebar or use the search bar to find specific functionality.

Getting Started

Authentication

All API requests require authentication using an API key. You need to include your API key in the Authorization header of your requests.

// Example: Including the API key in requests
const response = await fetch('https://api.bleujs.org/v1/generate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer YOUR_API_KEY'
  },
  body: JSON.stringify({
    prompt: 'Hello, world!'
  })
});
Learn more about authentication →

API Endpoint Categories

Core API

The core endpoints for generating content, chat conversations, and text embeddings.

ML Models

Endpoints for listing, training, and using machine learning models.

Integration

Endpoints for integrating Bleu.js with other services and systems.

Resources

Additional resources to help you use the Bleu.js API effectively.

Need Help?

If you have questions about the API or need assistance, check out our support resources or contact our team.