Data models
The SDK relies on Pydantic models to validate payloads. Import them fromsimulacrum.models when you need structured access.
ForecastRequest
Serialise with
model_dump() before sending requests manually.
ForecastResponse
Call
get_forecast() to convert the list into a numpy array for downstream analysis.
ValidateAPIKeyResponse
expires_at is optional and absent when the platform does not expose expiry information.