API Reference

Integrate Zero Creativity's predictive models directly into your infrastructure. Our API is designed for high-throughput, low-latency forward deployment.

Predictive Analytics

The /predict endpoint allows you to generate real-time forecasts based on your streamed data. The model automatically selects the best algorithm for your data distribution.

Parameters

  • dataset (string): The ID of your registered dataset.
  • horizon (string): Time horizon for prediction (e.g., "24h", "7d").
  • features (array): List of specific feature keys to analyze.

Rate Limits

The API is rate limited to 1000 requests per minute for standard tiers. Enterprise plans support custom rate limits and dedicated throughput capacity.

import { ZeroClient } from '@zero-creativity/sdk';
// Initialize the client
const client = new ZeroClient({
apiKey: process.env.ZERO_API_KEY,
});
// Analyze data stream
const analysis = await client.analytics.predict({
dataset: 'production_metrics',
horizon: '24h',
features: ['cpu_usage', 'memory_load', 'request_latency']
});
if (analysis.riskLevel > 0.8) {
console.log('High risk alert:', analysis.recommendations);
}
/* Optional: Add line numbers here if desired */

Want to run this? Get your API Key