ML Prep API (v1)
Download OpenAPI description
Languages
Servers
Mock server
http://{{your_prep_ip_address}}/
- Mock server
http://{{your_prep_ip_address}}/api/v1/environment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'http://{{your_prep_ip_address}}/api/v1/environment' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'The environment information
The status of the database. Can be one of three values: Ok - No issues, Warning - The threshold for database and drive check has been exceeded. User should be notified to clean out files, Blocking - Instrument cannot be initialized and protocols cannot be scheduled until levels are below the threshold set in Instinct.
Response
application/json
{ "isStaging": true, "visionSystemEnabled": true, "timingDiagnosticsEnabled": true, "dbCheckStatus": "Ok", "driveCheckStatus": "Ok" }