API Reference
320+ RESTful endpoints. Cookie or Bearer token authentication. Comprehensive coverage of every CorePlexML feature.
Authentication
CorePlexML supports two authentication methods depending on your integration pattern. API clients use Bearer tokens; browser-based sessions are handled automatically via cookies.
Bearer Token (API)
Include your API key in the Authorization header as a Bearer token. Ideal for scripts, SDKs, and server-to-server communication.
Cookie Session (UI)
Automatic for browser-based interactions. After login, an HTTP-only session cookie authenticates all subsequent requests with CSRF protection.
# List all projects
curl -X GET https://api.coreplexml.io/api/projects \
-H "Authorization: Bearer sk_your_api_key" \
-H "Content-Type: application/json"import requests
resp = requests.get(
"https://api.coreplexml.io/api/projects",
headers={"Authorization": "Bearer sk_your_api_key"}
)API Modules
Eight modules covering the full ML lifecycle. Each endpoint follows consistent REST conventions with JSON payloads.
AutoML & Models
~20 endpointsTrain production-grade models with automated algorithm selection, hyperparameter tuning, and stacked ensembles.
MLOps & Deployments
~40 endpointsDeploy models to production with canary rollouts, A/B testing, drift detection, and auto-retraining policies.
Privacy Suite
~25 endpointsHIPAA, GDPR, PCI-DSS, and CCPA compliance with 72+ PII detectors, anonymization transforms, and audit trails.
SynthGen
~8 endpointsGenerate statistically faithful synthetic datasets using CTGAN, CopulaGAN, and TVAE architectures.
ML Studio
~8 endpointsInteractive What-If analysis with scenario comparison, baseline predictions, and SHAP contributions.
Dataset Builder
~10 endpointsConversational ETL powered by LangGraph. Clean, transform, and export datasets through natural language.
Datasets & Projects
~25 endpointsUpload datasets in CSV, Excel, JSON, or XML. Organize work into projects with team access controls.
Reports
~5 endpointsGenerate comprehensive PDF or HTML reports for experiments, deployments, and data quality audits.
Request & Response
A complete prediction request showing input payload, model output, feature contributions, and response latency.
POST /api/mlops/deployments/{deployment_id}/predict
Content-Type: application/json
Authorization: Bearer sk_your_api_key
{
"inputs": {
"age": 35,
"income": 75000,
"credit_score": 720
}
}{
"prediction": "approved",
"probability": 0.94,
"contributions": {
"credit_score": 0.42,
"income": 0.31,
"age": 0.15
},
"model_id": "mod_abc123",
"latency_ms": 23
}Error Handling
All errors return a consistent JSON envelope with a human-readable detail message, HTTP status code, and error type identifier.
{
"detail": "Project not found",
"status_code": 404,
"error_type": "not_found"
}Status Codes
Conventions & Limits
Rate Limits
Configurable per deployment. Default burst and sustained limits protect against abuse while keeping latency low.
Request Format
All request and response bodies use JSON. File uploads use multipart/form-data for CSV, Excel, JSON, and XML.
Pagination
List endpoints support limit and offset query parameters. Default limit is 50, maximum is 200.
Async Operations
Long-running jobs (AutoML, report generation) return a job ID. Poll with GET status endpoints until completion.
File Uploads
Use multipart/form-data with the file field. Supported: CSV (.csv), Excel (.xlsx), JSON (.json), and XML (.xml).
Versioning
API is versioned at the path level. Current stable version is v1. Breaking changes are communicated 90 days in advance.
Ready to integrate?
Get your API key and start building with CorePlexML in minutes. Full SDK support for Python with type hints and async.