Models and routes
- Base URL:
https://api.smlcrm.com/{modelName}/v1/*- Default model is
tempo. If your org has a fine-tuned model, replace{modelName}with your model’s name.- Access the list of models available to your org at
https://app.smlcrm.com/platform/settings/models.- The platform validates that the requested
{modelName}is available to your organization and will reject unauthorized models.
POST /tempo/v1/forecast
- Method:
POST - Path:
/tempo/v1/forecast - Purpose: Generate a next-step forecast for a univariate time series.
Headers
Authorization: Bearer sim-key_id-secretContent-Type: application/json
Request body
Body fields
series(array[], required): Observed values in time order.horizon(integer, required): Number of future steps to forecast.
Responses
200 OK
Error codes
API_KEY_INVALID,API_KEY_INACTIVE,API_KEY_EXPIREDREQUEST_INVALIDFORECAST_ALREADY_RUNNINGAPI_USAGE_LIMIT
GET /tempo/v1/validate
- Method:
GET - Path:
/tempo/v1/validate - Purpose: Validate an API key and retrieve metadata.
Headers
Authorization: Bearer sim-key_id-secret
Responses
200 OK
expires_at field is null.