Developer API

Authentication

All ZeroTrain API requests require an API Key. Requests without a valid API Key will be rejected.

Header Format

The x-engine-access-key keyname must be provided in the HTTP request header:

x-engine-access-key: your-api-key-here    

Example Request (curl)

curl -X POST  
  -H "Content-Type: application/json" \
  -H "x-engine-access-key: your-api-key-here" \
  -d '{
        "ModelSource": "...",
        "InputSource": { ... }
      }'    

Authentication Failures

  • 401 Unauthorized – Missing APIKey
  • 403 Forbidden – Invalid or disabled APIKey

API keys are tied to a subscription and may enforce rate limits, deployment scope, or solution tier.