Javascript
import Semilattice from 'semilattice'; const client = new Semilattice({ apiKey: 'My API Key', }); const apiResponseListPopulations = await client.populations.list(); console.log(apiResponseListPopulations.data);
{ "data": [ { "id": "d670f351-8567-4586-9bba-b81add1bebe3", "created_at": "2025-06-23T15:38:01Z", "data_source": "User onboarding flow", "description": "A model of Developers based on the 2024 Stack Overflow Developer Survey.", "effective_date": "2024-01-09", "name": "Developers", "public": true, "question_count": 42, "reality_target": "Professional software developers", "simulacrum_count": 984, "simulation_engine": "answers-1", "status": "Tested", "test_finished_at": "2023-11-07T05:31:56Z", "test_started_at": "2023-11-07T05:31:56Z", "upload_filename": "seed_data.csv", "average_accuracy": 0.8528, "average_squared_error": 0.1607, "average_normalised_information_loss": 0.0063 } ], "errors": [ { "code": "<string>", "message": "<string>" } ] }
Fetches all population models available for predictions.
x >= 0
1 <= x <= 1000
Successful Response
The primary response payload. Contains the result of the request if successful.
Show child attributes
List of structured error messages, if any occurred during the request.